Tuesday Jan 31, 2012

Another look at GlassFish clustering and performance

With this new "Glassfish – Vertical clustering with multiple domains" blog by Alexandru, there seems to be no shortage of GlassFish configuration posts.

Surely, that must say something about the popularity of GlassFish for highly-available apps.

ALT_DESCR

While it uses mod_jk like most others, this one is multi-domain, uses JMS topics and spends some time looking at different JVM settings and their impact on response time and GC activity.

Transactional interceptors - request for feedback

The Java EE 7 expert group has been defining transactional interceptors and there are a few issues it came across for which your developer feedback would be useful.

ALT_DESCR

Bill Shannon has described the issues of :
how to handle exceptions that are thrown out of a transactional method and
how the new JTA transactional interceptor should interact with EJBs.
... and offers possible solutions.

If you care about these, please take a little bit of time to read through the above descriptions before you provide feedback. The best place for feedback would be the mailing list (subscription required first) but we'll also consider comments posted to this entry.

Monday Jan 30, 2012

Java EE getting social with DaliCore

DaliCore is a new project announced by Johan Vos on java.net to offer users and social networks on top of Java EE.

It is the open-sourcing of LodgON's technology developed for the past few years and used in a number of social websites.

ALT_DESCR

You can think of this as twitter, Facebook, or social network-enabling your applications using Content, User, Group, and Authorization APIs. DaliCore is a logical extension to the the Java Enterprise specification (specifically to Java EE 6).

As with any Java.net project, you can start playing with the source code, engage on mailing lists, file bugs, but also get further details in this short presentation.

Good luck to Johan and team on this project!

Sunday Jan 29, 2012

More Java EE 7 - JSF 2.2

JSF 2.2 (JSR 344) is yet another specification that's being worked on as part of the Java EE 7 effort and Arjan over at jdevelopment.nl has a detailed status covering everything new in this version of the spec.

ALT_DESCR

Part of the features discussed in this blog post are a new queue control for AJAX requests, tighter CDI integration, some Java API additions as well as life-cycle events improvements.

It's great to see community members help spread the word on the progress made and as Ed Burns, the JSF spec lead, says - "(this is) a true testament to the value of transparency."

Friday Jan 27, 2012

Tab Sweep - GlassFish patch, is PaaS Middleware over IaaS, NetBeans tips, JCP updates, ...

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

GlassFish Enterprise Server v2.1.1 Patch 15 (GlassFish for Business)
PaaS is not Middleware over IaaS (Reza)
Sneak peak at Java EE 7 - Multitenant Examples with EclipseLink (Markus)
Building and testing ADF applications with Maven, JSFUnit, Arquillian and Embedded GlassFish (Dablomatique)
NetBeans 7.1 IDE: Shelve and Un-Shelve Changes (John)
NetBeans 7.1 IDE: Inspect and Transform to JDK 7 (John)
JUG Leaders Conference (The Java blog)
New JSR now open for review (The JCP blog)
JCP EC Updates (The JCP blog)

Thursday Jan 26, 2012

What's up with EclipseLink?

EclipseLink's Shaun Smith has recently been delivering a number of presentations on the status and future of the open source project. If you're curious about where innovative JPA projects are going, then you should check out this slide deck from Shaun.

ALT_DESCR

Here are the main themes covered:

REST: integration with JAX-RS to access relational data through REST with HTML 5 as the primary client with possibly JPA entities and persistence units defined via metadata with dynamic provisioning (i.e. no Java coding required).
EclipseLink NoSQL: annotations (@NoSql) and XML to identify NoSQL stored entities with initial support for MongoDB and Oracle NoSQL.
Multitenancy: already present in the shipping version of EclipseLink using the @Multitenant annotation and supporting different topologies with dedicated or shared application and/or database.

Next stop: EclipseLink 2.4 along with the June Juno Eclipse Release.

Wednesday Jan 25, 2012

JCP.next with merged Executive Committee - JSR 355

The latest JSR filed is #355 and it's not a technical one - "JCP Executive Committee Merge". As the name implies this is about merging the current ME and SE/EE executive committees into a unified one.

If you've been following carefully the changes planned for the JCP, the 2-step process turned into a 3-step evolution:
1/ JSR 348, JCP transparency
2/ Merging the two existing Executive Committees
3/ Sorting out the more complicated legal issues

ALT_DESCR

If you're curious about the role of the executive committee members, check out this page on JCP.org. Hint: voting on JSRs is part of it, but there's more. The JSR Review Ballot starts on February 7th.

Upcoming JavaOne conferences. Around the World.

