my dog learned polymorphism
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

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: 33130

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
I agree. Here's the link:
subject: objects storing indatabse....?????
jQuery in Action, 3rd edition