Web applications often need to provide a link for the user to download a file, such as an expense report. Seam 2.1.2.CR1 makes the task of serving a file to the user easy and RESTful using a combination of the s:resource and s:download tags. But before we can use these tags, we need to do some simple configuration.
It looks like we can add to the Christmas cheer by announcing that Seam 2.1.1 is now out. Seam 2.1.1 is largely a bug-fix release, with a number of notable performance improvements, especially around hot deploy. We've added support for PDF forms to the iText integration as well as OpenID support. Seam-gen now generates IntelliJ IDEA projects. And, I should also point out that we've changed a few of the URLs on examples to match up better with the example names. If you are developing on Seam 2.1, you should consider upgrading quickly to get the latest fixes.
I'm pleased to announce the release of the Web Beans RI 1.0.0.ALPHA1. This release implements the core of the JSR-299 Web Beans specification and represents a major milestone on the road towards the GA release. Some of the highlights of this release include simple and enterprise Web Beans, support for JBoss Application Server 5, typesafe injection, events and producer methods. There's an exhaustive list below.
There's been plenty of discussion in the JPA group about my
typesafe criteria proposal.
My new favorite feature of the Java language
Java 6 annotation processors are derived from the APT tool that
existed in JDK 5, but are built into javac. Really, the name
annotation processor is misleading, since this feature is only
incidentally related to annotations. The Processor is really a
fairly general purpose compiler plugin. If, like me, you've never been
a fan of code generation, now is the time to reconsider. A Java 6
The public draft of the JPA 2.0 specification is already out and includes a much-awaited feature: an API that lets you create queries by calling methods of Java objects, instead of by embedding JPA-QL into strings that are parsed by the JPA implementation. You can learn more about the API proposed by the public draft at Linda's blog.