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 objects storing indatabse....????? 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 "objects storing indatabse....?????" Watch "objects storing indatabse....?????" New topic
Author

objects storing indatabse....?????

Ganesh Gowtham
Ranch Hand

Joined: Mar 30, 2005
Posts: 225

hi my web app....there is need so that i should store entire java bena to my data base let me how to aceive this ....
my dbase is oracle....

Appln server is web logic....

Thx in advanace...
gowtham g r grgowtham_cse@yahoo.com
gowtham@capricornsys-global.com


Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30294
    
150

Gowtham,
The first step is to decide whether you want to store the individual fields separately, or the whole bean as one object. For the individual fields, look into an object/relational mapping framework like Hibernate. For one object, Serialize the bean and store it as a Blob.


[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: objects storing indatabse....?????