Sunday Nov 14, 2010

GlassFish Tips and Links #14: InfraDNA and CloudBees, JSF Composites, Embedded GlassFish, JProfiler, JQuery and XMPP...

Recent Tips and News on Java EE 6 & GlassFish:

Informational Sign

Tips

TOTD #147: Java Server Faces 2.0 Composite Components using NetBeans - DRY your code (Arun)
TOTD #148: JPA2 Metamodel Classes in NetBeans 7.0 - Writing type-safe Criteria API (Arun)
Step by Step tutorial to create a JAX-WS with Eclipse, CXF and Glassfish V3 (Ahmed Al-Moayed)
Profiling GlassFish 3 with JProfiler : Shing Wai Chan's Weblog (Shing Wai Chan)
Using JQuery, XMPP and Atmosphere to cluster your WebSocket/Comet application (JFA)
Unit testing services, part 2 – Embedded Glassfish (Ivan St. Ivanov)

French Posts on GlassFish

ArKZoYd has a whole collection of posts in French on GlassFish; see

Mes blogs classés par thèmes
• All posts Tagged as GlassFish, and
Installer Glassfish 3.0.1 en mode silencieux, as an example.

Trip Reports

OTN Developer Days 2010, New York City Trip Report (Arun)
Oredev 2010 Trip Report (Arun)
JFall 2010 - Yet another great Java conference (Alexis)

Hudson News

Lusis: Using Hudson and RVM for Ruby unit testing
Hudson / JRuby integration preliminary report
InfraDNA and CloudBees joining forces: KK's post, CloudBees post, JAXEnter, PR.
  • The new offering is called Nectar

Other Related News

NetBeans 7.0 M2 and Maven 3 - Better than M2Eclipse? (Gunther Popp)
An Introduction to OpenFaces
SunSolve is Moving

Friday Nov 05, 2010

First Wave of Java.Net Migration

A few weeks into the acquisition, Ted Farrell announced plans to migrate Java.Net to Kenai infrastructure. For multiple reasons, it took us a bit to implement this, but last week we started with a first wave of GlassFish projects and a bit later Sonya provided Additional Details about the Java.net Migration.

Although the migration also involves some CMS changes the main focus right now is on the Forge Migration, from CollabNet Infrastructure to Kenai Infrastructure.

The projects involved in the first wave included Jersey, Metro, Grizzly, Atmosphere, JAX-WS, OpenMQ and several more. The intention was to do a quick migration but that has been delayed, with the current completion target date being Monday. Once the first wave completes, we will start migrating the rest of GlassFish and then other Java.Net projects.

Some additional details at:

Tuesday Apr 27, 2010

CLI, Roller, Jersey, JavaOne... and More GlassFish News - April 27th, 2010

Install and Run Apache Roller 4.01 on GlassFish and OpenSolaris
Dave Koelmeyer has posted Detailed Instructions on how to install Apache Roller 4.01 on GlassFish v2.1 using MySQL 5.1 for storage.  He uses OpenSolaris snv_134, the subject of a tea-leaf-reading thread.

Slides and Code Samples on Jersey and JAX-RS
The Slides and code from Paul Sandoz's presentation at Presentation at AlpesJug on Jersey, JAX-RS and Atmosphere are now now available.  The actual presentation was in French, but the slides are in English, and the code is... code.

Invoke OSGi Service from JAX-WS Endpoint
Arun has published yet another TOTD (Tip Of The Day), with complete instructions and code.  This one is  TOTD #130: Invoking a OSGi service from a JAX-WS Endpoint. Arun's approach is to document the demos he gives at his presentations through the TOTDs.  Quite a bit of work, but it makes the content useful to a world-wide audience.

WAS V7 - Inching Towards JavaEE 6
IBM has recently been using a "Feature Pack" approach in upgrading its WebSphere AppServer; it seems to work pretty well for them and they released two packs for WAS V7: Feature Pack for OSGi and JPA 2.0 and Feature Pack for SCA.  IBM is, of course, one of the Java Licensees; WAS v7 is one of the JavaEE 5 Compatible App Servers, the feature pack aproach helps it move towards the JavaEE 6 list.

VirtualBox at Oracle
One of the challenges during Hands-On-Labs is setting up: the attendees usually bring their own laptops but each of them is different and requires slighlty different setup.  Asking for prep work before attending is not always successful.  A solution now being used in some DB HOLs at Oracle is to Use VirtualBox. Which is the same approach that both Arun and Alexis had advocated for a new series of GlassFish HOLs being planned.

GlassFish CLI
Masoud has a detailed post - actually a book chapter - that you should read to Learn the GlassFish v3 Command Line Administration Interface (CLI)

JavaOne 2010
This year's JavaOne is the first under Oracle and will coincide with Oracle OpenWorld.  Some things will be different, but others are mostly the same - including how the content is being selected - see Sharat Chander's interview by Tori Wieldt for some answers; others will evolve as we get closer to the event.

Wednesday Jul 15, 2009

Jersey 1.1.1 EA - Now Available (getting closer to GFv3!)

ALT DESCR

Paul has announced the availability of Jersey 1.1.1 EA, based on the draft for JAX-RS 1.1 (see JAX-RS 1.0 spec and Changelog). To learn more about Jersey you can see the Getting Started Document and the Jersey User's Guide, check out Paul and Marc's Webinar, or browse through previous entries.

Jersey is also collaborating with JFA's Atmosphere framework, and, since Paul is a fan of Scala, also supports Lift. Overall, very good movement towards GFv3. More details at Paul's announcement.

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

Saturday Jun 21, 2008

Bringing Comet to the Masses - Atmosphere

ALT DESCR

I was going to wait until late next week, but I see that JFA's interview at InfoQ is out and the website is visible so no reason to wait. JFA's "free time" left by Alexey's lead role on Grizzly 2.0 is going to be reinvested into a Atmosphere a new project in the GlassFish Community that will focus on Comet.

The project is just starting; the InfoQ article seems roughly accurate although some goal fine-tuning is still happening. I expect JFA will provide a more detailed description in a future blog entry.