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.

Wednesday Jan 07, 2009

Clarity Accounting provides Online Accounting with GlassFish, Hibernate, GWT and 3Tera

Our 36th Adoption Story comes from Vancouver thanks to Arun:

ALT DESCR

Clarity Accounting provides an SAAS online accounting service using GlassFish Server. The implementation uses multiple OSS components including Hibernate, PostreSQL and GWT and the service is deployed on 3Tera AppLogic Grid (3Tera is a GlassFish Technology Partner).

See Questionnaire for full details. Clarity Accounting went live in September 2008 and their site looks like a well-cared small business; it was created by one person over 12 months (6 part-time) - I love to see the way we are enabling these small business to appear. See Questionnaire for full details.

For more adoption stories, check our Informal Stories. We are always looking for stories showcasing production use as these are critical to the growth of our community. If you are a happy user please consider sharing your story by sending us mail to stories at sun dot com.

Thursday Jun 12, 2008

Grizzly 1.8 is Buzzword-Compliant: OSGi, GlassFish v3, GWT, Comet, iPhone....

ALT DESCR

Grizzly 1.8.0 is out and this one has a lot of new material, including GWT support, better OSGi Compliance, improved Comet Support, improved performance, SPI cleanup and many more (see JFA's note).

Grizzly 1.8.0 has already been pushed into the latest GFv3 builds. Also see the Release Thread and the complete ChangeLog.

Congrats to JFA, Oleksiy, and the rest of the team and community.

Sunday Dec 23, 2007

Browser <-> JavaScript | jMaki | GWT | Java <-> GlassFish

GWT/jMaki Architecture

I think this is a very interesting direction: Greg is working on creating synergies between the jMaki and GWT. The intention is to expand and complement existing efforts like the GWT NB Plugin and leverage the JavaScript integration from jMaki and the Java skill set of GWT. To make things concrete, Greg has published a first effort built around jMaki Charting.

We will you posted on the evolution of the project; in the meantime, start with Greg's Introduction to the Effort.

Tuesday Oct 10, 2006

Hands-On Java EE and AJAX

A crowd of people

SDN is doing a series of articles on Hands-On Java EE and they are starting with AJAX. Mark and Rick are planning 4 articles in increasing complexity and so far have published two: the first one deals with Do-it-yourself, where the developer uses JavaScript and DHTML directly, while the second shows how to Use a Toolkit focusing specially on using the Dojo Toolkit, which is what Sun has standarized around.

In a related, longer, article, Mark and Ed provide a fairly complete review of the AJAX Design Strategies covering the two shown in the previous articles (do-it-yourself and client-side toolkit) as well as four others: a server framework like JSF or others, jMaki wrappers, Remote Invocation like DWR, and a pure-java like GWT.