• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data sync in Enityt bean  RSS feed

 
srao
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How does BMP entity bean handle the cached data when the database it is acessing is also used by other applications, like a older client server application?
Thank you
Regards.
Sunil
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"srao",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
Craig Berry
Author
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How a BMP handles it is really up to you because you are the one coding the persistence mechanism. Setting the transaction setting on the bean correctly can help to overcome problems like dirty reads, phantom reads etc.
------------------
Craig Berry
Author of Professional EJB
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!