Friday Jan 07, 2011

GlassFish Tips and Links #17

Recent Tips and News on Java EE 6 & GlassFish:

Informational Sign

Jabberwocky – a Jabber Component (XEP 0114) Container for GlassFish (Chuk Munn Lee)
GlassFish Hosting Options (Arun)
2-day Java EE 6 workshop in Budapest, Hungary (Arun)
Which Java EE 6 App Server - JBoss or GlassFish ? (Arun)
Roller 5 and Java EE 6 (Dave Johnson)
Simplicity by Design (Java EE 6) (Adam Bien on OTN)
Despite anti-Oracle hysteria, firm is an Open Source powerhouse (TechEYE)
JAX-RS ou Comment créer et utiliser des services RESTful en 10 min ? (ArKZoYD)
Glassfish 3.0.1, JDBCRealm with JPA2 entities (Tasha)
Java EE 6 et Glassfish 3, Par Antonio Goncalves (Nicolas Delsaux)

Roller 5 on multiple Java EE AppServers

Dave Johnson

Apache Roller, the software that powers this blog (and all of blogs.sun.com - 5k+ blogs, 145k entries, hundreds of thousands of hits every day) will soon ship version 5. Dave Johnson, one of the creators of Roller and once a Sun employee, has started sharing on his blog the experience of running this non-trivial application on a variety of application servers, ranging from GlassFish to WebSphere to JBoss but also to Tomcat, all in recent or even beta releases.

Roller was not rewritten to Java EE 6. I don't believe it uses CDI, BeanValidation, EJB's, JAX-RS for instance and it certainly doesn't use JSF but this remains a valuable exercise and probably a good read for anyone writing server-side Java code. Dave promises specific entries for the various servers and has found that JPA, class-loaders, and packaging were the sticking points in his portability experience.

Similar to the Roller experience, most new GlassFish customers don't start from scratch and require instead to have their "legacy" applications run on GlassFish (which in most cases it does with minimal modifications, if any). Only then do they start looking into adopting some of the more recent technologies. The lucky ones that can start from scratch run with Java EE 6 from day one.

Update: Dave has now posted the Roller on GlassFish entry with a link to a very nice install guide. Check it out!

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.

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 Aug 28, 2008

... mod_jk, Brazil, Typo, Roller and SocialSite, xVM, and Online Stores Galore

A compilation of today's news of interest:

Radio Receiver Icon

From the Grizzly Community - much simpler mod_jk support in GlassFish v3 for improved Apache HTTPD as a front-end. And, an old story about the New Leadership on Grizzly 2.0 - Congrats, Alexey!

From Brazil, several GlassFish-related events during September, The Java Month: first we will have representation at JustJava and several of the 14-city tour, including a Visit by Kohsuke, and then, later in the month, by Arun including Sun TechDays in Sao Paolo. Contact Arun and Kohsuke if you want to leverage their visit.

And talking about Arun, a report on how to Run Typo on GlassFish/JRuby.

From Dave, news of him joining his two babies in a Social Roller; I know he has been iching to work on this for a while, looking forward to the results!

From the xVM Team, a new Home Page and White Paper.

And, from the land of Online Stores, two new developements: news of a New Kindle and noises about an Android App Store. The Kindle seems a sure (continued) winner; I'm curious about how Android will fare - a lot of competition out there!

Tuesday Aug 19, 2008

... Free OpenSSO Training, Roller and SocialSite, Mural and MySQL, Caller Roles, and Dreaming of Gadgets,

A compilation of today's (yesterday's!) news of interest:

Radio Receiver Icon

From the OpenSSO team, there is now a free (just need an MySun Account) Self-Paced Downloadable Lab for learning how to use OpenSSO. The course is based on OpenSSO Express Build 5. This course uses OpenSSO Build 4.5, which provides identical functionality to OpenSSO Express Build 5 which supports Apache Tomcat, Sun WebServer and GlassFish v2. Check out SuperPat, Rajeev, or go direct to the source, David.

From Dave, presentations at OpenSource Days 2008 on Apache Roller and SocialSite. Plus Dave's Commentary on a note by Matt Asay on SocialSite.