JavaOne

Building on the successful Java One San Francisco and Latin America editions in 2011, the conference is on the road to three international destinations : Tokyo, Moscow and Hyderabad. Here are the details :

JavaOne Tokyo (Japan)
Date: April 4-5, 2012
Location: Academy Hills 49F, Roppongi Tokyo
Event Web site : Japanese | English

JavaOne Moscow (Russia)
Date: April 17-18, 2012
Location: Crocus Expo, International Exhibition Center

JavaOne Hyderabad (India)
Date: May 3-4, 2012
Location: Hyderabad International Convention Center

We're looking forward to meeting you at one of those events to chat anything Java EE and GlassFish!
By the way, the dates for JavaOne 2012 San Francisco are September 30th - October 4th and registration is open already.

Tuesday Jan 24, 2012

Help shape the future of GlassFish (we're hiring)!

The team is looking for talent to help build the future of our application server. If you are interested, check out this job posting. Here's an extract :

"Technical lead, design and develop features to manage the configuration of clustered, highly available deployments in elastic cloud environments that delivers massive scalability."

ALT_DESCR

This is a job based in the US to work on the admin infrastructure, including on PaaS features.

New in JPA 2.1 Early Draft

Java EE 7 is moving along nicely at the speed of its various JSRs and Arun has a rundown of the new features planned for JPA 2.1 as described in the recent Early Draft document.

ALT_DESCR

The blog entry covers Stored Procedures (similar to named queries, defined on the entities themselves), bulk operations, new FUNCTION, ON, TREAT JPQL keywords, more alignment with CDI and unsynchronized persistence context.

There are more features planned for JPA 2.1 that didn't get in the early draft (such as multi-tenancy). As a reminder, EclipseLink is the reference implementation (RI) for this specification while GlassFish 4.0 will deliver the overal Java EE 7 RI.

Monday Jan 23, 2012

Java EE 7 progress - CDI 1.1 EDR and Weld 2.0 Alpha

Having the Early Draft Review of JSR 346 (CDI 1.1) available for review and studying is good but having an early implementation to go along is even better.

That's what JBoss' Jozef Hartinger has recently announced on his blog - an alpha release of the future Weld 2.0 reference implementation.

Weld Logo

According to Jozef, the main purpose of this release is in fact to provide a feature-complete implementation of this draft CDI specification and features such as CDI.current(), application life-cycle qualifiers, beans.xml manipulation using ProcessModule, and many others.

As a reminder CDI 1.1 is scheduled to be integrated in the upcoming Java EE 7 platform later this year.

Sunday Jan 22, 2012

Admin Console, Community and Virtuous Circle

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

We haven't really covered this before, but there's been quite a bit of work on the admin console in the upcoming GlassFish 3.1.2 release (in addition to the other new features and theme and updated components).

Specifically in this release, the team worked on the following :

ALT_DESCR

• Performance startup (better figures by default and conditional automated console initialization).
Feature parity with CLI in the areas of Secure Admin config, JMS Cluster configuration, Monitoring Data consolidation, new Http Listeners page (à la GlassFish v2), listing EJB timers.
• Support for new product features such as DCOM cluster nodes.
• Ability to collect domain instance logs.
• More tests.

The best part about these improvements? There's almost all entirely driven by your feedback! So thank you to everyone that took time to help us understand how to make GlassFish a better product via bug reports, requests for enhancements and even phone calls in some cases. Let's keep doing this!

The GlassFish Web Console started off back in 2006 as the killer feature, especially compared to other open source offerings. With continued enhancements I think it still has a clear edge on them and longer-term plans shouldn't prove me wrong!

Thursday Jan 19, 2012

GlassFish as one of top 2011 open source projects

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Late last week, this article over at eWeek enumerated the Top 16 Open-Source Projects in 2011 with GlassFish making the list.

ALT_DESCR

The list was put together by OpenLogic using a methodology based on eight metrics that include public data, as well as aggregated data from their tools and customer base.

GlassFish was listed as infrastructure in enterprise applications, in the "Web and application servers" category. Other winners include HBase, Hadoop, and MongoDB.

Wednesday Jan 18, 2012

Jelastic now taking full advantage of GlassFish clustering

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Jelastic has been a popular multi-container PaaS solution for Java developments offering support for GlassFish among other container choices.

It now fully supports the GlassFish 3.1.x clustering DAS-based architecture with horizontal scaling and session replication, both of which leverage Jelastic's NGINX-based load-balancing service.

ALT_DESCR

Have you tried GlassFish running on Jelastic? What was the experience like?