JBoss EJB3

来自开放百科 - 灰狐
跳转到: 导航, 搜索

Enterprise Java Beans (EJB) 3.0 is a deep overhaul and simplification of the EJB specification. EJB 3.0's goals are to simplify development, facilitate test driven development, and focus more on writing plain old java objects (POJOs) rather than on complex EJB APIs. EJB 3.0 has fully embraced Java Annotations introduced in JDK 5.0 and also simplifies the API for CMP entity beans by using Hibernate as the EJB 3.0 Java Persistence engine.

新闻

自http://planet.jboss.org/xml/carlo?type=atom加载RSS失败或RSS源被墙

Key Features

  • Simplified EJB API
  • Java Annotations
  • Dependency Injection

By introducing the @Inject, @EJB, and @Resource annotations, these dependencies are now injected transparently by the container into your simple Java Beans.

  • Optional Callbacks

By using such callback annotations as @PostConstruct, @PreDestroy, @PrePersist, or @PostPersist, developers can map any Java Bean or callback class method to be a callback that receives event notifications.

  • Entity Manager API

Both JBoss Application Server and Hibernate support this new API.

  • Simplified Persistence and Improved Queries
  • Usable outside of the container!

Link3

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