From Kevin a report on Mural (the Master Data Management project at GlassFish) on its Support for MySQL.

From Ron our security master, an entry showing how to Use JACC to Determine Caller Roles, with detailed code snippets.

Finally, not our usual topic but the Engadget piece on the Google Phone got me in Gadgets mode: NYT report on Dream, Treo Pro, BlackBerry Black, HTC Touch and Xperia X1, WiFi PAN vs Bluetooth and Lenovo IdeaPad u8. I don't know how people can track all these! but then, I am not their target audience... check out my Cell Phone :-)

Saturday Aug 09, 2008

Memcached to the Rescue - Caching Roller on GlassFish in a Cluster

ALT DESCR

Dick Davis (Number 9) is a GlassFish Server fan and also a user of Roller (on GFv2 and on GFv3). He is now adding caching on a 2-node GlassFish cluster and his latest note shows how to set Memcached on Solaris to accomplish this.

Check out more posts by Dick on Solaris and on GlassFish. TheAquarium relevant posts are tagged Roller.

Added - Also check out Dick's latest Roller Summary.

Tuesday May 20, 2008

Roller 4 on GlassFish v3 ... from Number 9

ALT DESCR

Apache Roller is a good candidate for GFv3 TP2: it is a portable WebApp that uses the Java standard tier plus JPA. Add a database and you are ready to go.

Number 9 (aka Dick Davis) had previously shown how to do Roller 3 on GFv2 using PostgreSQL; this time he shows how to install Roller 4 on GFv3 with Derby.

Check out the details in Dick's Writeup, including How to Pass JVM Options. And please keep posting your experiences with GlassFish v3 TP2.

Monday Mar 10, 2008

Configuring Roller with Memcached

Memcached Architecture Diagram

Memcached is the popular distributed cache system (often used with MySQL) that was developed for LiveJournal (Article, Wikipedia, Website). One of many sites using memcached is BSC and Dave has two recent writeups on the topic: The Roller Caching API, and Using Memcached with Roller.

And, on this topic, there has been good progress in the Webstack optimizing memcached for Solaris. Check Trond's articles on Configuration, the Latest Release and more. Also don't miss Patrick's Latest release of the Memcached Functions for MySQL.

Tuesday Feb 19, 2008

Installing Social Software for GlassFish

ALT DESCR

You know about Apache Roller (behind Blogs.Sun.Com) and you may remember Slynkr (used in SDN Share), but you may not know that Dave and Jamey are Sun employees and they have been working on an Open Stack for Social Software.

The software was pushed to the GF Update Center in January and now Arun shows how to install it and get started. You can check Arun's Writeup or go directly to the screencast.

Enjoy - and stay tuned for more announcements!

Thursday Jan 03, 2008

Blogging, Content Rating, jMaki and GlassFish

jMaki Clock on Roller

The Update Center Repository includes Social Network Bundle with Apache Roller for blogging and Slynkr for content rating. You can download it very easily - check Manveen's reminder.

And, over the holidays, Dave played around with jMaki and he can now show jMaki on Roller. Check it out and let us know how it works for you!

Friday Dec 21, 2007

Something fishy coming our way

Yellow fish

Dave Johnson had already reported previously that Roller was available from the GlassFish Update Center. This time there seems to be even more to it than just a blogging engine - see Dave's latest entry for some details about "Social Software for GlassFish".

Curious? Download GlassFish v2 ur1 and run the Update Center client (INSTALL/updatecenter/bin/updatetool). You can also read the Documentation.

Thursday Dec 06, 2007

Roller 4.0 is out

Roller 4.0 logo

Congratulations to Dave Johnson and the rest of the Apache Roller team for releasing this major version.of the blogging engine used by 4292 Sun Public bloggers (86691 entries and 87365 comments). BSC (blogs.sun.com) has been running Roller 4.0-dev since July and as heavy users we give it the thumbs up (as we do to the team running the infrastructure).

Roller now lets you handle themes much easier (get some here), supports plugins, has a much improved install process (including using the GlassFish Update Center), and implementation-wise uses Java 5, Struts 2 and JPA.

Who said Social Software was seldom written in Java?