This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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.
 
Consider Paul's rocket mass heater.
 
subject: XML or Stateful bean as a data dump
 
Similar Threads
HFB - Organize your beans
How to maintain session info between a servlet and a session bean
SCEA part 2 - class diagrams and carts
General Questions on EJB
Urgent: Howz stateful diff frm entity beans