SimpleTemplate is a simple template engine written in Java. You can generate formatted text from a Java bean. You can use it for generating XML files, Web sites, etc. It features simple template directives, user-selectable template directive separators, alias creation using with and set directives, support for indexing into arrays, collections, and maps, looping on an array or a collection, a simple include mechanism to reuse template files, conditional evaluation using if and ifelse, and custom list separation settings (prefix, suffix, and separators). Template files can be read from the filesystem, class path, or just a string. Support for methods, aka. sub templates.
CRest (Client REST) is a lightweight library that simplifies the integration of third party RESTful services into Java applications. CRest is mainly annotation-driven, allowing the developer to focus on the essential aspects of the integration of a REST service, such as the definition of the Java interface that maps the remote REST methods and the data model the interface will deal with. The rest is achieved by annotating a plain Java interface with the relevant information such as the service end-point, the desired timeouts, URL formats, etc. CRest will handle everything else, including HTTP request generation, auto marshalling of the response, and more.
Hades is a high availability (HA) data source. This HA data source contains two other data sources: the main one and the failover one. The HA data source exposes one of them at a time and can automatically switch between them when certain conditions are met. These conditions are highly configurable. By default, when the main data source is overloaded, the failover data source is used. The load of a data base is determined on the basis of the average execution time of some configurable SQL statement that is examined periodically. The HA data source exposes through JMX its state and also operations for manual switching between the two contained data sources in case automatic switching must be suppressed for some reason.
CSS Import Resolver resolves the @import url(...); statements in input CSS files (by replacing the @import statement with the actual content of the linked CSS) and creates a huge CSS output (written to STDOUT by default). Including the combined CSS in your Web pages will improve the performance of a site by avoiding additional HTTP roundtrips.
The Geomajas API project contains some annotations that can be used to indicate which parts (which classes and which (public) methods or fields) are considered as the API. This is particularly useful for projects where you want to mark the API without the need to refactor everything to interfaces and factories.
Funcito is a Java library which simplifies access to your favorite functional programming APIs by wrapping Java methods as the function-type objects defined in those libraries. Rather than creating another functional programming API, Funcito makes it easy to define function-type objects which wrap existing methods. As a result, your code has less noise and clutter of anonymous inner classes, annotations, etc. Your code remains safe for automated refactoring, since there are no String-based reflection or forced naming conventions. The supported frameworks are Google Guava, Jedi, Functional Java, Play! Framework 2, collections-generic, and Netflix RxJava.