By gstachni on Jun 25, 2013
Oracle Enterprise Pack for Eclipse 18.104.22.168.2 introduces new support for GlassFish 4.0, the reference implementation of Java EE7.
Getting started with GlassFish 4.0 in Eclipse couldn't be easier. Follow these short steps to get GlassFish 4.0 setup so you can start developing, deploying, and debugging your Java EE7 applications.
Setting up the server connection
In the Servers view, click to add a New > Server .
Select GlassFish 4.0 from the list of supported server configurations.
Pick your GlassFish installation directory (usually <glassfish 4>/glassfish) and select your domain.
After you click Finish you should now be setup to launch Glassfish 4.0 in normal and debug mode within Eclipse as well as associate projects for deployment through the Add and Remove wizard.
Using GlassFish tools in Eclipse
GlassFish server tools provide some useful information about your running GlassFish 4.0 environment.
Resources displays current resources deployed in the domain including your JDBC Connection Pool and JDBC Resource names. I find this extra bit of information useful when working with JPA.
Deployed Applications shows the current active deployments in GlassFish which can be undeployed as needed from within Eclipse.
Deployed Web Services provides information about SOAP-based web services deployed in this domain.
Also with the running server are quick launch links to open the Administrative Console, Server Logs, and the GlassFish Community Site all within Eclipse's embedded browser.