2) Configure container
3) Configure EJB application that uses db connections from pool area.
1) Search for a property called
Weblogic JDBC Connection Pool Management
2) Container config
open weblogic-ejb-jar.xml
jdbc/demoPool
open ejb-jar.xml
----------------------
3) EJB
---------
Context ctxt=new InitialContext();
Object o=ctxt.lookup("jdbc/demoPool");
javax.sql.DataSource ds=(javax.sql.DataSource)o;
con=ds.getConnection();
stmt=con.createStatement();
1 comment:
I have to appreciate you for your great work which you had done in your blog.i want you to add more like this.
JAVA Training in Chennai
JAVA Training in Tambaram
IOS Training in Chennai
Big data training in chennai
Python Training in Chennai
Selenium Training in Chennai
JAVA training in Annanagar
Java courses in chennai anna nagar
Post a Comment