|
|
|
|
JavaOne is always a forcing function for announcements, releases, deals, etc. Some happen during the week, some the weeks before - makes it a bit hard to keep up, but now that CommunityOne is over, I'll try to start catching up...
|
New Previews of JavaEE 6 Specifications:
• Rajiv announces the latest
Servlet 3.0 Draft Spec
|
Go check them out and provide feedback; it's the only way to ensre that the future specifications will satisfy your needs.
|
Tom reports that Mitesh is a New Committer to EclipseLink (see the earlier announcement about EclipseLink and GlassFish v3). Congratulations, Mitesh! BTW, we will have a quick overview of EclipseLink at CommunityOne, in the GlassFish track. Go ahead an register before it fills up! |
|
GlassFish v1 and v2 use TopLink Essentials as its JPA (1.0) provider. TLE's bigger brother is EclipseLink (see Announcement), also led by Oracle but now including pretty much all of its TopLink product.
EL is a natural fit for GlassFish v3
and today we (Oracle, Eclipse and Sun)
announced EL will be available under dual license, the traditional EPL and the BSD-based EDL License (see license.html@Trunk). |
Our immediate focus will be on GFv3 - expect a build of EL with the latest GFv3 Milestone before the end of the week, but EL should work with GFv2 equally well and there is some interest already (see EL@GFv2 Thread); contact me if you were interested in that bundle.
|
• Feedback -
JPA Providers |
|
Alexis is running a poll on What JPA Provider you are using. If you are so inclined, point your browser to his blog entry - the poll is on the Right-Hand Side margin - and cast your vote. Self-selecting polls have many methodology problems - I always think about Lies, Dammned Lies and Statistics when I see them, but they are still interested. Right now, with over 70 votes, TopLink has 32% and Hibernate has 58%. OpenJPA has 4% and others is 5%. Let's see what type of impact the wider announcement has on the result. |
Update - As of 12:47 pm PT, Dec 12th, with 186 votes we have 54% Hibernate, 38% TopLink, 4% OpenJPA and 4% Others.
|
Tim has been exploring how to provide JavaFX Script support in GlassFish App Clients. Much of this can be done on the GFv2 base and we expect to do more in GFv3 - it is listed in the Themes Page. Tim's original post showed A Simple Client; since then he has posted two more entries: how to Use Injected Resources and how to Use Persistence. |
JavaFX is beginning to show progress on multiple fronts, including some Adoption Reports, improvements on the JavaFX Script Compiler and its First Book. Also see earlier TA entries.
|
Two tips on using Hibernate
with GlassFish v2:
• From Max:
Hibernate with NB and GF |
|
Max has been doing an interesting series of tutorials using GlassFish, NetBeans and JPA, the Java Persistence API (@Sun, @JCP, FAQ). The original tutorial covered how to Use Hibernate as JPA Provider and the next showed how to use Additional Hibernate Features. The new series explores JSF and ehCache and revisits Hibernate and TopLinkEssentials: [1], [2], [3] and [4]. |
|
The JCP SE/EE Executive Commitee has approved two new JSRs for development: JPA 2.0 (JSR page, Vote results) and EJB 3.1 (JSR page, Vote Results). Both Reference Implementations will developed in the GlassFish Community as Open Source. |
|
Java Persistence (JPA) was born as part of JSR 220 (EJB 3). With the success of version 1.0 and its use in both managed (Java EE) and non-managed environments (JavaSE), it will now live a life of its own with JSR 317 and Linda DeMichiel as the spec lead. |
Expected from this new version is an API for "criteria" queries and the ability to have hierarchies of Embeddables. It also mentions beans validation which wasn't explicitly listed as a Java EE 6 candidate.
JPA 2.0, and the newly proposed Enterprise JavaBeans - EJB 3.1 - are set to be part of Java EE 6 (target is end of 2008) which has been approved earlier this week.
|
The Seam framework has previously been reported as running just fine on the GlassFish application server (in this blog by Roger Kitain for instance). In fact, JBoss clearly indicates GlassFish as a supported platform. The most recent article on that topic by Brian Leonard has inspired Carol McDonald to write about a "Sample Application using JSF, Seam, and Java Persistence APIs on Glassfish". |
Carol's article has detailed steps for setup and coding with nice coloring to distinguish between Java EE, Seam and business classes/interfaces and annotations. It uses GlassFish 1 (but also works on the recently released glassfish 2 beta 3) and Seam 1.2.1 GA. You can start with the application archive which is provided as a NetBeans project and usable via ANT directly (including database creation and population) or follow the steps to create your own application from scratch.
|
|
OpenJPA just graduated from the incubator. Last year, Sahoo reported success integrating it with GlassFish; now it is Mitesh's turn. |
Check it out! More information at the OpenJPA project (web site, downloads) and in Mitesh's blog.
|
OpenJPA is still in the Apache incubator phase but it seems to be in pretty reasonable shape. Sahoo took it for a spin and he reports success in plugging it into GlassFish. Follow his detailed instructions if you are interested. Previously we had also reported success in plugging Kodo and Hibernate into GlassFish. |
The converse also holds and GlassFish's Top Link Essentials plugs into Tomcat, Geronimo and many others. This pluggability accelerates the Adoption of the JavaPersistence API. A list of spotlights on Java Persistence at TheAquarium is available here.