You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Slide Tao <ta...@hotmail.com> on 2004/04/09 12:10:17 UTC
what is J2EE store??
hi,
I have used JDBC Store and File Store, but don't know what is J2EE store. I
have read the J2EEStore how-too, and still have no idea of J2EEStore. Who
can tell what it is???
and if I want to use J2EEStore, do I need set web.xml and server.xml as
following?? Any reply would be appreciated.
web.xml
<resource-ref>
<description>Testing Tomcat-wide datasource usage</description>
<res-ref-name>jdbc/mtx</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
server.xml
<DefaultContext debug="99">
<Resource name="jdbc/mtx" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/mtx">
<parameter>
<name>user</name>
<value>bar</value>
</parameter>
<parameter>
<name>password</name>
<value>foo</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>org.hsqldb.jdbcDriver</value>
</parameter>
<parameter>
<name>driverName</name>
<value>jdbc:hsqldb:slide</value>
</parameter>
</ResourceParams>
</DefaultContext>
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org