This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
internet detective

Joined: May 26, 2003
Posts: 30057

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:
subject: objects storing indatabse....?????
Similar Threads
how to so the error in textarea
struts - forward to external webapps
Passed Scjp1.4 with 90%
Overload Resolution.How it works