blob: 6df48870f124cb3439fb59f4dbc3deb313bfdf83 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/. Contributors: IBM Corporation - initial API and implementation" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="concept" name="DC.Type" />
<meta name="DC.Title" content="Java EE 5: Overview" />
<meta name="abstract" content="Using the Java Platform, Enterprise Edition (Java EE) architecture, you can build distributed Web and enterprise applications. This architecture helps you focus on presentation and application issues, rather than on systems issues." />
<meta name="description" content="Using the Java Platform, Enterprise Edition (Java EE) architecture, you can build distributed Web and enterprise applications. This architecture helps you focus on presentation and application issues, rather than on systems issues." />
<meta content="Java EE 5, Oerview" name="DC.subject" />
<meta content="Java EE 5, Oerview" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/cjavaee5.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="cjavaee5" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Java EE 5: Overview</title>
</head>
<body id="cjavaee5"><a name="cjavaee5"><!-- --></a>
<h1 class="id_title">Java EE 5: Overview</h1>
<div><p class="id_shortdesc">Using the Java™ Platform, Enterprise Edition (Java EE)
architecture, you can build distributed Web and enterprise applications. This
architecture helps you focus on presentation and application issues, rather
than on systems issues.</p>
<p>You can use the Java EE 5 tools and features to create applications
that are structured around modules with different purposes, such as Web sites
and Enterprise JavaBeans™ (EJB) applications. When you use EJB
3.0 components, you can create a distributed, secure application with transactional
support. When you develop applications that access persistent data, you can
use the new Java Persistence API (JPA). This standard simplifies
the creation and use of persistent entities, as well as adding new features.
For developing presentation logic, you can use technologies such as JavaServer
Pages (JSP) or JavaServer Faces (JSF).</p>
<div class="p">Using the Java EE 5 Platform Enterprise Edition (Java EE) , you
can develop applications more quickly and conveniently than in previous versions.
The Java EE
5 platform replaces Java 2 Enterprise Edition (J2EE), version
1.4. The product tools support for both versions. Java EE 5 significantly
enhances ease of use providing<ul>
<li>Reduced development time</li>
<li>Reduced application complexity</li>
<li>Improved application performance</li>
</ul>
</div>
<div class="p">Java EE 5 provides a simplified programming model, including the following
tools:<ul>
<li>Inline configuration with annotations, making deployment descriptors now
optional</li>
<li>Dependency injection, hiding resource creation and lookup from application
code</li>
<li>Java persistence API (JPA) allows data management without explicit SQL
or JDBC</li>
<li>Use of plain old Java objects (POJOs) for Enterprise JavaBeans and Web
services</li>
</ul>
</div>
<div class="p">Java EE 5 provides simplified packaging rules for enterprise applications:<ul>
<li>Web applications us .WAR files</li>
<li>Resource adapters use .RAR files</li>
<li>Enterprise applications use .EAR files</li>
<li>The <samp class="codeph">lib</samp> directory contains shared .JAR files</li>
<li>A .JAR file with <samp class="codeph">Main-Class</samp> implies an application client</li>
<li>A .JAR file with @Stateless annotation implies an EJB application</li>
<li>Many simple applications no longer require deployment descriptors, including<ul>
<li>EJB applications (.JAR files)</li>
<li>Web applications that use JSP technology only</li>
<li>Application clients</li>
<li>Enterprise applications (.EAR files)</li>
</ul>
</li>
</ul>
</div>
<div class="p">Java EE 5 provides simplified resource access using dependency injection:<ul>
<li>In the Dependency Injection pattern, an external entity automatically
supplies an object's dependencies.<ul>
<li>The object need not request these resources explicitly</li>
</ul>
</li>
<li>In Java EE 5, dependency injection can be applied to all resources that
a component needs<ul>
<li>Creation and lookup of resources are hidden from application code</li>
</ul>
</li>
<li>Dependency injection can be applied throughout Java EE 5 technology:<ul>
<li>EJB containers</li>
<li>Web containers</li>
<li>Clients</li>
<li>Web services</li>
</ul>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/cjavaee5.html" title="The Java EE 5 programming model simplifies the process of creating Java applications.">Developing Java EE Applications</a></div>
</div>
</div>
</body>
</html>