Monday Jun 20, 2011

Yet another Java EE 6 book

We have a new Java EE 6 book in store! This one from Packt Publishing is called "Java EE 6 Development with NetBeans 7" by David Heffelfinger who is also author of Java EE 5 and GlassFish books.

This book holds a step-by-step book documention all of the Java EE 6 features and APIs (including CDI) using the IDE with the best Java EE out-of-the-box experience : NetBeans 7. It uses GlassFish as the default container and PrimeFaces as a JSF component suite.

Book Cover

We've covered several Java EE and GlassFish books before and I can't help but think that given writing books never helped authors retire early, having so many good books on Java EE 6 says something about its success among developers.

Yet another Java EE 6 book

We have a new Java EE 6 book in store! This one from Packt Publishing is called "Java EE 6 Development with NetBeans 7" by David Heffelfinger who is also author of Java EE 5 and GlassFish books.

This book holds a step-by-step book documention all of the Java EE 6 features and APIs (including CDI) using the IDE with the best Java EE out-of-the-box experience : NetBeans 7. It uses GlassFish as the default container and PrimeFaces as a JSF component suite.

Book Cover

We've covered several Java EE and GlassFish books before and I can't help but think that given writing books never helped authors retire early, having so many good books on Java EE 6 says something about its success among developers.

Sunday Jun 19, 2011

EclipseLink does multitenancy. Today.

So you heard Java EE 7 will be about the cloud, but that didn't mean a whole lot to you. Then it was characterized as PaaS, something in between IaaS and SaaS. And finally it all became clear when referenced as support for multitenancy. Or did it?

EclipseLink @Multitenancy

When it comes to JPA and persistence is general, multitenancy is defined as the ability to share a database schema among various groups of users (i.e. tenants). This means that there is no database setup or reconfiguration required as the data is co-located in the same database.

EclipseLink 2.3 (the Indigo train release) let's you do just that by supporting tenant discriminator column(s) via annotations or XML with applications providing values for these discriminators via an API or PU configuration. Check out details here.

EclipseLink 2.3 is scheduled to be the default and supported JPA provider for GlassFish 3.1.1. Another nice feature of this release is the ability to extend persistence units on the fly. The GlassFish Podcast has an interview up with EclipseLink's Doug Clarke.

Expect more on multitenancy across the Java EE spectrum as the specification work progresses.

Update: a screencast is now available.

Tuesday May 17, 2011

GlassFish 3.1 Adoption - 750k auto-updated and counting!

Yes, that's 750,000 (obviously active) instances of GlassFish 3.0.x that were updated to GlassFish 3.1 since the product was released. Anil Gaur, VP of Engineering for GlassFish has a blog entry on this great number.

In-place updates from GlassFish Update Center

So as you can see, other than being really convenient for users to update parts or all of their GlassFish installations, the Update Center gives us a great pulse of how the community of users is doing. Also remember that you can run your own in-house repositories and also contribute to the public ones.

What makes this number of in-place upgrades even more interesting is the relatively low number of problems reported against 3.1 (most issues reported are for people coming over from 2.x).

Friday May 06, 2011

Welcome to the New Aquarium!

We're back! Now that we've migrated to blogs.oracle.com we have a new shiny look and don't intend to change the content from what you have been used to. Check out the few entries posted while we were not publicly visible.

Other companion blogs such as the GlassFish Stories, The GlassFish Podcast or GlassFish for Business have also been migrated.

Old and new Aquarium

As for individual blogs, you should not only be able to continue reading content from the GlassFish engineers but we've spent time making sure that the valuable content from now retired bloggers is still accessible.

Let us know if anything doesn't work for you, chances are we haven't caught everything in the migration process. Thanks!

And now for some serious blogging to catch up with what happened during the migration period.

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.

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.

Monday Mar 07, 2011

Leftik and Gaur on OTN about GlassFish Server 3.1 and interop with WebLogic Server

If you've missed last week's release of GlassFish 3.1, you can tune in to this 20-minute video from OTN with Justin Kestelyn discussing with Anil Gaur (VP Development for GlassFish) and Adam Leftik (GlassFish Product Manager ) the release as well as the interoperability efforts with Oracle WebLogic Server.

Anil and Adam on OTN TechCast

The discussion covers positioning GlassFish vs. WebLogic with the sharing of components (EclipseLink, Metro, Mojarra, Jersey, JAXB, etc.) and going forward, a common micro-kernel. On the GlassFish front, Adam does a rundown of what's new in 3.1 and touches on the Oracle Coherence integration as well as Integration with other Oracle products. The differences between the open source and Oracle-branded products is also discussed in this interview.

