Arun Gupta, Miles to go ...

Arun Gupta is a technology enthusiast, a passionate runner, and a community guy who works for Sun Microsystems.
« Previous page | Main | Next page »

http://blogs.sun.com/arungupta/date/20090409 Thursday April 09, 2009

LOTD #20: How to create a JPA application using GlassFish Tools Bundle for Eclipse ?


Here is a great screencast (from the community) that shows how to create a JPA application using EclipseLink and deploy on GlassFish v2.1 - all using GlassFish Tools Bundle for Eclipse.

Click on the image below for the video:



Thanks!

I'll work on a MySQL version of it :)

All previous links in this series are archived at LOTD.

Technorati: lotd glassfish eclipse jpa javadb screencast

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090327 Friday March 27, 2009

GlassFish Interview with Ian Skerrett at EclipseCon 2009


I had an opportunity to be interviewed by Ian Skerrett at EclipseCon 2009, see the recording below (originally published):


And here is a snapshot:



And then you can always read about Day 3 and Day 2 summary of Eclipse Con. Check out the GlassFish Tools Bundle for Eclipse or screencast #28 if you already have an Eclipse installation.

Also read about GlassFish/Eclipse bundle at InfoQ.

Technorati: conf glassfish eclipse eclipsecon

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090325 Wednesday March 25, 2009

EclipseCon 2009 Day 3 Summary


Attended the keynote session Building Applications for the Cloud with Amazon at EclipseCon 2009, Day 3 (day 2 here). Here are some brag points about Amazon Web Services gathered from the session:

  • 88 million customers, operated in 7 countries, data centers all around the world, core competency externalized for customers, pay-as-you-go model.
  • AWS Elastic Compute Cloud has 2 components:
    • Compute EC2: Rent by the hour, spin up/dial down based upon the need.
    • Storage S3: Access from anywhere with fairly low latency
  • Some simple primitives like SimpleDB (database), Simple Queue Service (messaging), Cloud Front (content delivery), Flexible Payments Service (payments), Mechanical Turk (on-demand workforce) on top of Compute & Storage.
  • 1/2 millon registered developers on AWS
  • 40 billion objects stories in S3 (4 times growth in last year)
  • Animoto case study:  Growth from 40 to 5000 instance after launching facebook application
  • AWS Principles: Reliable, Scalable, Low-latency, Flexible, Easy-to-use, Inexpensive
  • AWS Usage: Web site/Application hosting, Media distribution, Storage, Backup, Disaster Recovery, Financial apps, High-performance computing, Software development/testing
SmugMug CEO shared their usage of EC2 and S3 for SkyNet (fka Rubberband):
  • Millions of photos/day
  • BIG photos, upto 24MB, 48mpix
  • 40+ terapixels processed/day
  • Peaky traffic on holidays/weekend (elastic)
  • Full HD processing: 1920 x 1080p
  • No capital costs, Elastic, Better taxes: No depreciation & amortization
  • Totally autonomous, make a decision (roughly once a minute) to turn on/off a worker, takes into consideration approx 50+ inputs such as historical data, type of job, queue status, recent activity
And then was the fun part where AWS Toolkit for Eclipse was announced. It was pretty cool to deploy a web application (JSPWiki in this case) to a local server and then the same application to a Tomcat cluster on EC2. And you can even debug after attaching to a running instance as well. Pretty cool! And it was certainly exciting to know that GlassFish is already on their roadmap :)

And then I spent rest of the day talking to attendees and preparing this blog! The GlassFish beanies were a huge hit all around the floor and we also distributed Hudson stickers.

Here are some pictures of Day 3:







And the complete photo album below:



Technorati: conf sun glassfish eclipse eclipsecon

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090324 Tuesday March 24, 2009

EclipseCon 2009 Day 2 in Pictures


Here are some pictures I took at EclipseCon earlier today:


Meet us at the Sun booths in EclipseCon and learn all the goodness about GlassFish, GlassFish Tools Bundle for Eclipse, Open Solaris, and Java FX! And we got nice schwag too ;)

And the evolving photo album below:



Technorati: conf sun glassfish opensolaris javafx eclipse eclipsecon

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

GlassFish Tools Bundle for Eclipse now available


