Friday May 08, 2009

Servlet 3.0 PFD Now Available - And Information on web-fragment.xml


The Proposed Final Draft for Servlet 3.0 is now available from the official JSR 315 page. This is the version that will be implemented (\*) in GlassFish v3 EA (aka as the JavaOne release).

And, on the same topic, Shing Wai has a note explaining how web-fragment.xml works. This new feature is intended to provide pluggability of library jars.

(\*) modulo bugs and (according to Rajiv) file upload.

Thursday May 07, 2009

New Security Annotations in Servlet 3.0


The new (not yet published) Servlet 3.0 PFD also includes an expanded set of Security Annotations, to expand the existing annotations like @DeclareRoles and @RunAs with @DenyAll, @PermitAll, @RolesAllowed and @TransportProtected.

Check Shing Wai Shing Wai's writeup for details.

I'll post when the actual Servlet 3.0 PFD document is available.

Tuesday Apr 28, 2009

Here Comes ... Servlet 3.0 PFD


The Servlet 3.0 Expert Group has delivered its Proposed Final Draft to the JCP and it should be available later this week. In the meantime Rajiv has provided a brief update on the Latest Set of Changes.

And, if you are attending JavaOne, check out TS-3790 presented by Jan, Greg and Rajiv; also see the Full Catalog... and don't forget the Unconference and Party.

Tuesday Jan 13, 2009

Public Review Drafts of JSF 2.0, Servlet 3.0 and JCA 1.6 Approved by the JCP

A quick update: the JCP SE/EE EC has approved all the Java EE 6 specs in the first batch of votes mentioned in our Jan 6th Report:


Vote results for JSF 2.0 (Ed Burns & Roger Kitain, JSR 314, @TA )
Vote results for Servlet 3.0 (Rajiv Mordani, JSR 315, @TA )
Vote results for JCA 1.6 (Binod PG & Sivakumar Thyagarajan, JSR 322, @TA )

EJB 3.1 (results) and JPA 2.0 (results), were approved previously; Bean Validation, WebBeans will go to vote on Feb 3rd.

Monday Jan 05, 2009

Java EE 6 - JCP Update...

During the break, I noticed that the Bean Validation spec had gone into Public Review Draft. That spec is the last of the batch being considered for JavaEE 6. Below is a full list based on a pass through JCP (will adjust if I missed any); all of them are either in PRD or past it; the only exception is Java EE 6 itself (JSR 316) which, by definition, lags them all.


• WebBeans (Gavin King, JSR 299, @TA )
• Bean Validation (Emmanuel Bernard, JSR 303, @TA )
• JSF 2.0 (Ed Burns & Roger Kitain, JSR 314, @TA )
• Servlet 3.0 (Rajiv Mordani, JSR 315, @TA )
• JPA 2.0 (Linda DeMichiel, JSR 317, @TA )
• EJB 3.1 (Ken Saks, JSR 318 @TA )
• JCA 1.6 (Binod PG & Sivakumar Thyagarajan, JSR 322, @TA )

Some of these specs have already been voted on: EJB 3.1 (results) and JPA 2.0 (results); for some others the vote starts on Jan 6th: JCA 1.6, Servlet 3.0, JSF 2.0, and a last batch starts on Feb 3rd: Bean Validation, WebBeans.

Monday Dec 15, 2008

Dec 18th Webinar - JavaEE 6 and Servlet 3.0


Our next webinar is scheduled for Thursday, Dec 18th, 11:00 am PT. The topic is Java EE 6 and Servlet 3.0 and the speakers are the leads for the respective Expert Groups: Roberto Chinnici and Rajiv Mordani. The Public Review Draft for JavaEE 6 has not yet been published but those for most other specs have, including that of Servlet 3.0 (see announcement).

If you have any questions ahead of the presentation, please add them as comments to the Wiki Page. You can also ask them during the presentation via the chat. Slides and other material will be posted to that same page as they are finalized.

Thursday Dec 11, 2008

More Servlet 3.0 PRD Previews: Asynch Support, Improved Servlet and Filter Registration

The Public Review Draft of Servlet 3.0 is winding its way through the JCP office and should be out very soon. To go along with it Rajiv recently wrote a Brief Update (from ERD) and then a longer Overview of PRD and Shing Wai wrote a review of the Annotation Details. Now we have two more posts, this time from Rajiv and Jan.


Rajiv covers the new Async APIs. This area addresses at least 3 different use cases: waiting for the availability of a resource, generating a response asynchronously and leveraging existing frameworks.

