GlassFish Talk at Infosys, Q and A
By 143562 on Mar 06, 2009
Talks on GlassFish and Web Space Server were presented on 27th Feb 2009 to a group of Infosys employees at their Electronic City campus. Sandeep Soni covered Web Space Server and I handled the one on GlassFish. These talks were attended by about 80 to 100 Infosys employees and were well received. The attendees had experience with the Java EE and Portal technologies and products and the purpose was to get them to learn more about Sun's Open Source offerings in that space. Some of them already knew a good deal about GlassFish and Web Space Server and the hope there was to re-inforce their belief in these products.
The GlassFish presentation was a mash up of slides from Arun Gupta and other presentations available at http://wiki.glassfish.java.net/Wiki.jsp?page=Presentations. The presentation touched the following topics: overview of GlassFish, Sun's Open Source Strategy, GlassFish v2, v3, Metro, RESTful Web Services, Enterprise Manager, migration.
Demos covered during the talk:
Arun Gupta's blog on "Netbeans 6.5 and GlassFish v3", see http://weblogs.java.net/blog/arungupta/archive/2008/11/screencast_27_s.html
Creation of RESTful Web Service through Netbeans 6.5 and running it on Jersey (GlassFish).
High Availability Features of GlassFish: this one hit a glitch :( (see item 1.ii at http://weblogs.java.net/blog/rampsarathy/archive/2008/06/debugging_jms_o_1.html)
Here's a sampling of questions that were asked during the session:
Is there a way to turn off the "auto-deploy on save" functionality in netbeans?
Yes. On Netbeans 6.5, Right Click on the project - > Properties -> Run -> uncheck the box that says "Deploy on Save"
Can Felix be replace with Equinox with GlassFish v3 ?
Why is it that asupgrade is required ? Why can't GlassFish take care of it and not require the customer to do anything ?
Upgrade Functionality is quite handy for a user upgrading from one version of GlassFish to another. The asupgrade tool is optionally available when installing the new version of GlassFish. So the user only needs to inform GlassFish of its use and no more. It can also be invoked from command line after installing the new version. The tool handles upgrade/transformation of many things such as - Administrative settings, Security Roles, Cluster Settings and importantly changes to domain.xml.
Can the listener port of the http service be changed without having to restart the server ?
Yes, the user only needs to change the port information for this.
Is there a way to import Netbeans Projects into Eclipse, because I like to work with Eclipse, but love the Netbeans integration with GlassFish ?
You can try http://dguitar.sourceforge.net/en/EclipseAndNetbeans.html. Other links also show up on a internet search. You can also try asking the question at the netbeans mailing lists [http://www.netbeans.org/community/lists/] .
Can Teracotta replace clustering in GlassFish ?
The in-memory replication module in GlassFish uses JXTA for replication and GMS for failure management. I am not sure how Terracotta provides failure management.
We now look forward to bootcamp or a workshop type activity for the Infosys Employees.