EclipseCon started earlier today and we are announcing the availbility of GlassFish Tools Bundle for Eclipse.

Eclipse and GlassFish in one single download bundle, available here. Here are simple steps to get you started ...

  1. Download the binary for Mac OSX, Windows, and Linux (Open Solaris coming) and install ...


  2. Start up the GlassFish Tools Bundle for Eclipse ...


  3. GlassFish v2.1 and v3 Prelude are pre-bundled and pre-configured ...


  4. Right-click on v2.1 and view the server log in the Console ...


  5. Integrated web-based Amin Console, Update Center, View Log File, and many other features ...


Check out Release Notes for detailed information.

The screencast #28 shows how to create simple applications and deploy them on GlassFish using Eclipse. More details about creating these applications is available here. The Clingan Zone also explained the highlights of the newly released bundle.

And BTW, if you have an earlier version of the plug-in, you can just update it as explained in TOTD #66.

Send your questions to users@glassfishplugins.dev.java.net.

Meet us at the Sun booths in EclipseCon!

Technorati: conf glassfish eclipse eclipsecon

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20090117 Saturday January 17, 2009

TOTD #66: GlassFish Eclipse Plugin 1.0.16 - Install v3 Prelude from the IDE


GlassFish Plugins team released ver 1.0.16 of Eclipse plugin for GlassFish. The team has maintained pretty good cadence in terms of adding features and fixing bugs in the plugin (16 releases in approx as many months). However this particular version has an exciting feature. It allows GlassFish v3 Prelude to be installed from within the IDE itself.

If you have not installed GlassFish plugin in your Eclipse earlier then screencast #28 shows how to get started. However the screencast requires you to pre-install GlassFish outside the IDE. Instead, as explained in this blog, you can skip to here and install the Application Server from within the IDE.

If you have a previous installation of GlassFish plugin, then it needs to be updated using the steps described below. And finally install the Application Server from wtihin the IDE.

Lets get started!

In Eclipse, go to "Help" menu item, "Software Updates ..." and it shows the complete list of plugins installed along with their versions ...



GlassFish plugin version is 1.0.14 in this case. Click on "Available Software" tab to show all the available updates as shown below:



The GlassFish plugin update site is automatically added to the list of managed sites once you install the plugin, but it is not automatically checked as active. The issue #45 provide more details but in the mean while check the website explicitly by clicking on "Manage Sites ..." and selecting "https://ajax.dev.java.net/eclipse" as shown below ...



Click on "OK" and the list of "Available Software" is now updated to include GlassFish server. Notice, the latest version (1.0.16 in this case) is shown as well.



Select the plugin to be installed ...



Click on "Install ..."



Click on "Next >" and then "Finish". Now your Eclipse is updated with the latest GlassFish plugin.

Lets add a new Server instance. In the "Servers" tab, right-click and select "New", "Server" ...



Select "GlassFish v3 Prelude" after expanding the "GlassFish" tree ...



Name the server if you like or take default and click on "Next".

Notice "Install Server" button, this is the new functionality added in version 1.0.16 of the plugin. Specify a directory name and click on "Install Server". This will automatically download the GlassFish v3 Prelude server and install in the specified directory.



Of course, you need to accept the License ...



Click on "Finish" and GlassFish is downloaded and installed for you (finished in few seconds for me :) and shows the following window:



Clicking on "Next >" walks you through the standard GlassFish configuration options:



More details on how to leverage the powerful GlassFish server are available in the documentation. The screencast #28 shows some of the GlassFish/Eclipse integration features in an easy to use manner.

Please ask any questions or send any feedback to users@glassfishplugins.dev.java.net.

Please leave suggestions on other TOTD (Tip Of The Day) that you'd like to see. A complete archive of all tips is available here.

Technorati: totd glassfish eclipse v3

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20081120 Thursday November 20, 2008

TOTD #54: Java Server Faces with Eclipse IDE


Ed pointed me to this excellent tutorial that explains how JavaServer Faces applications can be easily created using Eclipse IDE. The article clearly shows all the steps to create a Java Server Faces application and demonstrates the following JSF concepts:

  • How to register managed beans to a JSF application ?
  • Different templates for creating JSF pages
  • Validators
  • Resource Bundles
  • Navigation rules in faces-config.xml (very intuitive and easy-to-use)
  • Dependency injection
  • Value and Method Binding
