Tech Tutorials Database
GeekArticles Java J2EE
 

J2EE Design Patterns: CMP-to-BMP Pattern

 
Author: oreillynet.com
Category: J2EE
Comments (0)

by Dion Almaer 04/10/2002 EJB 2.0 finally gives us a Container-Managed Persistence (CMP) model to work with. Whenever possible, I like to use CMP beans in my EJB projects; however, for the odd thing, I need to change my entity to be bean-managed. I use the following pattern to allow me to go from a CMP model to a Bean-Managed Persistence (BMP) model in a clean way. In this article, we will discuss: CMP 2.0: What has changed? The Inventory EJB application. Developing a CMP bean....n

Read More...




Sponsored Links




Read Next: .NET and J2EE Battle for the Enterprise



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe