Sunday Apr 04, 2010

Leveraging Servlet 3.0 - Authentication without Forms using GlassFish v3 and Vaadin

The new Servlet 3.0 specification in JavaEE 6 (JSR website, JavaOne Session, VC podcast) packs many new features, including Annotations, Dynamic Registration, Pluggability and Asynchronous Support.

Servlet 3.0 also includes quite a number of security improvements, as described by Kumar a couple of months ago in a Summary of new Security Features in Servlet 3.0. As Ron explains, one of the themes is that Java EE 6 and Servlet 3.0 Converge on Container Security Functionality, another is extra functionality, as explained by Nithya's 3 recent posts ([1], [2], [3]) covering http-method-omission element in web.xml, and the authenticate and login methods of HttpServletRequest.

ALT DESCR

A great example of the new functionality is Bobby's Authentication Without the Form where he modifies the RIA app in Creating Secure Vaadin Applications using JavaEE 6 to use the new login machinery and thus remove the need for extraneous JSP files.

Bobby's very complete post includes full source code and a nice Screencast; note it requires a recent build of GlassFish 3.0.1 due to a bug in 3fcs.

You may also want to refer to the JavaEE 6 javadocs (e.g. HttpServletRequest) and to the JavaEE 6 Tutorial: Part I (e.g. see Web Application Security) and Part II (requires free registration).

I had not noticed Vaadin previously but it seems to be gaining some popularity; its programming model is strongly server-centric and generates client-code via GWT. You can see a Online Sampler and it recently deployed a Component Directory; its KB has a number of articles on how to use it with GlassFish Server. They also announced deals recently with BlackBelt Factory and with our old Liferay friends.

While chasing the sources for this spotlight I bumped into a number of other Java-based RIA frameworks including: Echo and ZK as well as frameworks like Flex/BlazeDS, GWT, and the JSF-based frameworks we know.

Saturday Dec 12, 2009

GlassFish v3 Resources and Links - Part 1

This is one of a series of resources and links related to the new GlassFish v3 release. Each entry starts with a section with key links; the resources are then grouped into categories.

ALT DESCR

Key links
  • Sun Press Releases: Java EE 6 and GlassFish v3
  • JavaEE 6 Web Hub, and JavaEE 6 Downloads
  • Sun GlassFish v3 Product Page

Events
  • See you at Virtual Conference on Dec 15th, and in one of our Community Parties.

Real-Time News
  • Follow GlassFish at Twitter via @glassfish and #glassfish.

Press

Overviews, Appreciation, Analysis

Non-English Posts

Technical Posts (Formatting needs some improvements)

Performance
JeanFrancois Putting GlassFish v3 in Production: Essential Surviving Guide
Scott First Look at v3 Performance
Quality
Judy GlassFish v3 FishCAT Survey Results
Judy Meet the FishCAT Team
Judy FishCAT Testing for v3.
Monitoring
Prashanth Making your Application monitorable in GlassFish V3
Prashanth Adhoc Monitoring with Scripting-Client in GlassFish v3
Prashanth Advanced Monitoring in GlassFish v3
Prashanth Top Ten features of Monitoring
Byron Mort Learns How To Use Monitoring in a WebApp
Sreeni Monitoring in GlassFih v3 - It's Different and Cool!
Sreeni How to use GlassFish v3 DTrace probes on Solaris
Jen Easy 1-2-3 Monitoring in v3
Jen v3 Monitoring with Admin Console
Lloyd 'mx' - JMX command line especially for GlassFish V3
Lloyd Navigating the GlassFish V3 MBean hierarchy using 'mx' command line
Lloyd GlassFish V3 management and monitoring MBeans, 'mx'
John Enterprise Manager DTrace Monitoring 3.0 Beta (tweet, download)
Management
Anissa Ten New Features in Admin Console
Anissa trivia quizz
Anissa Launching Admin Console for GlassFish v3 RI
Anissa Launching Admin Console for GlassFish v3 RI
Ken P The AJAX Experiment(s) with improving the Admin Console.
Rajeshwar GF REST Interface for Management
EJBs
Ken S Final EJB 3.1 Specification and GlassFish v3 Now Available
Servlets
Rajiv Servlet 3.0 specification and GlassFish v3 now available
Ron Java EE 6 and Servlet 3.0 Converge on Container Security Functionality
Binod V3, Java EE 6 and SIP Servlets
SOAP and REST Web Services
Paul GlassFish v3 is a Go - includes
Fabian Runtime Configuration Management
Kumar Summary of Proprietary Features in SAAJ RI 1.3.4
Connectors
Jagadish Java EE Connector Architecture 1.6 Reference Implementation
Sivakumar Java EE Connector Architecture 1.6 Specification approved!
Podcasts
Alexis Interview of Roberto Chinnici (podcast)
Alexis Interview of Ludo Champenois
Alexis JSF 2.0 discussion with Ed Burns and Roger Kitain (podcast)
Dynamic Languages
Vivek New GF Gem Features (tweet, History.txt@RubyForge).
Eileen JRuby Performance on Glassfish V3 -- Part 1
Others
Sreeni Java EE 6 Samples for GlassFish Project
Tim App Client Container features in GlassFish v3
Shalini JDBC in GlassFish v3
Hong Glassfish v3 and deployment

