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).

Saturday May 23, 2009

atmosphere-core now building on top of Jersey

ALT DESCR

Since we announced the Atmosphere project (and it's Comet Portable Runtime), Jean-Francois has been making steady progress. In his latest blog post he discusses how the new atmosphere-core now builds on top of Jersey.

Jean-Francois details the combined use of JAX-RS and Atmosphere annotations and offers complete source code to his chat demo. If you're in a hurry, here's a small code snippet :

@Suspend // the returned String will be written and then response suspended
@GET
@Produces("text/html")
public String cometGet() { ... }

It's always nice to see collaboration between different open source projects (Grizzly has long been a recommended way to deploy Jersey resources), even if these two projects happen to be under the GlassFish umbrella. Both Jean-Francois and Paul Sandoz (Jersey lead) will be discussing future developments at the JavaOne Atmosphere BOF on Tuesday @ 8h30pm.

Thursday Apr 23, 2009

Recent web-tier activity: Metro 1.5, Grizzly 1.9.11/2.0, ...

ALT DESCR

The GlassFish web tier team is very active with releases and new features. Here's a quick set of links. JAX-WS spec and implementation lead Jitu announces the simultaneous releases of JAX-WS RI 2.1.7 and Metro 1.5 (Metro includes the JAX-WS implementation) and shares some of the new features and the list of bugs fixed.

In this blog post Jean-François Arcand announces the availability of Grizzly 2.0 Milestone 1 and its main goals and shares a quick walk down memory lane on how the project evolved since its early days. Project lead Oleksiys goes into more details about the content of the release including an interesting strategy API for handling requests. Note that Grizzly 1.9.11 is the release integrated into GlassFish v3 (offering it a set of extension points).

Speaking of Grizzly, Jakub has an entry on using just GrizzlyWebServer 1.9.10 to serve both static and dynamic RESTful content with Jersey. Finally, in addition to the quite mature Comet implementation in Grizzly/GlassFish, Jean-François' Atmosphere framework (now running on Weblogic!), HTML 5 WebSockets may well be on the list of things coming up next.

Saturday Mar 14, 2009

Atmosphere 0.1 - Portable Comet For GlassFish, Tomcat, Grizzly, Jetty and more

ALT DESCR

JFA has Announced the first release of Atmosphere, a portable framework for Comet applications. This release supports Grizzly, GlassFish, Tomcat and Jetty.

The key abstractions are AtmosphereHandler and AtmosphereEvent. Also see the JavaDocs and the Chat and Flickr samples. To get started, you can download the CPR and Samples. Also useful is JFA's Devoxx Presentation.

PS. AtmosphereHandler used to be called Grizzlet; the rename is to clearly indicate the relationship to Atmosphere and its portability beyond Grizzly-based containers.

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.

Wednesday Mar 04, 2009

Comet on GlassFish - Free Online Webinar tomorrow

ALT DESCR

Tomorrow's (Thursday) webinar Jean Francois Arcand will present on Comet (aka Ajax push). JFA's will show how to write a Twitter like application using the Grizzly Comet Framework and deploy it on GlassFish in less than 30 minutes!

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

Wednesday Dec 10, 2008

Grizzly 1.9 is out, Twitter demo included

ALT DESCR

After a short delay to accomodate community members (to integrate their feedback and fix more issues really), Grizzly 1.9 is out. If you've missed the announcement, read Jean-François' announcement.

Asynchronous I/O, a new HTTP suspend/resume API, and Comet performance improvements are among the major new features. This 1.9 version is important to GlassFish v3 because of the central role of Grizzly in the new modular architecture and because it will be used in the mid-2009 GlassFish release.

A fairly simple 150-liner servlet to implement a full-duplex async Twitter application (steps, code). Speaking of Twitter, make sure you follow the bear.

Sunday Nov 30, 2008

GlassFish Presence at Devoxx next week

Devoxx Logo

Devoxx is only a week away and the GlassFish community will have a strong presence at this major European developer conference. There is no dedicated "GlassFish AppServer" session (too much of a product pitch?), but rather a series of related technologies and sub-projects you might find useful to consider for your projects.

The "University" section of the conference will feature a "GlassFish in Action" 3-hour session (Tuesday @ 1:30pm) with GlassFish v3 Prelude, Atmosphere, Jersey, OpenMQ, OpenESB/Fuji, WebSynergy tooling, and GlassFish-partner Nuxeo (on WebEngine). Should be fast paced, energetic, and mainly demo-driven.

Other sessions include :
Developing multi-language portlets by Satya Ranjan
Atmosphere by Jean-François Arcand (portable Comet based applications)
Project Fuji by Andreas Egloff (OpenESB.next, GlassFish v3, OSGi, IFL, & JBI)
Building dynamic web applications with Comet, a BOF by Carol McDonald.
Connectivity with OpenMQ by project Lead Linda Schneider.
Java EE 6 Overview by spec lead Roberto Chinnici.
The Java API for RESTful Web Services by spec lead Paul Sandoz.
EJB 3.1 - from Legacy to Secret Weapon by Adam Bien, prolific blogger and consultant.
10 reasons Java EE develpment doesn't have to be painful, by yours truly.

The conference is now full (just like previous years) and the welcome page says : "3.200 attendees from 35 countries". Should be fun!

Tuesday Oct 28, 2008

... JSON with Jersey, JSF with NB and GMaps, Comet, GF ESB and Fuji M2, Andy, iPhone and Oprah

A compilation of today's news of interest:

Radio Receiver Icon

Jakub has published a new Enterprise Tip on Jersey showing how to Configure JSON for RESTful Web Services in Jersey 1.0. Jersey is the production-quality, reference implementation of JAX-RS, the JCP standard for RESTful Web Services. JAX-RS is part of Java EE 6, but it can also be used separately. Jersey is part of GFv3 Prelude.

On JSF - first the NetBeans team shows how to Start Developing JSF Applications with the new NetBeans releases, including the forthcoming NB 6.5. Then Arun shows how to use JSF and Google Maps using Gmaps4JSF, Facelets and Mojarra on GlassFish v3 Prelude.

Comet and Atmosphere - JFA recently presented on Atmosphere - his new portable Comet framework - at the Silicon Valley JUG. The slides are Now Available.

GlassFish ESB is getting very close to its first Release Candidate (and GA/FCS release) (Milestone 2 Download) but I just noticed I had not spotlighted Mike's excellent Screencast on GlassFish ESB. Check it out and notice it is a multi-parter - very well done.

While we await GF ESB v2, we are already working on the next generation, which is based on Project Fuji. Fuji Milestone 2 released last week, and here are two additional posts: Nikki on Interceptors in Fuji and Derek on the Proxy bundle.

Andy B is adjusting his time involvement at Sun so he can spend more time with Arista Networks, "one of his startup companies" that is focused on the 10 Gigabit Ethernet switching business. The Original NYTimes Article was followed by a Clarification.

And today's toys includes Google Earth on iPhone, and Oprah endorses Kindle. Of the two, I think Oprah's endorsement will have the largest impact - is the time for the electronic reader finally here?

NB. I am a few days behind in reporting news; I'll try to catch up in the next day or two.

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!

Tuesday Oct 14, 2008

... JSF 2.0 on GlassFish, Comet Framework, Rack on JRuby, WS-Trust in Metro, 256 Threads in a 4U, new MacBooks

A compilation of today's news of interest:

Radio Receiver Icon

Arun shows how to use JSF 2.0 with GlassFish v2 in his Mojarra on GFv2. I believe the current thinking is that JSF 2.0 will not depend on Servlet 3.0 and will be able to run on Java EE 5 containers.

Atmosphere, JFA's new portable Comet framework, is now here; check the Announcement.

Jacob promised more JRuby frameworks and it seems that Rack Support is the first step. Rack provides an minimal interface between webservers supporting Ruby and Ruby frameworks, so things like, Merb, build on top of it. Seems a role equivalent to that of modjy in Jython?.

Jiandong shows how to use WS-Trust to Secure Web Services in Metro.

Yesterday's big announcement was T5440 (aka Batoka), a 4 socket, T2-based, 256 hardware threads, at 1.4GHz with up to 512GB memory, all in a 4U chassis! For techies, start with the posts by Allan and Josh, the T5440 WebSite and the Benchmarks. The press has nice reactions: [1], [2], [3]. Also check how to use it to Scale SugarCRM using Ldoms, and the new LDom cookbook. If you like it, give it a Free Try and Buy!.

Today, Apple announced the new MacBooks and MacBook Pros. Need to go check them out at the local Apple store, but I'm disappointed there is no Blu-Ray nor a sub-1K$ entry (in the new enclosure).

Thursday Sep 18, 2008

POSTPONED Webinar: Comet Support in GlassFish, with JeanFrancois Arcand

ALT DESCR

We had to CANCEL today's Webinar on Comet Support in GlassFish with JeanFrancois Arcand.

Apologies for the late notice, we will reschedule as soon as feasible as this is a very popular topic.

Saturday Sep 13, 2008

Webinar: Comet Support in GlassFish, with JeanFrancois Arcand

ALT DESCR

JeanFrancois Arcand (of Grizzly fame) will give a presentation on Comet Support in GlassFish Thursday morning - 11am PT, Sept 18th, 2008. You can join us via a concall (free if in the US, caller-paid overseas) or online via TheAquarium @ uStream.TV.

For more details check out the CometSupportInGlassFish page at the TheAquarium wiki. The plan (with the usual comment about mice and men) is to record the presentation.

Monday Sep 01, 2008

REST and Comet... on GlassFish Server

ALT DESCR

Carol had previously (in July) posted an example of a SlideShow Using Comet; now she and Rick have a refined and expanded version where they provide more details, including screenshots, and also have modified the implemetantation so they NetBeans for development, MySQL and JPA for data presistence, Grizzly for Comet support, Jersey (JAX-RS) for the REST end-points, and GlassFish Server for the App.

Looks very useful; check it out at RESTful Web Services and Comet. More information also at Comet, Jersey and Grizzly.

I'm biased, but I think it is really cool that examples like this can be ran in a totally open source stack, and you can also buy commercial support for it. We surely Are Not in Kansas Anymore!

Added - I am republishing this today since yesterday I had posted it into the past by mistake.