Wednesday Mar 31, 2010

Deploying Grails to GlassFish

ALT DESCR

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.

Tuesday Oct 06, 2009

Java Frameworks with GlassFish and NetBeans - GWT, JSF, Grails, Wicket, Struts

I had forgotten how many frameworks are covered in the NetBeans set of quickstart documents; check out the list:

ALT DESCR

Introduction to Developing Web Applications
Introduction to the Spring Framework
Introduction to the JavaServer Faces Framework
Introduction to the Struts Web Framework
Introduction to the Grails Web Framework
Introduction to the Wicket Web Framework

GlassFish v3 is scheduled to go final at the end of November and the builds are stabilizing quickly. Our test suites are very exhaustive but the only way to be sure that the final artifacts work for you is if you try them in your specific configuration. I was looking through the list and it made me think that FishCAT for GF v3 just completed its first week (See Judy's mail and report) and that team filed more than 20 bugs and more than half have already been fixed. so...

If you use one of the Java Frameworks, or your favorite app or framework, with the latest GF v3 builds and find issues, help us, and the rest of the community, by filing a bug. Thanks!

Monday Jun 29, 2009

NetBeans 6.7 Final is Here

ALT DESCR

NetBeans 6.7 is now available for download. The site includes their usual screencasts (see specially the Overview) and Tutorials.

The new features I find most interesting are the Connected Developer and the Build Tool support (including Hudson and Maven). Other features include support for more Dynamic Languages, Java Desktop/Swing and Web and Java EE; bundled JavaEE 6 and JavaFX 1.2 will be in later releases.

Related entries tagged netbeans

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.

Tuesday Apr 07, 2009

Grails 1.1 on GlassFish v2

ALT DESCR

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

GroovyBlogs.org story and asadmin podcast

ALT DESCR

In recent sister website news, GroovyBlogs.org 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

ALT DESCR

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.

Monday Nov 17, 2008

The Way the Update Center Works - Grails 1.0.4 for GlassFish

ALT DESCR

This is what the Update Center enables: Nov 14: Graeme announces Grails 1.0.4; Nov 17th: Alexis announces its Availability in the Update Center. Way to go Vivek et al!

Download GlassFish v3 Prelude, and check the update center for the new packages (you can do it directly from the admin console); then select the "grails" component and install it. Wait a bit (it is 49MB!) and there you go. Also check out Vivek's presentation on Scripting in GFv3 Prelude and Alexis' Grails Intro Screencast.

Wednesday Nov 12, 2008

Grails on GlassFish v3 Prelude

ALT DESCR

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.

Saturday Oct 04, 2008

Hudson Roundup - Polls, Awards, Comparisons, Ruby, Grails and C++, Sonar, JBoss Portal, Courses

My last Hudson roundup was back in May (hudson+adoption). Adoption continues to be very strong, and there are plenty of interesting links, although I didn't try to catch up with all the backlog.

Hudson Logo

• The GlassFish Awards Program results were Announced at Sao Paolo with many Hudson winners. Details on the program will be at the GAP blog and we will recap here

• Results on two Polls: Top three sots at the ongoing Wakaleo Consulting poll are Hudson (166), Continuum (82), CruiseControl (87), while the Best Automation Tool results at WSJ SOA Reader's Choice poll are Hudson (264), Oracle's SOA Management Pack (152), IBM's Rational Functional Tester (149).

• Product comparisons include Chris Read, Peter Franza, and Java Papo (really book review). Hudson looks very good in all of them.

• New integrations include Integration with Sonar (the Quality Control Tool), and Integration with Windmill (the Testing Framework)

• Two posts by Schenide describing integration with non-Java environments: C++, CMake and CUnit and Grails.

• Several JBoss folks seem to be adopting Hudson (at least one being a GAP winner!), and the JBoss Portal folks describe a plugin that provides integration with SmartFrog. I could not find the plugin though, send me a pointer if you know where it is.

And reports on two recent presentations: a CI Camp near Munich and TAE Boston 2008

Monday Aug 18, 2008

OpenMQ and Spring - More GroovyBlogs

ALT DESCR

Glenn has a follow-up writeup to OpenMQ With Grails and GlassFish where he describes Message Driven POGOs (Plain Old Grails Object) using Spring and OpenMQ.

Check out Glen's Writeup to see how his feed/thumbnail fetcher picks and posts requests off the queues. I exchanged mail with Glen and we will try to post more about his experiences with OpenMQ, in the meantime, check OpenMQ.

Wednesday Aug 13, 2008

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

ALT DESCR

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

Thursday Jul 24, 2008

Grails News: JNDI Data Sources, "Grails in Action" Book, NetBeans Support, and IBM DeveloperWorks

ALT DESCR

I just noticed that Glen has started working on a Grails in Action book that looks very interesting. While working on that, he is collecting good tips like Grails and JNDI Data Sources in GlassFish.

Grails continues to gain adoption (Google Trend), leveraging the strengths of the language and framework and its easy integration into the Java plaform.

NetBeans is investing to be a top IDE for Grails, see Grails Plugin for NetBeans and Integrating Meera with Grails and NetBeans, and the responses so far are very positive. All this targeted for NetBeans 6.5; I think the result will be a top IDE for dynamic languages.

Even IBM's DeveloperWorks is covering Grails, their Mastering Grails Series includes 7 articles, from Introduction to Grails to Grails and Legacy DataBases. I've skimmed the articles and they look good. Their list of AppServers "somehow" does not include GlassFish server, but don't be distracted - it should work, and if they don't, it's a bug we will fix :-)

Related entries at TheAquarium can be found via tags: Grails or Scripting.

Wednesday Jul 16, 2008

Upgraded Support for Grails with Metro

ALT DESCR

Martin reports on improvements to his Metro plugin that allows Web Services development with Grails. He also upgraded to Grails 1.0.3.

See Martin's note and check the Plugin page.