Tuesday Jun 05, 2012

Bert Ertman and Paul Bakker on Spring to Java EE 6 Migration Podcast

NLJUG leader and Java Champion Bert Ertman and Paul Bakker talk about migrating Spring applications to Java EE 6 in the latest issue of Java Spotlight Podcast, episode #85.

Bert and Paul talk about how to migrate your legacy Spring applications to use modern and lightweight Java EE 6 in five steps.

Bert Ertman Paul Bakker

The complete podcast is always fun but feel free to jump to 3:49 minutes into the show if you're in a hurry. They authored a series of article on the exact same topic starting here.

There is an extensive set of articles available that help you migrate from Spring to Java EE 6.

Subscribe to the podcast for future content.

Wednesday Apr 25, 2012

Spring to Java EE 6 Articles

David Heffelfinger's 4-part article series on Spring to Java EE 6 migration published the last part. The part 1, part 2 and part 3 takes a sample Spring application and builds it using java EE 6. It even compares the generated WAR files and LoC in XML configuration in the two environments.

ALT_DESCR

Here are some other blogs/articles that cover the topic:

What are you reasons for migrating from Spring to Java EE 6 ? Let us know.

Thursday Mar 29, 2012

Migrating Spring to Java EE 6 Article Series at OTN - Part 3

The spring season is characterized by migration of birds, whales, butterflies, frogs, and other animals for different reasons. If you use Spring framework and are interested in migrating to a standards-based Java EE platform, for whatever reason, then we have a solution for you.

ALT_DESCR

David Heffelfinger's, a renowned author and an ardent Java EE fan, has published third part of Spring to Java EE migration series at OTN. The article series takes a typical Spring application and shows how to migrate it to Java EE 6 using NetBeans.

This new part builds upon part 1 and part 2 and also compares the generated WAR files and LoC in XML configuration in the two environments. There is an interesting discussion on Why Java EE 6 over Spring ? as well.

Tuesday Nov 22, 2011

Migrating from GlassFish 2.x to 3.1.x

With clustering now available in GlassFish since version 3.1 (our Spring 2011 release), a good number of folks have been looking at migrating their existing GlassFish 2.x-based clustered environments to a more recent version to take advantage of Java EE 6, our modular design, improved SSH-based provisioning and enhanced HA performance.

ALT_DESCR

The GlassFish documentation set is quite extensive and has a dedicated Upgrade Guide. It obviously lists a number of small changes such as file layout on disk (mostly due to modularity), some option changes (grizzly, shoal), the removal of node agents (using SSH instead), new JPA default provider name, etc...

There is even a migration tool (glassfish/bin/asupgrade) to upgrade existing domains. But really the only thing you need to know is that each module in GlassFish 3 and beyond is responsible for doing its part of the upgrade job which means that the migration is as simple as copying a 2.x domain directory to the domains/ directory and starting the server with asadmin start-domain --upgrade.

Binary-compatible products eligible for such upgrades include Sun Java System Application Server 9.1 Update 2 as well as version 2.1 and 2.1.1 of Sun GlassFish Enterprise Server.

Monday Nov 07, 2011

The Last Migration - GlassFish Wiki

wikis.sun.com is migrating to a new infrastructure (wikis.oracle.com) which is soon going live. The existing wiki URL is going away later this year.

We're keeping Confluence as the wiki engine and redirects will be put in place for this to be as transparent as possible for everyone.

ALT_DESCR

A couple of things that *will* changes :
• editing pages will require authentication using Oracle SSO instead of the now deprecated SDN account.
• attachments will need to be limited to images (png, jpeg and gif) and PDFs only. The consequence of that is that we need to retrofit the existing content. Folks needing to do something should hear directly from me (they already should have in fact).

If you face any issue, feel free to post a comment here or send email to wiki @ glassfish.java.net
Thanks for your help and support on what (I think) is our last sun-to-oracle migration!

Friday May 06, 2011

Welcome to the New Aquarium!

We're back! Now that we've migrated to blogs.oracle.com we have a new shiny look and don't intend to change the content from what you have been used to. Check out the few entries posted while we were not publicly visible.

Other companion blogs such as the GlassFish Stories, The GlassFish Podcast or GlassFish for Business have also been migrated.

Old and new Aquarium

As for individual blogs, you should not only be able to continue reading content from the GlassFish engineers but we've spent time making sure that the valuable content from now retired bloggers is still accessible.

Let us know if anything doesn't work for you, chances are we haven't caught everything in the migration process. Thanks!

And now for some serious blogging to catch up with what happened during the migration period.

Sunday Apr 17, 2011

TheAquarium (and the rest of blogs.sun.com) is moving

After 7 years of existence (almost to the exact day), blogs.sun.com (BSC) is migrating to a new domain: blogs.oracle.com.

The migration should not impact TheAquarium readers coming via feedreaders or directly to the web site with the help of redirects.

The look and feel of the page will change to a new shiny look (see snapshot on the right hand side) but you shouldn't expect changes to the content. Speaking of content, this is blog number #3333 with Eduardo writing more than 2000 and myself (Alexis) approaching 450.

ALT DESCR

This is your opportunity to comment on the overall content of TheAquarium, in addition to the comments we receive on individual entries. Tell us what you think and what you'd like to see improved!

Tuesday Mar 01, 2011

GlassFish 3.1 SOTD #2 - Upgrade cluster

In this second post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Bobby's migration of a GlassFish cluster.

This 6-minute video is a demonstration showing how to upgrade a cluster of GlassFish 2.1.1 instances and DAS to a brand new GlassFish 3.1 infrastructure and is discussed in this blog.

This screencast is hosted on the GlassFish YouTube Channel.

Thursday Dec 02, 2010

