aspose file tools
The moose likes Servlets and the fly likes important! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "important!" Watch "important!" New topic
Author

important!

Jimi Rock
Ranch Hand

Joined: Feb 19, 2001
Posts: 134
Hi all,
I need to know if I need to use JDBC if I have a jsp page that uses beans. if not, this means that beans can handle data base connection?
Thanks,
Jimi.
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
In general, if you are using beans in your JSP, then the beans should do all the behind-the-scenes stuff. And this includes database access. So the beans (or whatever creates them) should be coded up to use JDBC, and the JSP just asks the beans for values.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: important!
 
Similar Threads
session bean container
JavaBean Problem
Most Dangerous Food
can I ommit the ServiceLocator from the component diagram?
getting-> 500 Internal Server Error