Few code/snapshot mismatches but knowing that it's only version 0.3, it's a damn good job!

Couple of differences from the article:

First, I deployed all the samples on GlassFish v3 Prelude which has Mojarra 1.2 baked in. The screencast #28 explains how to configure GlassFish with Eclipse IDE.

Secondly, instead of using WTP, I used Eclipse 3.4 for Java EE developers which has built-in support for JSF 1.1 and 1.2 applications. So there is no need to download/configure JSP/JSTL libraries. Instead the libraries are specified during project creation as shown below:



And then let the server side provide JSF implementation by selecting radio button as shown below:



That's it, now the Mojarra baked in GlassFish v3 Prelude is used for JSF runtime.

The faces-config editor is really cool, intuitive and easy-to-use. Here is a snapshot:



Here is a snapshot of the project explorer window (package names are different from the original article):



And now finally the outputs from 4 JSF applications:












All of this using Mojarra and GlassFish v3 Prelude :)

Let us know your feedback on Mojarra at GlassFish Webtier forum, file bugs in Issue Tracker, and find the latest information about Mojarra at javaserverfaces.dev.java.net.

Technorati: totd javaserverfaces eclipse glassfish v3 mojarra

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20081119 Wednesday November 19, 2008

Screencast #28: Simple Web Application using Eclipse and GlassFish v3 Prelude


GlassFish v3 Prelude is now available! Some of the cool features are:

  • Modularity using OSGi
  • Rapid deployment using retain session data across HTTP redeploys and deploy-on-save
  • Embeddability
  • Dynamic languages and frameworks
  • Faster start up time
  • Integrated NetBeans and Eclipse tooling
  • Comet and Cometd
This screencast shows how you can create a simple Web application using JSP and Servlets in Eclipse 3.4, deploy it directly on GlassFish v3, use rapid deployment, and debug the application.


The GlassFish plugin for Eclipse has many more features than demonstrated in this screencast and are explained here.

A complete list of GlassFish related screencasts is available here. Other screencasts published on this blog are available here.

Also see GlassFish v3 running using Equinox, Rails and Merb applications using GlassFish Gem, and Embeddable GlassFish.

Submit your bugs Eclipse/GlassFish bugs here, talk to us using GlassFish Plugins Forum, and get the latest information on glassfishplugins.dev.java.net.

Technorati: screencast glassfish v3 eclipse jsp servlets deployonsave deployment

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20081106 Thursday November 06, 2008

GlassFish v3 Prelude - now available!



GlassFish v3 Prelude
is a modular and lightweight Web 2.0 development and deployment platform. It has been brewing for the past few months and is now finally available - download here! Read the official Press Release for more details.

Use it for deploying your enterprise applications today and purchase production support for the GlassFish Enterprise Server v3 prelude.

Simply unzip the bundle and start the Application Server as shown below (including startup log):

~/tools/glassfish/v3/glassfishv3-prelude/glassfish >bin/asadmin start-domain --verbose
Nov 4, 2008 2:39:07 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: JVM invocation command line:
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java
-cp
/Users/arungupta/tools/glassfish/v3/glassfishv3-prelude/glassfish/modules/glassfish.jar

. . .

Nov 4, 2008 2:39:08 PM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 12 msec.
Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
Nov 4, 2008 2:39:08 PM com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Apache Felix OSGi platform

Welcome to Felix.
=================

Nov 4, 2008 2:39:11 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [9]
Nov 4, 2008 2:39:11 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.core.kernel [79]
Nov 4, 2008 2:39:11 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.common-util [59]
Nov 4, 2008 2:39:11 PM OSGiModuleImpl start

. . .

INFO: Started bundle org.glassfish.flashlight.flashlight-framework [72]
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 8080
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.services.impl.GrizzlyService postConstruct
INFO: Network listener http-listener-2 on port 8181 disabled per domain.xml
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 4848
Nov 4, 2008 2:39:13 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.container-common [83]
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
INFO: The Admin Console Web Application has been downloaded.
Nov 4, 2008 2:39:13 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 Prelude startup time : Felix(2910ms) startup services(1902ms) total(4812ms)
Nov 4, 2008 2:39:13 PM com.sun.enterprise.registration.glassfish.PingService$1 run
INFO: Total number of available updates : 1
Nov 4, 2008 2:39:13 PM com.sun.enterprise.registration.glassfish.PingService$1 run
INFO: Available updates :

