Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Servlet vs POJO
01-24-2008, 01:20 AM #1
- Join Date
- Apr 2007
- Thanked 0 Times in 0 Posts
Servlet vs POJO
If a Servlet class requires information from a database, then the servlet container provides JDBC access to the class.
Now if a non-servlet class (POJO) requires information from a database, "who" will provide JDBC access to the class?
01-25-2008, 05:55 AM #2
if the pojo is still on the appserver u can use jndi to access the datasource....You never have to change anything you got up in the middle of the night to write. -- Saul Bellow