Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
Java interview part 1
Java interview part 2
Java interview part 3
Java interview part 4
Java interview part 5
Core java
JDBC
JSP
EJB
JNI
Servlets
Struts
Java threading
Java web services
J2EE
J2ME
JMS
Internationalization
JavaScript
RMI
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 
More links
JavaServer Faces 
OpenCms Application Overview 
EJB 3 Entities 
Oracle Web RowSet 
Books on Java
Java EE 5 Development with NetBeans 6 
OpenCms 7 Development 
EJB 3 Developer Guide 
JDBC 4.0 and Oracle JDeveloper for J2EE Development 

EJB CMP and BMP

NEXT>>

What are the different types of driver?

Answer
CMP (Container-managed Persistence)

  • All the logic for synchronizing the bean's state with the database is handled automatically by the container.
  • The bean developer doesn't need to write any data access logic. The EJB server is supposed to take care of all the persistence needs automatically.
  • Vendor tools are used to map the entity fields to the database and absolutely no database access code is written in the bean class.

BMP (Bean-managed Persistence)

  • Enterprise bean manages synchronizing its state with the database as directed by the container.
  • BMP gives the bean developer the flexibility to perform persistence operations that are too complicated for the container or to use a data source that is not supported by the container.
  • The bean uses a database API to read and write its fields to the database, but the container tells it when to do each synchronization operation and manages the transactions for the bean automatically.    
NEXT>>


More Related Links
Define Session Bean?

Answer - Session beans are used to shield the client from the complexity of the business logic......

Explain why is ejbFindByPrimaryKey mandatory.

Answer - Primary Keys are used to uniquely identify objects from a database. The ejbFindByPrimaryKey method.....

Is it possible to invoke Runtime.gc() in an EJB?

Answer - The call will most likely be ignored.......

 

 
Copyright © 2008 CareerRide.com. All rights reserved.