File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Sep 17, 2002
Jul 01, 2004 23:55:00
My web application has the following flow from the
Servlet <--> Controller Beans <--> Application Beans <-->
layer <--> DB
I am bundling all components in jar file and deploying it as single web
application. Currently, I am not using any
for any of the above components implementation.
Now I have a clarification. In above flow, can the Datasource JNDI configured in Apache
Server be used by JDBC Layer ? Will this approach work?
Or will I have to acquire Connection object from Datasource at Servlet Layer and pass it all the way down to JDBC Layer through controller beans and application beans?
I agree. Here's the link:
subject: Datasource JNDI
Errored while looking up datasource: PWC4216: Name jdbc is not bound in this Context
How to get the datasource from Bean through deployment descriptor
Not Finding DataSource in JNDI Tree
SCEA Part II - Design Question
Spring Mvc 404 error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015