Wednesday Dec 09, 2009

GlassFish v3 is Now Available!

Note I have split the resources and news links off from this GlassFish v3 Announcement into the first of one of a series of resources and links entries. The new arrangement is more manageable and also simplifies the creation of additional entries as more resources and news are posted on the release.

It has been 4 and a half years since we announced GlassFish during JavaOne 2005 (PR) and today we are making available our most important release: GlassFish v3 is now available for download!

Our first release was during JavaOne 2006, we released GlassFish v1, the first Java EE 5 compliant App Server (family overview) and the second generation of GlassFish came out in September 2007 (family overview). While still based on JavaEE 5, GFv2 leveraged on Sun's (too) long history of App Servers to add the benefits of an enterprise product (quality, performance, scalability) to those of an open source community (agility, ease of use, supportive teams, pricing).

While the transition between GlassFish v1 and v2 was evolutionary, the transition from v2 to v3 is a major change that includes a whole new set of JCP specifications, JavaEE 6, and a new modular, OSGi-based, architecture that expands significantly the applicability of GlassFish.

ALT DESCR

Key links available now:

• GlassFish v3 Main Product Page
JavaEE 6 Hub
• JavaEE 6 Downloads (multiple bundles)
Java EE 6 Feature Article (also see Overview White Paper).

We are hosting several events in the next few days; we hope to see many of you at our Virtual Conference on Dec 15th, and in one of our Community Parties.

Below are lists of posts relevant to the launch and the release; they will be updated through the day to incorporate news as they happen. Updates will also be posted to @glassfish at Twitter. If you use Twitter we recommend you to use #glassfish to facilitate discovery. Some level of geotagging would help visualize the spread of the community.

Announcements

Thursday Sep 10, 2009

VirtualBox Web Console - and VB 3.0.6 Release

ALT DESCR

The VirtualBox team has started a new project to create an AJAX-based Web Console for VBox. The project is open source under MIT License; check out the Code and the USER and DEV mailing lists. The team is reporting on the progress via its Blog, recent posts covered the Kickoff, an Overview of Architecture, and the Initial Implementation.

The Web Console relies on services in the latest maintenance-release of VirtualBox: VBox 3.0.6 (ChangeLog, Download, Download). Our best wishes to the new project; we will track its evolution here.

Monday Jun 22, 2009

Atmosphere News - 0.2 Released, Bayeux on 0.3

ALT DESCR

The premise of the Atmosphere is to deliver an easy to use Java framework for portable AjaxPush/Comet Applications. Atmosphere was Launched last Fall and in May of this year its core Aligned with Jersey. The latest developments have been the Release of 0.2 and the introduction of Bayeux Support in the trunk for 0.3.

Try out 0.2 via the Download Page. Feedback through the USERS mailing list (read/post via Nabble, or archived at MarkMail).

Monday May 25, 2009

IceFaces' Ajax with JSF 2.0 (Mojarra)

ALT DESCR

JSF 2.0 is arguably one of the most awaited update to the Java EE 6 specification. IceFaces, the well-known provider of Ajax-enabled JSF components, is now building its 2.0 version on top of the Ajax support now built into the JSF 2.0 specification. Co-specification lead Roger Kitain has a recent blog entry discussing how ICEFaces uses JSF 2.0 to send Ajax requests from the client and how it processes them on the server.

In other recent JSF news, Ryan Lubke discusses bookmark-ability in JSF 2.0 (with the reference Mojarra implementation). Previous entries regarding JSF 2.0 can be found using the jsf2 tag.

In a few days time you'll be able to use the Preview version of GlassFish v3 which supports JSF 2.0. The adventurous can grab a recent GlassFish v3 promoted build here.

Wednesday Mar 11, 2009

GlassFish Webinar: From Ajax Push to JSF 2.0: ICEfaces on GlassFish

ALT DESCR

The presenter at tomorrow's webinar is Ted Goddard; he will detail how to write rich interface applications using Ajax and Comet using JSF and ICEfaces and will also describe how these relate to the new JSF 2.0 specification in JavaEE 6.

Presentation at 11am US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page.

Tuesday Feb 24, 2009

WebORB - Now with Official GlassFish Support

ALT DESCR

Mark at The Midnight Coders reports that the latest WebORB is now Fully Supported on GlassFish. WebORB supports multiple RIA clients, including Flex, Flash, Silverlight and AJAX.

Check out the the Overview to WebORB, the Java Overview (webORB also supports .Net, PHP, Ruby and ColdFusion) and the Installation page.

Sunday Jan 04, 2009

Jan 9th Webinar - OpenMQ 4.3

ALT DESCR

