File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Help on EJB 2.1 Entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help on EJB 2.1 Entity" Watch "Help on EJB 2.1 Entity" New topic
Author

Help on EJB 2.1 Entity

Raemond Lee
Greenhorn

Joined: Mar 17, 2009
Posts: 2
I have to maintain web application which using EJB entity. However, everything when we need to update the data in the database, we need to restart the application server to make the EJB entity bean to recongize the new data. Is it the correct way or there is some other way to do to refresh the data?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30294
    
150

No. Once you close a transaction/start a new one, it should pick up the latest rows in the database.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
jQuery in Action, 2nd edition
 
subject: Help on EJB 2.1 Entity