Hi,
Here is the good way to learn how to use Eclipse IDE to develop J2EE
Applications running with GlassFish Servers.
In this JavaOne hands-on lab, we show the steps on how to do the
following and more...
* Creating and deploying a dynamic Web project targeted for Sun
GlassFish Enterprise Server v3 Prelude
* Using a built-in sample database and Java Persistence API to
generate entities and use them in a dynamic Web project
* Using the GlassFish Administration Console from Eclipse
* Customizing properties of GlassFish application server integration
with Eclipse
To download the hands-on lab instruction, please click here
<
http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-7001&yr=2009&track=1>.
Thanks,
-davis