Question :Is there any default cache management system with Entity beans ? In
other words whether a cache of the data in database will be maintained in
EJB ? (EJB)
Answer :Caching data from a database inside the Application Server are what
Entity EJB's are used for.The ejbLoad() and ejbStore() methods are used
to synchronize the Entity Bean state with the persistent storage(database).
Transactions also play an important role in this scenario. If data is
removed from the database, via an external application - your Entity Bean
can still be "alive" the EJB container. When the transaction commits,
ejbStore() is called and the row will not be found, and the transcation
rolled back.
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
Is there any default cache management system with Entity beans ? In
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment