Hi 
I am porting my application from weblogic to jboss4.0.2 
I our code ejb reads the connection pool properties code is below  

weblogic.jdbc.common.JdbcServices jdbc =                
(weblogic.jdbc.common.JdbcServices)ctx.lookup("weblogic.jdbc.JdbcServices");

                Properties p = 
jdbc.getPool("ConnectionPoolName").getProperties();

                StringTokenizer token = new 
StringTokenizer(p.getProperty("props"),"=;");
                token.nextToken();
                String user = token.nextToken();
                token.nextToken();
                String password = token.nextToken();

                emLog("user : " + user + " password : " + password + " url : " 
+ p.getProperty("url") + "driver" + p.getProperty("driver"));

               Can  i do the same thing in jboss AS 4.0.2 do we have api for 
that .


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029408#4029408

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029408
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to