Wednesday Apr 25, 2012

Spring to Java EE 6 Articles

David Heffelfinger's 4-part article series on Spring to Java EE 6 migration published the last part. The part 1, part 2 and part 3 takes a sample Spring application and builds it using java EE 6. It even compares the generated WAR files and LoC in XML configuration in the two environments.

ALT_DESCR

Here are some other blogs/articles that cover the topic:

What are you reasons for migrating from Spring to Java EE 6 ? Let us know.

Wednesday Mar 21, 2012

Java EE 7 interview @ InfoQ

Anil Gaur, the head of JavaEE and GlassFish at Oracle, was recently interviewed by InfoQ on the progress and scope of Java EE 7. Make sure you read this for an up-to-date status.

ALT_DESCR

It turns out that the final release of Java EE 7 in now slated for late Q1, early Q2, 2013 with most specs expected t be at the Public Review stage by this summer.

In addition to the improvements to the JMS, JAX-RS, JPA and JSF specifications Anil also covers the new JSON and WebSockets JSRs and gives a complete overview of the Java EE platform at it is shaping up with PaaS as its main theme.

Thursday Feb 23, 2012

Java EE articles on OTN in 2011

2011 has been, with no doubt, a superb year for Java EE and there is no shortage of quality content for anyone interested in the latest version of the platform.

Here's a set of articles published by Oracle on OTN, the Java Magazine, and on java.net :

ALT_DESCR

Clustering GlassFish Version 3.1 (java.net)
Using Adobe Flex and JavaFX with JavaServer Faces 2.0 (otn/java)
Contexts and Dependency Injection in Java EE 6 (otn/java)
Introduction de RESTful Web Services (Java Magazine)
Templating with JSF 2.0 Facelets (otn/java)
Unit Testing for Java EE (otn/java)
Spring to Java EE Migration, Part 1 (otn/java)
Working with the XML Parser API — JSR 172 (otn/java)
New JavaServer Faces 2.2 Feature: The viewAction Component (otn/java)
Spring to Java EE Migration, Part 2 (otn/java)
Using Adobe Flex and JavaFX with JavaServer Faces 2.0 (Java Magazine)
Resource Injection with Java EE 6 (Java Magazine)
Stress Testing Java EE 6 Applications (Java Magazine)
Security and Performance Tuning of a REST and Ajax Application (otn/java)

Tuesday Feb 14, 2012

New OTN Article - Agile GlassFish

Julien Ponge has another article up on OTN about GlassFish - Adding Some Agility to Java EE Application Deployment with GlassFish with full code sample.

This new article focuses on making the most out of the current stable version of GlassFish using a combination of new Java EE 6 and GlassFish unique features.

Make sure you also read Julien's GlassFish Clustering article in the latest issue of the Java Magazine.

ALT_DESCR

Wednesday Jan 11, 2012

Another thought-provoking Java EE article by Adam Bien

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

The latest article by Java Champion Adam Bien (and top Author at OTN) is out: "Interfaces on Demand with CDI and EJB 3.1".

This one focuses on leveraging the simplifications introduced by Java EE 6, CDI and EJB 3.1 (namely the no-interface view) and Adam makes the claim the "Premature Extensibility Is the Root of Some Evil" and that a lot can be done about removing code and layers whenever they're not fully justified.

Mille Feuilles

His 2-part interview on the GlassFish Podcast #68 and #69 is probably a good complement for his latest article.

Sunday Mar 13, 2011

Clustering in GlassFish 3.1 - a fundamental article

With clustering being such an important new feature in GlassFish 3.1, it's important to get the vocabulary right and to understand the key concepts and features in the product. This is exactly what this detailed article written by the key engineers behind the implementation is set to do.

ALT DESCR

Tom, Bobby, Joe and Mahesh discuss basic clustering concepts, define what DAS, nodes, GMS, and HA are in the context of GlassFish and offer a description of the admin server and of the overall cluster architectures. The article also discusses the key role played by ssh and what it takes to install and administer such an architecture.

This is probably a good time and place to remind you that GlassFish 3.1 comes with full documentation: 20+ guides from quick-start to tuning.

Wednesday Jan 30, 2008

GlassFish in a Zone

Picture of Sonny

While GlassFish is written in Java and shipping on Windows, Solaris, Linux, MacOS, and more recently AIX, choosing the right operating system is often orthogonal to the choice of your application server.

This article on GlassFish and Solaris Containers by Sonny Hastomo shows how to combine the zone virtualization technology with GlassFish. It uses a non-global zone for glassfish and documents how to partition the CPU resource.

Thursday Jan 24, 2008

Article on combining GlassFish AMX and Management Rules

Masoud Kalali's picture

GlassFish doesn't trade enterprise features such as management and monitoring for Open Source. Masoud Kalali's recent article on java.net is a good illustration of this. It shows how the JMX-based administration infrastructure can be accessed to dynamically change the behavior of the HTTP load-balancer.

The article first goes into what JMX and GlassFish AMX's are before introducing GlassFish v2's Management Rules mechanism. The rest is a detailed explanation of how to create and deploy the MBean to manage the weight of the load-balancer algorithm and the corresponding management rule.

Masoud had previously written detailed blog entries about:
- How to Secure GlassFish installation.
- GlassFish version 2 monitoring capabilities

Wednesday Jan 09, 2008

GlassFish V2 "Ready for Business" article

Zen image

Ed Ort's "GlassFish v2: Open for Business" article is available. After some definitions and introduction, the article goes into the following topics :

• Clustering & HADB
• Performance
• Centralized Administration and Monitoring
• One-Step Configuration With Profiles
• Metro & Interoperability With .NET
• OpenESB integration with GlassFish
• OpenMQ integration with GlassFish

Overall a very complete article and a little more concise than the earlier 29-page GlassFish V2 document :) .