aspose file tools
The moose likes JDBC and the fly likes data connection model Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 8260

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: data connection model
 
Similar Threads
Suggestions for displaying files from database
Domain object model
WA #1.....word association
' V model'
In which package should be a Listener