We have finished the first public release of DirectJNgine, an Ext Direct implementation for Java.
You can find the project at http://code.google.com/p/directjngine/.
As far as we know, DirectJNgine is fairly feature complete. For example, it runs all examples provided by ExtJs in examples/direct, as well as our own additional examples and a host of automated tests.
But, of course, we have to wait for feedback from the community to make sure that it fits the community needs, and that it implements the mandatory Ext Direct feature set.
- Supports all types of request: JSON requests, batched JSON requests, form posts, form posts with file uploads and even polling provider based requests.
- Fully tested: more than 75 fully automated tests as of version 0.7.1 (beta).
- Provides a detailed User's Guide (more than 20 pages).
- Runs all of ExtJs examples in examples/direct.
- Provides additional examples.
- A WAR is enclosed showing all examples and running all automated tests.
For a complete feature list, go to http://code.google.com/p/directjngine/.
How it works -in 30 seconds
If you are curious about how it works, there is a short excerpt from the User's Guide:Of course, there are things to configure, best practices to follow, etc. But adding a new method will just feel like this.Now, how is everyday life with DirectJNgine?
For further detail, read the User's Guide, please.
What will be there in version 1.0?
For the 1.0 release we will provide all that's there in the 0.7.1, and then we plan to:
- Enhance the documentation a bit.
- Increment the number of automated tests well beyond one hundred.
- Fix small issues.
We are especially interested in finding all missing pieces there might be with respect to the mandatory feature set.
And, of course, we are open to feedback and criticism, and will consider other features for which there is a strong demand from the community.
We would love to add better exception reporting...
We would like a "safe client call" mode: just try calling MyAction.myMethod( 1, undefined, 2), and you will probably be in for a surprise.
It would be nice to handle individual requests in batched requests in separate threads, now that we have those nice multicore CPUs...
And there is the polymorphism issue, when passing objects from Java to JS and then back to Java...
That said, this is just food for thought, and we having committed yet to post-1.0 features.
Feedback and criticism
We are releasing this library in the hope that it is useful to the programming community.
We understand that this is the first public beta release of the library, which has been tested in a very restricted environment. Unfortunately, that can only guarantee that there is not way for it to be fully feature complete or bug free.
We are committed to making DirectJNgine a useful library. Therefore, it is only natural that we will be happy to receive feedback and criticism.
Last, but not least, we hope you enjoy using DirectJNgine as much as we did developing it.