This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 30392
    
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on EJB 2.1 Entity