permaculture playing cards*
The moose likes JDBC and the fly likes data connection model 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 » Databases » JDBC
Bookmark "data connection model" Watch "data connection model" New topic
Author

data connection model

Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
hi:
Does any one know where I can find a good model for database access through a web application?


SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

There's probably as many models as there are programmers. At the enterprise-scale level you have Enterprise Java Beans. At a less complex/smaller scale level there's object-relational mapping tools like Hibernate which sit between your application and the database and handle the nasty work of persistence. It is also common to "roll your own" Data Access Objects to create a persistence layer between your application and the database. Then the simplest/least scalable level would be to have your jsp's or servlets directly access the database using JDBC. There's no substute for reading a lot and writing a lot of code when learning about web apps. I found the Oreilly Java Servlets and Java Server Pages books invaluable when starting out.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
Thanks Joe:
I realy appreciate your help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: data connection model
 
Similar Threads
Domain object model
WA #1.....word association
In which package should be a Listener
' V model'
Suggestions for displaying files from database