glassfish-jsf 2.0.0,0-3:20081017T093242Z Fri Oct 17 09:32:42 PDT 2008
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-naming [65]
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.common.glassfish-api [84]
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.connectors.connectors-runtime [27]
Nov 4, 2008 2:39:14 PM OSGiModuleImpl start
INFO: Started bundle org.glassfish.transaction.jta [7]
Nov 4, 2008 2:39:14 PM org.glassfish.admin.mbeanserver.ConnectorStartupService$ConnectorsStarterThread startConnector
INFO: Started JMXConnector, JMXService URL = service:jmx:rmi:///jndi/rmi://dhcp-usca14-132-225.SFBay.Sun.COM:8686/jmxrmi

The first start takes some time because it creates Felix configuration files but subsequent starts are relatively quicker as shown below:

Nov 4, 2008 2:48:01 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 Prelude startup time : Felix(1703ms) startup services(1463ms) total(3166ms)

And another start ...

Nov 4, 2008 2:48:31 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 Prelude startup time : Felix(1630ms) startup services(1302ms) total(2932ms)

And another one ...

Nov 4, 2008 2:48:45 PM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 Prelude startup time : Felix(1586ms) startup services(1227ms) total(2813ms)

What excites me about GlassFish v3 ?
  • Modularity using OSGi: OSGi provides complete modularity in the kernel of Application Server. It completely shatters the “one size fits all” philosophy. Basically you pay in terms of memory, resource utilization, learning and everything only for the components you care about. And as your need expands, you can download OSGi modules for technologies from the Update Center. TOTD #36 shows how a standard OSGi bundle can be easily deployed on GlassFish.
  • Retain session data across HTTP deploys: 1.Imagine debugging a Servlet that manipulates session data. By enabling a property during redeploy any active sessions of the application that is being redeployed will be serialized and saved in memory, and restored once the redeployment has completed. Read more details here.
  • Embeddability allows to run the GlassFish inside a VM – no explicit need to download/install/configure an Application Server. Read more details here and enjoy a live sample.
  • Dynamic Languages and Frameworks like Ruby-on-Rails and Groovy/Grails are gaining popularity. These dynamic languages and frameworks are first-class citizens in GlassFish. And integrated tooling (develop/deploy/debug) cycle makes it all the more attractive. Read more details here and numerous samples.
  • Faster startup time – Application server startup in 2-3 seconds, need we say more. Think about about the productivity boost!
  • Integrated Tooling – NetBeans 6.5 & Eclipse 3.4 provides comprehensive tooling options. By using deploy-on-save technology, Servlets and JSPs are automatically compiled and deployed. This functionality shortens a developer's iterative development experience to edit-save-refresh browser. Screencast #24 shows how to get started with NetBeans (an updated one coming soon). Read more details about Eclipse 3.4 here. Detailed screencasts coming for both the IDEs soon.
  • First flavor of Java EE 6 – First access to some of the Java EE 6 spec implementations are available through the bundled Update Center. JAX-RS 1.0, JSF 2.0, EJB 3.1 to begin with and more will be pushed as we make progress.
What do you find exciting in GlassFish v3 ?

There are many other cool features which you'll hear/watch in the upcoming days on this blog. Here are some of the screencasts I plan to release (in no particular order) over next few days:
  • Getting Started with GlassFish v3 Prelude using NetBeans 6.5 and Eclipse 3.4
  • Web Application develop/deploy/debug session using NetBeans 6.5 and Eclipse 3.4
  • Create/Run/Debug Rails application on GlassFish v3 using NetBeans 6.5
  • Retain Session data across HTTP deploys using NetBeans 6.5 and Eclipse 3.4
  • Creating an OSGi bundle and deploying on GlassFish v3 Prelude
Let me know if you have any particular preference.

Technorati: glassfish v3 prelude javaee netbeans eclipse

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20080718 Friday July 18, 2008

GlassFish @ Utah JUG Summer 2008 - Trip Report

