just in weblogic i can do it like this:
Class.forName("weblogic.jdbc.jts.Driver");
Properties properties = new Properties();
properties.put("user","sys");
properties.put("password","sss");
myConnection = DriverManager.getConnection("jdbc:weblogic:jts:ejbPool",properties);
how can i do in JBoss?
Thanks!