Getting Started with GlassFish 4 and OEPE

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

GlassFish 4.0

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.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

The focus of this blog is on Oracle Enterprise Pack for Eclipse (OEPE) and Oracle's involvement in the Eclipse community. Visit us for information on releases, tips and tricks related to Eclipse, and general Eclipse community information.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today