File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "objects storing indatabse....?????" Watch "objects storing indatabse....?????" New topic

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

Thanks, Ganesh Gowtham
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32818

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
subject: objects storing indatabse....?????
It's not a secret anymore!