JavaEE 7 is also covered in the dicsussion with the caveat that the platform JSR and four other JSRs have been filed since the recording.

Tuesday Mar 01, 2011

Java EE 7 has been filed as JSR 342

Taking a little break from the coverage of the GlassFish 3.1 release, here is some important news coming from the JCP front: Java EE 7 has been filed as JSR 342.

ALT DESCR

If you've been tracking this space the main themes should come as no surprise: Cloud, Latest web standards, Modularity, and Ease of Development. To familiarize yourself more with the current thinking around Java EE 7, I'd like to remind you of this recent interview with spec lead Roberto Chinnici.

The proposal suggests the addition of two new JSRs : Concurrency Utilities for Java EE (JSR-236) and JCache (JSR-107) as well as updates to JPA, JAX-RS, JSF, Servlets, EJB, JSP, EL, JMS, JAX-WS, CDI, Bean Validation, JSR-330, JSR-250, and Java Connector Architecture (more on some of them in a later post). There are also two new APIs under discussion: a Java Web Sockets API and a Java JSON API. Also worth reading is the "transparency" paragraph of the proposed JSR.

Of course it's only a proposal at this point, albeit a solid one. The JSR needs to be voted, the expert group needs to form and deliver the specification. The hope is to complete the JSR by Q3 2012.

Sunday Feb 27, 2011

GlassFish 3.1 is here!

Oracle has released GlassFish 3.1.

If anyone still thought we were going for a Children's Edition, let me reassure you - GlassFish Server Open Source Edition 3.1 now offers full clustering, centralized admin and many more production features while preserving the developer friendliness with its modular design.

Get GlassFish 3.1

Update: check out coverage of day #2 in this other blog post.

We are also releasing Oracle GlassFish Server 3.1 the supported product which has GlassFish Server Control already integrated for easier evaluation (the add-ons, more on that in a later post). The differences between the OSS bits and this product are highlighted on glassfish.java.net and just to be clear, clustering and centralized admin are part of the open source bits.

The Java EE SDK is also getting a facelift with a new Update 2 release. Expect a number of blogs from the engineers and the community on many different new features but also some screencasts. I'll be tracking the blogs and articles throughout the day in the later section of this blog entry and highlighting the screencasts in a SOTD (Screencasts Of The Day) series starting later today. You can track the BSC-hosted entries using this URL.

Key Links:
• GlassFish Server Open Source Edition 3.1 - downloads, docs
• Oracle GlassFish Server 3.1 - Main page, downloads: full platform, web profile
"GlassFish 3.1 - What's New" Webinar - (sessions on Monday, February 28, 2011 @ 10:00 am PST / 19.00 CET and Tuesday, March 1, 2011 @ 6:00 am PST / 15.00 CET)

Blogs and News:
GlassFish 3.1 Overview (Nazrul)
GlassFish 3.1 arrived! Yes sir, we do cluster now! (Markus)
Glassfish 3.1 ready to secure critical enterprise applications (Johan)
Customizing generated Java Web Start JNLP for app clients in GlassFish Server 3.1 (Tim)
RESTful GlassFish Monitoring (Jason)
Using GlassFish v3.1 SSH Provisioning Commands (Yamini)
GlassFish 3.1 Security (Kumar)
GlassFish 3.1 - What's new in Metro Security (Kumar)
Metro 2.1 in GlassFish 3.1 (Fabian)
Admin Security (Tim)
Application Scoped Resources (Jagadish)
Transparent JDBC Connection Pool reconfiguration (Jagadish)
Performance Tuner (Jennifer)
OAM Security Provider (Kumar)
Connecting securely to GlassFish via JMX (Prasad)
GlassFish v3.1 : New Screen under Configuration (Group Management Service) (Srini)
Glassfish v3.1 : New Screen under Configuration (Availability Service) (Srini)
Troubleshooting SSH (Yamini)
GlassFish 3.1 and create-local-instance (Jennifer)
GlassFish 3.1 and Manual Synchronization (Jennifer)
Application based Connection Pool monitoring (Shalini)
Tracing SQL queries & monitoring (Shalini)
Statement leak detection and reclaim (Shalini)
GlassFish 3.1 Now Released: Java EE 6 with Clustering and High Availability + Commercial Support (Arun)
GlassFish 3.1 est là! (Alexis)
Moving On Up: Upgrading to GlassFish 3.1 (Bobby)
GlassFish Server 3.1 - Full Java EE 6 Platform, Full Featured, Full Support (John)
GlassFish 3.1 and NetBeans 7.0 (Vince)
GlassFish 3.1 and deployment (Hong)
GlassFish 3.1 is Out (Blogging Techstacks)

