Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
EJB
Next »
What is returned by the method ejbCreate() CMP bean?
Options
- null
- Primary Key class
- Home Object
- Remote Object
CORRECT ANSWER : null
Discussion Board
Return method CMP
The return method for ejbCreate() CMP bean is null as CMP stands for Container-managed persistence which is an EJB container to manage the data by saving it to a designated resource, which is normally a database. The data must be defined in the container so that it can be managed within the deployment descriptors. The container in this case manages the data by saving it to the database and performing operations accordingly.
CMP fields are usually mapped in the orion-ejb-jar.xml which is almost done in the same manner as "Primary Key". Have a complex primary key usually contains more than a single field.
Rohit Sharma 08-20-2014 10:24 PM
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
Java Beginner (11)
Java (39)
Java (40)
Java (22)
Java (30)
Java (25)
Java (20)
Java (20)
Core Java (20)
Core Java (10)
Core Java (72)
EJB (20)
JDBC (20)
Applet (20)
Struts (21)
Servlets (20)
Java Web Services (20)
Javascript (40)
J2EE (10)
jQuery (46)
Advertisement
▲