Getting Started with GlassFish 4 and OEPE
Posted
by gstachni
on Oracle Blogs
See other posts from Oracle Blogs
or by gstachni
Published on Tue, 25 Jun 2013 20:32:52 +0000
Indexed on
2013/06/25
22:25 UTC
Read the original article
Hit count: 286
/Oracle
Oracle Enterprise Pack for Eclipse 12.1.1.2.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.
Prerequisites
Oracle Enterprise Pack for Eclipse 12.1.1.2.2+ from OTN or Eclipse Marketplace
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.
© Oracle Blogs or respective owner