Wednesday Jan 19, 2011

Mollom.com is now GlassFish-powered

Mollom logo

Drupal creator and leader Dries Buytaert announced last month that Mollom was betting the farm on GlassFish (well, its backend at least). Mollom is a popular web service which helps websites keep spam and other unwanted content such as website spam and profanity off of their web site. I know of a few sites myself that could use some help...

Dries and lodgON's Johan Vos, the architect being the move to GlassFish, were nice enough to share more details on the motivations, challenges and results in this adoption story as well as in this new episode of the GlassFish Podcast (#72). Update: Johan now has a post up on his experience moving to Java EE 6 and GlassFish 3.0.1.

This Java EE 6 application has been running in production for several months now and shows impressive results.
Update : you can now read even more about the specifics of this architecture in this article published on HighScalability.com.
Update 2: mollom.com now has a blog post with the background for this project, the GlassFish choice and some forward-looking statements.

Tuesday Jan 11, 2011

Kicking off Java EE 7 with 2 JSRs: JAX-RS 2.0 / JPA 2.1

JCP

The formal work on Java EE 7 has started with the filing of two new JSRs :
JSR 338: Java Persistence 2.1
JSR 339: JAX-RS 2.0: The Java API for RESTful Web Services

This is a follow up to the "It's time to start talking about Java EE 7" entry from last month where themes for Java EE 7, JAX-RS 2.0 and JPA 2.1 were introduced with links to draft documents and conference presentations. Arun also has more details.

Both spec leads Linda DeMichiel (JPA) and Paul Sandoz (a co spec lead on JAX-RS with Roberto Chinnici) have been sharing their thoughts with the community in the past few months at conferences, on mailing lists and blogs. You can now read the JSR proposals and even join the expert group if you feel you have the time and expertise (link to application form is on the respective JSR page).

Both JSRs are now up for voting and the ballot closes on Jan 24, 2011. Now is probably a good time to go back and read this earlier post on voting rules and "How to Read a JSR".

For a broader view of what Java EE 7 is trying to achieve and its timeline, I'd recommend listening to this recent discussion with Roberto Chinnici.

Monday Jan 10, 2011

12 GlassFish Webinars!

ALT DESCR

With GlassFish 3.1 soon to be released and Java EE 6 still a very popular topic, the GlassFish Webinar Series announced by Pieter has you covered on lots of different topics.

That's no less than 12 webinars scheduled before the end of May to cover the Java EE programming model, various tools, what's new in GlassFish 3.1, clustering, admin, productivity, Coherence\*Web integration, HK2, Security, Embedded and more.

Here is the registration page for the first event on January 20th:
Web application development with Java EE 6, GlassFish and NetBeans - Free Webinar with Live Q&A.
Update: this page will show the events are registration becomes available.

Thursday Jan 06, 2011

An update on GlassFish 3.1

Shutter release picture

There might have been some confusion recently around the availability of GlassFish 3.1 in final version (GA/RTM/FCS, pick your favorite acronym). While the original roadmap from March 2010 mentioned late 2010, the JavaOne keynote in September 2010 mentioned two GlassFish releases in 2011. So here is the update :

GlassFish 3.1 Open Source Edition is scheduled to ship in February (exact date still TBD). This is to ensure that we get quality right as we deliver full clustering, centralized admin and much more in this release. The team is working hard on delivering the promised feature as well as a number of add-ons which we hope to cover extensively around the release date.

This release remains one of the most aggressive schedules we've executed on in the history of GlassFish.

As we get closer to the release date of GlassFish 3.1, we'll communicate more and more news on the 3.2 release (currently slated for Q42011). Check this blog and this schedule for updates. And in the meantime get a recent promoted build to try it out for yourself or watch a few videos.

Sunday Jan 02, 2011

GlassFish in 2011 - What to expect

Road Ahead

First of all, wishing you all the best for 2011!

Now that 2010 is behind us, it's time to talk about the future. Obviously for GlassFish and Oracle the goal is to deliver on the Roadmap, but I thought I'd boil this down to the following items :

• a final release of GlassFish 3.1, including full clustering.
• more industry Java EE 6 support, including for WebLogic.
progress on JavaEE 7 and related technologies.
• cloud and virtualization as guiding principles for future versions of GlassFish.
• more alignment between GlassFish and WebLogic effectively offering portability of applications.

What else would you like to see in 2011?