From:

Bridging the Gap Between Open Source and Commercial Applications

Migrating EJB 2.0 entity beans to Hibernate POJOs is pretty straightforward. Like many applications, all of the data for HQ is stored in the database, and we need to map from the underlying data store to an object-oriented view. In EJB 2.0, you would model that data with entity beans. An entity bean is created and found through the Home interface, and its fields are modified through its Local/Remote interface. These interface classes are automatically generated when we use XDoclet to annotate our entity bean implementations. We define the actual implementations in *EJBImpl classes.

Related Articles

Relatd Projects

ejb3checker

EJB3checker is a static code analyzation suite for the EJB 3.0 technology. It checks the correct combination of annotations and declarations for entity and session beans.
ejbgen
EJBGen 2.0 is an EJB extension module for the SrcGen project. It generates Java and XML source files based on meta-data supplied in the form of an XML document that conforms to a DTD/XML Schema that describes the structure of an Enterprise Java Bean.
wtt
Web interface for database administration based on JavaServer Faces with a generic backend, e.g. Entity Beans.
weatherlib
Weatherlib is a Java library providing weather support for your application. It is able to retrieve weather informations from the net and to rearrange them in a object data structure. All of gathered data is reachable through a Java bean-like interface.
beanbin
BeanBin is a utility for persisting EJB 3.0 Entity beans in JBoss. It works without the need of any xml configuration (except for database connectivity) and it generates all the nessessary JPA-QL. See www.beanbin.org
ejen
Ejen is a general purpose code generation system based on Java/XML/XSLT technologies. It is implemented as an Ant task and features a full EJB (BMP Entity Beans) code generation demonstration for JBoss with HSQLDB, PostgreSQL and MySQL database servers.
ojef
OJEF is a complete J2ee framework based on Jakarta Struts and code generation with XML/XSLT. It generates a lot of classes : Struts ActionForms with full controls, Databeans, Classes which call business layer, Business beans implementations and stoppers.
jbossdruid
This tool will help you to quickly create a JBoss 2.x CMP Entity Bean based on a database table and its columns that you specify. You will need to understand what an Enterprise JavaBean is, and how to connect to your database vendor via JDBC drivers. Once
salamandra
It to be able to apply xsl(s)on the Bean defined in Spring IOP Container,and rendering of content in (a)sync mode,using an ad hoc annotation.The xsl(s)have access to these beans,using the custom namespace.It can be integrated with the Struts or Spring We
wicketwebbeans
Wicket Web Beans is an Apache Wicket (http://wicket.apache.org) toolkit for JavaBeans. AJAX Web forms are automatically generated from bean properties. The toolkit normally does what you'd expect, but when it doesn't, you can override its behavior.