Jan's post talks about the Servlet and Filter Registration APIs, which allow runtime registration (instead of only being available via web.xml). Note that Jan writes about changes agreed by the EG after the PRD.

If you are interested in the Servlet 3.0 Specification (or the Java EE 6 Platform), you can join us next week at our next Webinar set. Check out the details at Wiki Page. If you can't attend but have questions for the presenters, just add them as comments to the page and I'll make sure to rely them and to post the answers; I already posted a first question.

Added - The JCP PMO has formally posted the PRD.

Tuesday Dec 02, 2008

Servlet 3.0 ... Almost at PDR


Although the Servlet 3.0 (JSR 315) is very close to a Public Review Draft, the latest published draft is still the old EDR and that's the spec that Roy (van Rijn) referred to in the article that TSS Published earlier today. After the corresponding discussion thread, Rajiv (the Servlet 3.0 spec lead) pointed out that most of the issues raised by Roy were addressed in PRD.

Nothing like a small firestorm to feed the publishing spirit: a few hours after that, Rajiv followed with a longer Outline of Servlet 3.0 while Shing Wai talked about its Imlementation in GlassFish v3 :-)

And, if you are interested in the topic, you should pencil out Dec 18th, 11am for Rajiv's Webinar on Servlet 3.0.

Thursday Oct 16, 2008

... Sparklines on Jersey, Servlet 3.0, Profiling GFv2, Survey Methodologies, and Barça in Miami

A compilation of today's news of interest:

Radio Receiver Icon

From Jersey in honor of the recent Jersey 1.0 Release: Paul writes about a new rev of the set of Jersey Samples (browse) that includes some implementation of Sparklines (and, as a Tufte fan... thanks!). And, Marc has been quoted in SD Times about JAX-RS and SOAP; read what he actually says, ignore the title "Sun moving away from SOAP"; we do both SOAP and REST.

Servlet 3.0 is getting closer to a Public Draft (with the rest of JavaEE 6), and Deepa has published a Intro to Servlet 3.0 at Java.Net. Some of the details apply to the old draft, so be sure to check Rajiv's comments.

Performance is always a hot topic, so check this note from one of our performance top guys, Binu John, on Profiling GFv2 with Sun Studio.

Rich's Comment on an EDC Report on AppServer Rankings started a fairly active TSS thread. As I wrote in my Comment at Savio's blog, the report is really a "User Satisfaction Survey", and, without more data, it is hard to interpret beyond that. BTW, if you download the report, consider agreeing to taking the survey and add your voice to their sample set.

And now, for the topic most of the world cares the most: Futbol, Barça has announced that they want to start a club in Miami. Check Marca, NYTimes or, Straight from the Source.

Friday Aug 22, 2008

OpenDS in your OpenSolaris Machine ... or in your Servlet!

Here are two quite different uses of OpenDS - which recently Reached 1.0 and is now Commercially Supported.


First as a Directory Service for OpenSolaris - see these two articles by Ludo, Marzen and Marina: Basic Setup and Advanced Configuration.

The second is as An Embedded Application: Mark describes in detail how to write a portable Servlet using OpenDS so it can run on a container like GlassFish Server.

Wednesday May 14, 2008

Servlet 3.0 Pluggability


Please keep helping us to make the future Java EE 6 be well suited to your needs! Rajiv has a new writeup on Servlet 3.0 Plugability; check it out and post comments, positive and negative.

Also check out all previous entries on Java EE 6 and Rajiv's Previous Servlet 3.0 Note.

Tuesday May 06, 2008

More JavaEE 6 Spec Previews: Servlet 3.0 and JPA 2.0

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
• Linda announces the latest JPA 2.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.

Friday Dec 14, 2007

Look Ma! NO Cookies AND NO URL Rewriting!

A Cookie Jar in the shape of a Rocket

The typical ways to maintain HTTP sessions are URL Rewriting and Cookies, but one of the GlassFish users wanted to use neither. This was part of a migration from Tomcat to GlassFish v2 involving mobile devices (see Original Post).

The desired approach involved using Mobile IP addresses and Jan showed how to implement this using the extension points available in GFv2. Jan just wrote a Nice Description of the technique that may be of use in other cases.

Wednesday Jul 04, 2007

JSR 315 - Servlet 3.0 - Accepted

JCP Logo

The JCP has approved JSR 315 (ballot) starting the process that will develop Servlet 3.0. Servlet 3.0 is intended to be part of Java EE 6 together with approved JSRs like JSF 2.1 and JAX-RS 1.0 and several more yet to be launched.

The RI for Servlet 3.0 will be done in the GlassFish community and will be integrated into GlassFish v3.