GlassFish Mailing Lists - 213k emails and counting

ALT DESCR

We now have all the mailing lists operational and migrated with full history to the new java.net infrastructure for GlassFish and its sub-projects. The existing addresses will keep on working, but the preferred domain is now @glassfish.java.net (no \*.dev.\*).

For anyone interested, this represents 29 mailing lists for the main GlassFish project alone (the biggest one of the 161 projects migrated) with 213 741 individual messages accounting for a 26GB tarball archive...

Since this has worked well for us so far, we're keeping the email/forum bridge up and running. This will post every email sent to the USERS mailing list (users-AT-glassfish.java.net) as a post on the GlassFish Forum and vice-versa. Sun had a very strong email culture while many others feel more comfortable with posting to forums. Use which ever works best for you! Also remember that archives for all those lists are available from java.net (of course), from MarkMail, and Nabble.

For a full status on the now completed migration efforts, check out this announcement email.

Tuesday Nov 23, 2010

GlassFish source repository on the new java.net - now live!

ALT DESCR

Following the earlier first wave of projects migrating to the new java.net infrastructure, the main GlassFish project is now almost fully available and the glassfish-svn repository is now available for checkins.

Jane is suggesting the following two options to start using the new environment :

Check-out source to a clean workspace:
svn checkout https://svn.java.net/svn/glassfish~svn/trunk/v3

Switch workspace to the new GlassFish SVN repository
1. cd <v3-dir>
2. svn switch --relocate https://svn.dev.java.net/svn/glassfish-svn https://svn.java.net/svn/glassfish~svn
3. svn info and verify the following:
URL: https://svn.java.net/svn/glassfish~svn/trunk/v3
Repository Root: https://svn.java.net/svn/glassfish~svn

Several people have reported that they were able to follow these instructions (with fast checkout!) and commit code. If any of the above doesn't work, please report your issues (here or on the DEV alias). More in further posts about the other services (mailing lists, bug tracking, website, etc.). So far so good.

Update: Eirik was kind enough to quickly update SVNSearch.org to the new location. Enjoy!

Thursday Aug 13, 2009

GlassFish Survey - Top Migrations to GF are from Tomcat and JBoss

Last month we ran a GlassFish Adoption Survey. Our main intention was to learn about Migration patterns on the GlassFish server. Although it was a totally self-selected, unscientific, survey, we thought it would collect some interesting insights which we could then use for a more formal survey later in the year.

With those caveats, here are the highlights:

ALT DESCR

• Where they migrated from (%):
Apache Tomcat (21.2%), JBoss (15.8%), WebSphere (5.4%), .NET (4.9%), WebLogic (3.4%)...

• Major reason to switch to GlassFish (1-10):
Cost reduction (8.16), Reduce vendor lock-in (7.68), Developer Productivity (7.58), Better quality (7.14), Improved performance (6.83), Reduced complexity (6.67)...

• Biggest benefit of for-fee support (1-10):
Patches/Updates (8.23), Support (7.4), Enterprise Mgr (6.34), Indemnification (4.27), Others (4.55)

Mostly what I was expecting, although I thought there would be fewer WAS and more WLS migrations. Looking forward to an improved version of the survey later in the year.

Wednesday Apr 09, 2008

Verifier - Now a good time to join the effort

The verifier is a very nice piece of technology that helps many users fix their Java EE coding and packaging issues. There's been some interest from the community recently for potential contributions, so we've created a dedicated mailing list for this verifier-AT-glassfish.dev.java.net.

Now would be a good time to look into this technology (look for the bin/verifier tool in every GlassFish/Java EE SDK distribution). One of my favorite existing feature is the possibility to run a subset of tests (say EJB 3.0 persistence tests, Web tests, WebServices tests, etc...). Sahoo is coordinating the effort to improve this tool. Remember contributions could be eligible for the GAP.

The verifier tool is available as a command-line tool, as an ANT task, as part of the deployment process, as well as in NetBeans.

Sunday Mar 23, 2008

More Migration Stories - From JBoss to GlassFish

I bumped into this post from David dscribing his experiences migrating his app from JBoss 4.0.4-GA to GlassFish.

Photo of Steam Engine

David covers 3 issues:

• JBoss EJBQL != GF (J2EE Spec) EJBQL
• Embeddable Objects, Entities and the GF Cache
• Refresh and the GF cache

Beyond this, it was a successful experience; for details, check out David's writeup. And keep the migration stories going...

Wednesday Mar 19, 2008

Great material for moving to GlassFish from Germany

One of several GlassFish codecamp in Munich

Daniel posted a few weeks ago this blog entry about a code camp he and others have been running for ISVs to port and develop their applications on the GlassFish Application Server.

Don't be put off by the page being in German, all of the GlassFish Workshop documents are in English and very good IMHO. They cover from GlassFish fundamentals such as basic installation steps to much more advanced details about how to adapt applications and their packaging for GlassFish.

Here's a list of those documents :
Getting started, Introduction and Migration.
Resource Management & Call Flow Monitoring.
Clustering & Load Balancing.
If you're more into following slides, here's a good deck.

Wednesday Mar 12, 2008

More Tomcat to GlassFish Migration - Virtual Servers and Resources

Egyptian Domesticated Animals

Wolfram, the author of JSP Tutorial describes in two notes how he moved that site from Apache Tomcat to GlassFish.

The first one covers Virtual Servers in GlassFish. This was necessary to run multiple apps in his box (provided by 1x1). The second shows how to use asadmin to Add Resources to be used by his apps. Thanks, Wolfram!

Regarding the image... Andrew Sherratt argues for a follow-up to the Neolithic Revolution based on Secondary Products from the domestication of animals. Yeah, a bit convoluted, but I'm following a revolution theme for the migration articles... :-)