- Support for JSON added. Query spec parameter for list operations is intentionally still XML though. The operations in the generated ModifyMulti bean could theoretically be accessed via JSON, but in practice this fails due to lacking deserialization support for polymorphic lists. In XML this is solved via @XmlSeeAlso annotations on parent classes, Jackson, the JSON base technology in GlassFish, has evolved something analogous in 1.5 and as GlassFish 3.1 ships with 1.5.5, it would be possible to support it. The necessary annotations are in the package org.codehaus.jackson.annotate, and I expect them to surface somewhere under javax.ws.rs in JEE 7. If you really need it now, you can always change the code or the generator :)
- Two new cutbacks can be defined in Azzyztant:
NoRestServicesJson. If both are used, no REST code is generated at all, not even the servlet.
- A good one and a bad one: we now clean all
generatedfolders before generating code. This has become a necessity with cutbacks. The drawback is, that we now have Apache Commons IO as an additional bundled library.
Monday, June 20, 2011
Azzyzt JEE Tools 1.2.2 are available
Well, actually they've been available since Friday afternoon, but you just don't announce new software on Fridays. So, what's new?