Assume that in *-ds.xml I have:
<jndi-name>ds/SomeDS</jndi-name>
then in my code I would look it up using:
InitialContext ctx = new InitialContext();
| DataSource ds = (DataSource)ctx.lookup("java:ds/SomeDS");
| Connection conn = ds.getConnection();
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994365#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...