I presented on GlassFish at Utah JUG yesterday, slides are available. The topic provided insight into GlassFish v2, the current production version, and GlassFish v3 - the upcoming modular, embeddable & extensible version. The slides have data on leading adoption indicators on how GlassFish momentum. There were close to 100 attendees and the list of sponsors is certainly impressive ;-)

Here are the list of demos:

There are very few developer meets where I've not met a Hudson (Extensible continuous integration engine) user. I had good conversation with some folks about some of the missing pieces around Hudson and will follow up with Kohsuke on that. I also got to meet Manfried Riem - the local Java Champion. And it was great to know that Allen Day (one of the UJUG board members) is already a GlassFish evangelist - see the first picture with GlassFish sticker on his laptop ;)



As mentioned, the new functionality in GlassFish v3 is undergoing review. Please send us feedback on dev@glassfish and more details here.

After all day back-to-back meetings, it was good unwinding at a concert in the Salt Lake City Downtown park - thanks to Harold (actually his wife who pointed us to the concert :) Andrew Bird was performing there and enjoy a short clip of his performance:


It's always good to meet colleagues and old friends!

Technorati: conf ujug glassfish netbeans eclipse intellij hudson saltlakecity utah jug

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20080627 Friday June 27, 2008

GlassFish on Eclipse Ganymede

Eclipse Ganymede is the annual release of Eclipse projects; this year including 23 projects. Screencast #WS6 showed how GlassFish v2 can be easily registered and started within an earlier version of Eclipse (3.3 specifically).

Eclipse is now 3.4 (as part of Ganymede) and GlassFish v3 is blazing the community with it's modular, embeddable and extensible architecture.

This blog shows how GlassFish v3 can be easily registered and started in Ganymede. Let's get started!

Download Ganymede and GlassFish v3 TP2 or build the latest workspace. Check Eclipse version by selecting "Eclipse", "About Eclipse platform" menu item. The window shows:



Now follows the screenshots as described in screencast #ws6 but this time for Ganymede instead of Eclipse Europa:

Create a new server ...



... and the window shows the list of default servers ...



... click on "Download additional server adapters" to see GlassFish in the list ...



... select "GlassFish Java EE 5 Server" and click on "Next >" ...



... accept the license and take all other defaults. The IDE needs to be restarted and then again you add a new server ...



... and this time choose "GlassFish V3 SNAPSHOT" ...



and specify the location of downloaded/built GlassFish v3 server. Now create a new project ...



... give it a name ...



... and ensure the "Target Runtime" is "GlassFish V3 SNAPSHOT". And the default project structure is shown below ...



... and now add a JSP ...



... and give it a name ...



... and then select a template ...



... and add some content to it ...



... and then deploy on GlassFish by selecting "Run As", "Run on Server" ...



... and selecting "GlassFish V3 SNAPSHOT" as the server ...



and click on "Finish" to see the result ...



and that's it!

As a next step, you can try installing Metro on TP2 and then deploy your Web service using Eclipse. If you face any problems then send email to users@GF or post a question to GlassFish Forum.

And if you are interested in a tighter integration of GlassFish v3 with an IDE  - NetBeans provides that solution as shown in screencast #24.

Technorati: eclipse ganymede glassfish v3

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20080515 Thursday May 15, 2008

GlassFish v3 TP2 on Eclipse


Screencast #WS6 showed how to configure GlassFish in Eclipse IDE. With GlassFish v3 TP2, the plug-in is also updated. Here are snapshots showing how easy it is to install GlassFish in Eclipse. The snapshots follow the steps outlined in screencast #ws6 anyway.

Download Eclipse IDE for Java EE Developers and install. Check the version ...



... add a new server (in order to install GlassFish adapter) ...



... click on "Download additional server adapters" ...



... select "GlassFish Java EE 5 Server" adapter ...



... click on "Next >" and follow the steps ...



... the IDE restarts after adapter installation is complete. While the IDE is restarting, download GlassFish v3 TP2 and unzip (single zip for multiple platforms). After the IDE is restarted, add a new server (following the steps above) and filter on "glassfish" ...



... click on "Next >" and select the location of GlassFish v3 TP2 installation ...



... click on "Finish" to see the following window ...



