XApi (Extremely Extensible Cross-Platform API)
· XApi is a dependency injection, service-oriented, polyglot java framework.
It is comprised of standalone modules for use in web, desktop and mobile java applications.
This codebase enables complete reuse of all code across your java stack,
as well as the ability to easily define your own Platform, so you can
build your own customized runtime environment to extend or replace existing platforms.
It is currently geared towards servlets and gwt clients, but the target we are currently developing include:
java, gwt [webkit, firefox, ie], javafx, playn [android, ios, flash], appengine & vert.x
For Google Web Toolkit, we also include reflection support,
more complete emulation of java.lang.Class, zero-overhead dependency injection,
a range of code generation utilities, and even "magic-method injection"
(for production compiles any method in the app can be swapped out with
others based on configuration properties, or any AST mangling / code generating
methods you wish to write).
There is also a bytecode transformer in the works which will replace calls
into the DI utility with direct references to static final factories,
to allow the java compiler to completely erase all injection overhead in all java runtimes.
Download JD-GUI to open JAR file and explore Java source code file (.class .java)
Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window xapi-0.5.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.