Technical Article: Oracle Magazine Java Developer of the Year Adam Bien on Java EE 6 Simplicity by Design
Posted
by janice.heiss(at)oracle.com
on Oracle Blogs
See other posts from Oracle Blogs
or by janice.heiss(at)oracle.com
Published on Fri, 07 Jan 2011 00:49:18 +0000
Indexed on
2011/01/07
1:57 UTC
Read the original article
Hit count: 935
Adam Bien
|Bean Validation Model
|cdi
|Contexts and Dependency Injection
|EJB 3.1
|Enterprise JavaBeans 3.1
|JPA 2.0
|JSF 2.0
|Java EE
|Java EE 6
|Java EE 6 APIs
|Java Persistence API 2.0
|JavaServer Faces 2.0
|oracle magazine
From the article:
"Java EE 6 consists of a set of independent APIs released together under the Java EE name. Although these APIs are independent, they fit together surprisingly well. For a given application, you could use only JavaServer Faces (JSF) 2.0, you could use Enterprise JavaBeans (EJB) 3.1 for transactional services, or you could use Contexts and Dependency Injection (CDI) with Java Persistence API (JPA) 2.0 and the Bean Validation model to implement transactions."
"With a pragmatic mix of available Java EE 6 APIs, you can entirely eliminate the need to implement infrastructure services such as transactions, threading, throttling, or monitoring in your application. The real challenge is in selecting the right subset of APIs that minimizes overhead and complexity while making sure you don't have to reinvent the wheel with custom code. As a general rule, you should strive to use existing Java SE and Java EE services before expanding your search to find alternatives."
Read the entire article here.
© Oracle Blogs or respective owner