Tuesday Jun 25, 2013

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.

Wednesday Jun 12, 2013

New Java EE7 and Glassfish Support in OEPE 12.1.1.2.2

Oracle Enterprise Pack for Eclipse 12.1.1.2.2 is now available for download from OTN and Eclipse Marketplace and includes new tooling for Glassfish and Java EE7.

The Glassfish Server tooling plugins have been redesigned in OEPE with a focus on performance, stability, and polish and include the following features:

  • New tooling architecture improves stability and performance when developing applications against Glassfish
  • Support for Glassfish 3.x and now 4.0
  • Target new projects against Glassfish Server and create appropriate deployment descriptors (glassfish-ejb-jar.xml, glassfish-web.xml)
  • Deploy and debug Web and Enterprise Applications directly out of the Eclipse workspace
  • View and manage deployed Applications, Web Services, and Resources on active Glassfish servers
  • Quick access to Glassfish Admin Console, Server Logs, and Glassfish Community Sites from within Eclipse


Eclipse Kepler (4.3) is the first release of Eclipse to support Java EE7 and, when combined with OEPE's Glassfish 4 support, Eclipse users get a development environment to develop, run, and test Java applications with the latest spec.  Some of the new feature enhancements in Eclipse Kepler which enable Java EE7 development are as follows:

  • Eclipse Kepler (4.3) adds new design time support for Java EE7 through the Web Tools Platform (WTP)
  • Updated Project Facets and Wizards for new Java EE7 spec levels (ie: Servlet, EJB, JPA, Web Services, JAX-RS, JSF)
  • Develop Java EE7 applications in Eclipse and run, deploy, and debug with Glassfish 4

For more information on the latest Java EE7 features and announcements, check out the Java EE7 blog.

Additional information about OEPE 12.1.1.2.2 can always be found on the OEPE OTN page.

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