Solved

persistence meaning in the entity bean?

Posted on 2004-08-07
5
422 Views
Last Modified: 2013-12-10


what is persistence meaning in the entity bean?

i have the following:the process of coordinating the data represented by a bean instance with the DB is called the
persistence.
0
Comment
Question by:she1
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
damonf earned 50 total points
ID: 11756852
that is correct ... when the EJB "persists" something, it is storing it back to the Database.
0
 

Author Comment

by:she1
ID: 11798665
how about the other way around, it call persists too?

i mean load the data to the bean?
0
 
LVL 7

Expert Comment

by:damonf
ID: 11820015
Yeah.  Actually, it's all one step.  ejbLoad() and ejbStore() are the persistence methods.  They are always called together.  That step of making sure the bean is in line with the datasource is called persistence.
0
 

Author Comment

by:she1
ID: 11841465
what do you mean "is in line with "?
synchronos?
0
 
LVL 7

Expert Comment

by:damonf
ID: 11841722
Yes.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IIS 7.0 Issues - sites not available after server 2008 r2 reboot 13 127
tomat 8 server option not available in eclipse 8 110
error when deploying 23 694
starOut java challenge 95 182
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now