... click on sideways white triangle in green circle to start GlassFish and see the output console as ...



See how GlassFish starts up in less than 1 sec - and it is modular (OSGi compliant), embedable (run in-VM) and extensible (non-Java apps).

And as Ludo reported, it also runs in embedded mode.

Technorati: glassfish eclipse v3

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20071211 Tuesday December 11, 2007

GlassFish Book Review

A book on GlassFish: "Java EE 5 Development using GlassFish Application Server" by David Heffelfinger, was released last month. The publisher sent a courtesy copy for review, thank you for that. I read good part of the book on my several flights in past two weeks.

First of all, I'd like to thanks the author, publisher and rest of the team for writing this book. Overall I liked the book because of it's simplicity and a good flow through out the book. This is a great book for first timers!

Here are some of the points that I'd like to highlight:

  1. Community is a very strong aspect of GlassFish. And "Who's Who ?" of this book endorses that point. The Author, Reviewer, Editor or anybody else is not involved with Sun. That is a good community feeling and we hope to see more books on the similar lines with a different perspective.
  2. The GlassFish-specific notes sprinkled through out are very helpful. Even though the book is mainly about Java EE 5 concepts but the notes allow to think from GlassFish perspective. For example, there are GlassFish admin console screenshots at relevant points.
  3. The book uses simple English to explain the concepts. The flow of the chapters is easy to understand and very good for the Java EE 5 first timers. This is very clearly marked in the beginning sections of the book which says "This book is aimed at Java developers wishing to become proficient with Java EE 5, who are expected to have some experience with Java and to have developed and deployed applications in the past, but need no previous knowledge of Java EE or J2EE. It teaches the reader how to use GlassFish to develop and deploy applications."
  4. Some book authors take the approach of building a complete application from scratch and explain the concepts using that application. This approach typically requires to understand the application and the actual technology details may get lost. I personally like the Hello World approach with small and simple samples. This book follows that approach and I personally feel it's more beneficial where the readers can focus on the technology.

Here are some potential improvements:

  1. The first chapter provide a very simple explanation of GlassFish installation with different screenshots. The different alternatives to deploy and undeploy an application are discussed in very simple language. However only the asadmin-way to create JDBC connection pools & resources is explained. It would be nice to provide asadmin commands to do the same tasks as well.
  2. NetBeans and GlassFish integration is explained in 2 pages only. The NetBeans IDE provides a much tighter integration with GlassFish including deploying/undeploy apps, monitoring and configuration. Multiple screencasts and docs explain that relationship already but it would be nice to provide a slightly more detailed overview in this book. OTOH, Eclipse integration is still using an older version of Eclipse. The screencast #ws6 shows how Eclipse 3.3 can be used to integrate GlassFish and create simple applications.
  3. I understand the time/resource balance but feel the Web services chapter is pretty minimal. It merely introduces the basic Web services support in GlassFish and does not talk about about any of the Security, Reliability, Transactions and .NET 3.0 interoperability. Anyway, you can find the details in tutorial and numerous screencasts about Metro (the Web services stack in GlassFish).
  4. A minor nitpick - The GlassFish on the book's main page is looking right where as the GlassFish logo is looking left.

Send feedback to feedback@packtpub.com, making sure to mention the book title in the subject of your message.

In a nutshell - Great book, must buy for first timers, buy your copy here.

Happy reading!

Technorati: glassfish book eclipse netbeans webservices metro

del.icio.us | furl | simpy | slashdot | technorati | digg |
|

http://blogs.sun.com/arungupta/date/20070713 Friday July 13, 2007

Screencast #Web3: jMaki in Eclipse

jMaki is a lightweight framework to build Ajax-enabled Web 2.0 applications. NetBeans IDE provides first-class support to develop and deploy jMaki web applications on GlassFish V2. jMaki also comes with an Eclipse plug-in to support similar set of functionality. This screencast shows how jMaki plug-in can be installed in Eclipse 3.3 (codename Europa) and how jMaki-enabled web applications can be developed easily and intuitively.

Enjoy it here!



Technorati: jmaki web2.0 eclipse europa glassfish screencast

del.icio.us | furl | simpy | slashdot | technorati | digg |
|
« Previous page | Main | Next page »

Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.