This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes XML or Stateful bean as a data dump Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "XML or Stateful bean as a data dump " Watch "XML or Stateful bean as a data dump " New topic
Author

XML or Stateful bean as a data dump

Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687

i would like suggestions regarding the following scenario i am facing.
I am picking up some master data from the database layer during server startup and i need to store them for future use.
now the question before me is should i keep this data in a xml file or should i keep them in a stateful bean(having the application as a whole as its client).
i am tending towards xml cos of the it's less resource necessities but am wary that it needs to be processed each time i need to pick up data while the bean would be able to provide me with the same in form of dvo's....
pls guide and suggest any alternatives if i am going wrong somewhere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML or Stateful bean as a data dump