Our first webinar of 2009 is this Friday (not Thursday!), Jan 9th, 11:00 am PT. Ed Bratt and Linda Schenider will provide an overview of the recent OpenMQ 4.3 release (to be included in GFv2.1 and GlassFish ESB) and will go into more details on the new Universal Messaging Service showing examples of its use from AJAX, C# and Python.

Slides and other material will be posted to the Presentation Page - if you have any questions ahead of the presentation, please add them as comments there, or just ask them during the presentation via the chat.

Wednesday Dec 17, 2008

OpenMQ 4.3 Now Available - Includes Universal Message Service

ALT DESCR

OpenMQ 4.3 is now available (download). This release will be included in GlassFish v2.1 but also is useful on its own. One of the most interesting pieces is the new http-based Universal Messaging Service which can be used to access OpenMQ from a browser using AJAX, as well .Net, Python, Ruby, and many others (including Java!) - see Intro, Samples, Protocol and Configuration.

Other functionality includes new platforms (AIX, Oracle 11g, Windows Vista, Windows Server 2008), a new installer, and additional Samples for things like talking to HermesJMS and STOMP.

Sun's distribution of OpenMQ still uses the "Sun Java System" brand but it follows the standard GlassFish Enterprise Business Model - see Product Page, Documentation and Downloads. And you can can purchase Commercial Subscription Support.

Wednesday Oct 22, 2008

... Japan Developers Rock, MEP Connectors, Games with Comet, JSF Giant Post-Its, Mini Displays and HOTC

A compilation of today's news of interest:

Radio Receiver Icon

Kohsuke returned from Japan where he had a good time and started building more relationships with developers, users and customers. He writes about a Visit to Apresso where he talked about Hudson and Sorcerer, another Sun campus at Youga on Metro and Jersey, and his Hudson Keynote at the JJUG conference. We have also tossed around the idea of him hosting an online webinar in Japanese similar to the one I hosted in Spanish last week.

Arun and Jim presented at AjaxWorld on how to Use Comet in a Two-Player Game built using the Grizzly Comet facilities. Check out the Presentation Description, the slides in PDF and the actual code. Arun even has a Rails/Grails Version.

More articles on MEP: Santiago describes the development cycle of a MEP connector, including source code generation from a template, compilation and deployment. Also check the MEP product page and the Administration Page.

Quite a bit of JSF activity as we get closer to JSF 2.0. Roger presented at AJAXworld on AJAX Frameworks and JSF, and Ed, shows how he handles the JSF 2.0 Endgame - I've done my share of specs, but I've never seen it done that way - look carefully at the pictures, those are not post-it notes :-)

I am not a heavy Toy guy, but this one I could use: a 7 inch display from Nanovision. I would use it as a dedicated screen for my RTM page, but I can also see it as a dedicated Skype or IM window.

Finally, on news from your Editor, I'm going to be traveling through the next week, so expect reduced posts, and special congratulations to the Williams College, Women's V2 boat.

Thursday Oct 16, 2008

Introducing Project Atmosphere - A Portable Comet Framework

Atmosphere

Jean-Francois Arcand, of Grizzly fame, says it best :

"Introducing Atmosphere, a new framework for building portable Comet based applications. Yes, portable, which means it can run on Tomcat, Jetty, Grizzly/GlassFish or any web server that support Servlet 2.5 ... and without the needs to learn all those private API floating around..."

The existing Comet (also known as Ajax Push) landscape is both promising and in need for some standardization. Even with the Servlet 3.0 (JSR 315) working on standardizing Comet, Project Atmosphere promises a layer of abstraction today and alignment with the standard tomorrow.

Atmosphere has a head-start as it's being built on top of existing Jersey and grizzlet technologies. Jean-Francois promises to support most containers by the end of the year!

Sunday Sep 21, 2008

... Ajax and NB, Mural and MDM, RESTful Comet, GF with Hibernate and MySQL, OpenSource Contributors, Grizzlies, Fast JavaScript and more iPhone Rejections

A compilation of today's news of interest:

Radio Receiver Icon

The NetBeans folks have a new Introductory Tutorial to Ajax, now updated to the forthcoming NetBeans 6.5.

Srenga points that the DataMashup Service Engine from Mural is Part of GlassFish ESB and also points to Manish's Tutorial on building a Server-Side Data Mashup.

From Carol a Screencast on RESTful Comet, based on her previous posts.

From Peter Mularien a look at Who is Contributing to SpringSource? using FishEye on SpringFrameworks Core. BTW, if you do the same with GlassFish (core) you will find mostly Sun folks; the bulk of the non-Sun contribution is in the smaller, reusable components, like grizzly, which makes sense as that's where people want their specific features in.

From apaspai a description of how to configure GlassFish with Hibernate and MySQL (in Spanish, sorry, I couldn't resist).

From Montana Grizzlies are Rebounding from Extinction (there were already very healthy On the Web, in Canada, and, more recently, also in Prague!). And, from the WebKit folks, reports of substantial improvements on JavaScript interpretation using SquirrelFish Extreme.

And Apple does it Again, this time with Mail, and it Gets Slashdotted.