Give me some example for getting connection from connection
pooling in JBoss Server. Is Connection Pool default in
Server or we have to create it? Who can create Connection
Pool in a Team. How it will be accessed by the developer
code?

Answer Posted / ravi jian

In EJB3.0

we get Connection from server through

@Resource
Connection con;

Please check packages of both i m not sure right now abt
packages....

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does adapter class provide?

523


Explain about Join?

591


What are the utilities of the callablestatement?

514


What do you mean by batch processing in jdbc?

524


What is connection pooling and why it is used?

524






What is meant by jdbc?

520


What is jdbc and odbc in java?

491


If I use the JDBC API, do I have to use ODBC underneath?

602


How you restrict a user to cut and paste from the html page using java programing?

477


What is the most common example type 1 driver?

594


Is jdbc an api?

504


Give an example for getXXX method?

555


Which type of JDBC driver is the fastest one?

569


What is the different between ResultSet and RowSet?

539


If you are truncated using JDBC, how can you that how much data is truncated?

580