JaqLib

Library that helps you query collections and databases
Download

JaqLib Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Apache
  • Price:
  • FREE
  • Publisher Name:
  • Werner Fragner
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 128 KB

JaqLib Tags


JaqLib Description

Library that helps you query collections and databases JaqLib (Java Query Library) is a free and open source, compact Java library that supports programmers in querying all sorts of collections and databases in a compact and intuitive manner.JaqLib heavily makes use of Java Generics and follows the idea of fluent interfaces.JaqLib only uses standard Java features like generics or dynamic proxies. It does not need any pre or post compile steps.Where conditions can be specified by custom implementations of the WhereCondition interface, by using the where().element() expression and by using a method call recording mechanism (see also the first example below): first the programmer must call the desired method on the returned proxy object. This method call is recorded by JaQLib. When evaluating the WHERE condition this method call is replayed on every element. The result of this method call is then evaluated against the specified condition. This method call record mechanisms uses JDK dynamic proxies for proxying interfaces and CGLIB for proxying classes. So if you want to record method calls on classes you have to download CGLIB and put it on the classpath of your application.


JaqLib Related Software