On Thu, 5 Apr 2001, Christophe Thiébaud wrote:
> Hi
>
> my problem is : how to make GenericDataSource visible to JNDI ?
>
You have to rely on container-specific configuration to make this
happen. For example, in Tomcat 4.0 you can configure an appropriate
resource in the conf/server.xml file. If you do this, you would rely on
the container to configure the details of the data source, rather than
doing it in struts-config.xml.
> I need to interface a CachedRowSet object - BTW, is there anybody out here using
> Sun's CachedRowSet ? - with struts's GenericDataSource in a struts-based
> application. CachedRowsSet can connect to a DataSource object using JNDI., but
> .. how to make GenericDataSource visible to JNDI ?
>
> (Furthermore, If several person share the same need, it might be a good idea to
> include JNDI directly within GenericDataSource object.)
>
> Or, is there a better alternative to GenericDataSource to integrate
> connection pooling in a struts based application ?
>
> Christophe
>
Craig