Connection Pooling with different type of databases?



Connection Pooling with different type of databases?..

Answer / pradeep

u can configure the connection pooling in program..



Javax.naming.IntialContext ic=new
javax.naming.IntitialContext();
javax.sql.Datasource ds=ic.lookup("jndi name");
Connection con=ds.getConnection();

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Advanced Java Interview Questions

If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?

8 Answers   HeadStrong,


Which are the different segments of memory?

0 Answers  


what is a Daemon Thread?

2 Answers  


What method is used to create the daemon thread?

1 Answers  


What are the JSP implicit objects ?

1 Answers   eMids,


What is the difference between RMI and Socket?

2 Answers  


In a multitiered application which tier is the browser in?

10 Answers   Adobe,


How to implement RMI in Java?

0 Answers   TCS,


What is there in browser that it supports web based applications of java or any other PL?

2 Answers  


What are the advanatages of RMI ?

1 Answers   HGS,


What class is used to create Server side object ?

0 Answers  


What are the benefits of detached objects?

0 Answers  


Categories