Friday Mar 23, 2012

Tab Sweep - Upgrade to Java EE 6, Groovy NetBeans, JSR310, JCache interview, OEPE, and more

Recent Tips and News on Java, Java EE 6, GlassFish & more :

Radio Receiver

Implementing JSR 310 (New Date/Time API) in Java 8 Is Very Strongly Favored by Developers (
Upgrading To The Java EE 6 Web Profile (Roger)
NetBeans for Groovy (
Client Side MOXy JSON Binding Explained (Blaise)
Control CDI Containers in SE and EE (Strub)
Java EE on Google App Engine: CDI to the Rescue - AleŇ° Justin (jaxenter)
The Java EE 6 Example - Testing Galleria - Part 4 (Markus)
Why is OpenWebBeans so fast? (Strub)
Welcome to the new Oracle Enterprise Pack for Eclipse Blog (
Java Spotlight Episode 75: Greg Luck on JSR 107 Java Temporary Caching API (Spotlight Podcast)
Glassfish cluster installation and administration on top of SSH + public key (Paulo)
Jfokus 2012 on (Parleys)
Java Tuning in a Nutshell - Part 1 (Rupesh)
New Features in Fork/Join from Java Concurrency Master, Doug Lea (DZone)
A Java7 Grammar for VisualLangLab (Sanjay)
Glassfish version 3.1.2: Secure Admin must be enabled to access the DAS remotely (Charlee)
Oracle Announces the Certification of the Oracle Database on Oracle Linux 6 and Red Hat Enterprise Linux 6

Wednesday Mar 31, 2010

Deploying Grails to GlassFish


The standard development command for Grails, "grails run-app" will use an embedded Jetty (also see the NetBeans Quickstart) but the standard arrangement for deployment is to create a WAR via "grails war" and then deploy the WAR in your favorite container.

The Grails Deployment Page has a full list of supported containers, including GlassFish v2 and v3. The combination works very well; actually, one of the earliest references to the GlassFish+Grails combo was from Glen Smith, the author of Grails in Action and a quick look at the Grails USERS mailing list shows GlassFish as the 3rd more popular container, after Jetty and Tomcat, but there are some unwanted interactions between the logging frameworks used by Grails and those included in GlassFish.

Fortunately, a few weeks ago Reiner Saddey wrote about how to deploy Grails Applications on containers while using Native Logging. He later provided Specific Instructions for JBoss and now has added the Instructions for GlassFish . It all boils to adding and removing adaptors between Log4J and JSR-47; life would be simpler if we had a single, standard, widely adopted Java Logging Framework...

Earlier entries on Grails are tagged Grails.

Sunday May 10, 2009

Groovy and GroovyBlogs - This week's Webinar

This week's webinar will cover the architecture of GroovyBlogs, a blog aggregator site build by Glen Smith using Grails, GlassFish, OpenMQ and other technologies. Glen is also the author of Grails in Action.

We are also trying to schedule a second speaker to provide a technical overview of Groovy.

The presentation is on Thursday, May 14th, 12noon US Pacific, at TheAquarium Channel. Full details (and recordings) at the Show Page. Notice the different time to accomodate Canberra.

Reminder: Our news on CommunityOne and JavaOne are tagged JavaOne; and don't forget our Unconference and Party - attendance is free but registration is required, and space to the party is limited.

Sunday May 03, 2009

A Hudson Release Milestone and New CLI with Groovy Support


Two weeks ago Hudson reached release 1.300 (yep, three hundred releases, and the latest is already 1.303!) and Kohsuke wrote a short Commemoration Post summarizing some of the accomplishments. By all metrics the project is doing very well: I'll argue that Hudson is now the leading CI tool, the traffic on USERS@Hudson is over 1200/month and the project is very well grounded in the community with over 140 committers.

As adoption continues to grow, Kohsuke is adjusting the community releases to increase stability and we are working to deliver supported releases and other features from Sun soon. And, all along, the number of plugins and features will continue to grow, including a new CLI features that can be used to Provide a Groovy Shell.

So, here is a toast to Kohsuke's baby, may it Live Long and Prosper, may it continue to grow and reach many more releases and users. And we hope to see you all at the UnConference, and at CommunityOne and JavaOne

Tuesday Apr 07, 2009

Grails 1.1 on GlassFish v2


Grails 1.1 is available on the GlassFish v2 Update Center. Thanks to Vivek and the team for delivering on it, and to Alexis for the tip. Still working on making this available on the GFv3 Update Center; Alexis has started a series to help other groups contribute to the repository.

Related entries are tagged Grails.

Monday Mar 09, 2009 story and asadmin podcast


In recent sister website news, is the latest "story" about running a grails application on top of GlassFish v2. Glen Smith shares his thoughts on running his community web site for the past couple of years using GlassFish and how OpenMQ has recently increased the overall availability of the system.

asadmin, the GlassFish CLI (Command Line Interface) was recently featured on TheAquariumTV (archive) and is now available as episode #28 of the GlassFish Podcast. The original recording was edited down to make it more podcast friendly (shorter, less discussion, more presentation). Let us know how that works for you.

Sunday Dec 14, 2008

New Grails Tutorial - And Other Grails and Groovy Adoption


NetBeans continues to add support for Groovy and Grails as well as new tutorials. Check the Intro to Groovy, the NetBeans.TV Screencast and the new Introduction to Grails (thanks to Charles for the tip).

Since Groovy fits very easily into Java it is easy to use with GlassFish: see Alexis' Zero to Grails in 5 and the GFv3 Prelude Docs. Also check out GroovyBlogs - Glen Smith has been running it on GlassFish v2 (Netcraft Report) for several months.

There is a clear resurgence of scripting on JVM and Groovy was very popular at Devoxx last week (see Sven's photo of the Whiteboard) - with the usual note on Sampling Errors! Related entries at TheAquarium are tagged scripting.

Wednesday Nov 12, 2008

Grails on GlassFish v3 Prelude


Last week Alexis posted a nice and short screencast showing how to use install Grails into GlassFish v3 Prelude using the new Update Center. Check out the Screencast, download GFv3 from here, and get started.

Also, don't miss Vivek's 1hr webinar tomorrow on Scripting in GFv3 Prelude covering Ruby, Python and Groovy; we decided to leave PHP for another webinar.

And you may also want to check out Vivek's mini-presentation from last week's GFv3 Prelude Launch, as well as Geertjan's writeup and screencast on Grails and AJAX.

Tuesday Nov 11, 2008

... Releases and Acquisitions: JavaFX, OpenSSO Enterprise, G2One and SpringSource

A compilation of today's news of interest - Special Release and Acquisitions Edition:

Radio Receiver Icon

SpringSource has announced the acquisition of G2One the Groovy and Grails specialist company. Congrats to both! See the reports from The Register and DZone, including comments from Rod on their New Role in the JCP EC. Maybe SpringSource will be able to finish JSR 241? It has been more than 4 years since the EG formed...

Sun has released OpenSSO Enterprise 8.0 (previously FAM, previously Access Federated Manager, previously Access Manager) with full enterprise support. Check out: download, documentation and Java.Net site. Also see Mark's Short Overview, and entries tagged OpenSSO.

And Danny promises that JavaFX will be finally Released on December 2nd. He also points to a nice JavaFX Overview at InfoQ and to the current RC download. More info as we get closer to the launch.

Monday Nov 10, 2008

Dynamic / Scripting Languages Support in GlassFish v3 Prelude - Webinar for November 13th


Our next full-length webinar is on Scripting (or Dynamic) Languages in GlassFish v3 Prelude this Thursday, Nov 13th. Same usual time, 11:15 am Pacific Time.

This is a full-length (1 hour) version of the presentation that Vivek gave last week at GlassFish Day (SlideShare, Recording). Vivek will cover the multiplicity of languages supported and the technology; demos will be included

For more details, check the Schedule and Channel Overview. Hope to see you Online!

Monday Oct 06, 2008

Groovy portlet support and WebSynergy


WebSynergy and the associated Portal Pack 3.0 continue to add features as part of its partnership with Liferay. Frerk Meyer in a recent blog post talks about the addition of Groovy support in Portal Pack, which allows one to write JSR 286 portlets in Groovy and deploy to WebSynergy. Satya provides More detail about Portal Pack 3.0 and its multiple language support for portlet authoring.

WebSynergy already supports Ruby and PHP. Stay tuned for more support as newer community and stable builds of WebSynergy [download] and Portal Pack [download] are released.

Wednesday Aug 13, 2008

GroovyBlogs - OpenMQ with Grails and GlassFish (with a little help from HermesJMS)


Glenn has converted GroovyBlogs to a "(largely) message driven architecture" running on Grails on top of GlassFish Server using OpenMQ.

Like in the Recent Note on GridDynamics, Glenn started using ActiveMQ and switched to OpenMQ for better stability. He used OpenMQ with HermesJMS for monitoring and with the JMS Plugin for Grails integration.

Check out the details in Glen's note; or check out the NetCraft Report on GroovyBlogs. Additional entries are tagged OpenMQ

Tuesday Jul 08, 2008

New Sample App: Groovy, Grails, GlassFish and MySQL


This is not just YAPS (Yet Another Pet Store); this one is Groovy! :-) Carol has written a sample of the now famous Pet Store (check out the Wikipedia Entry) but this time it uses Groovy, Grails, MySQL Server and the GlassFish Server.

Carol's writeup has full details. Other TA entries on the topic are tagged Groovy or Grails, including the announcement about Grails in the UpdateCenter.

Monday Jul 07, 2008

NetBeans 6.5 M1 - Now Available


The first Milestone of NetBeans 6.5 is now Available for Download. This release includes support for Groovy, Ruby, Spring, Hibernate, JPA and more, and GlassFish v3.

Check New and Noteworthy for full details, but, arguably one of the most important additions is PHP support. See Overview Screencast, Documentation and the NetBeans/PHP Blog.

Tuesday Jun 24, 2008

Grails Plugins in GlassFish UpdateCenter 2 and UpdateCenter 3


With all the turmoil around JavaOne I missed the two Grails plugins from Martin. Today I was testing the UpdateTool, saw them, and poked around to find the announcements.

Read Martin's notes on the Plugin for v2 and the Plugin for v3. Fire DIR/updatecenter/bin/updatetool (GFv2) or DIR/updatetool/bin/updatetool (GFv3), and install it out.