[jboss-user] [JNDI/Naming/Network] - Re: Extremely basic JNDI question
dbronk
do-not-reply at jboss.com
Thu Aug 9 12:20:30 EDT 2007
Sorry, I guess some of the xml got removed... here it is again but with some spaces so it does not get removed.
This is the tomcat, easy, setup...
< Context path="/myApp" ... >
< !-- Datasource -->
< Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource" / >
.... all the normal datasource params ...
< !-- My Bean -->
< Resource name="rps/RPSClient"
auth="Container"
type="com.myco.rps.RPSClient"
factory="org.apache.naming.factory.BeanFactory"
location="localhost" / >
< / Context>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072620#4072620
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072620
More information about the jboss-user
mailing list