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

How do I disallow NULL values in a table?

545


What is the difference between jdbc and odbc?

528


What is the difference between execute, executeQuery, executeUpdate?

527


What is drivermanager in jdbc?

544


Why would you use setautocommit(false) in jdbc?

668






What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

516


Does sql allow null values ?

549


How can we maintain the integrity of a database by using jdbc?

537


What is jdbc connection class?

472


What are the common JDBC problems that you got and how do you solved them?

1965


Can resultset be null in java?

510


Which is better jpa or jdbc?

507


Name the method, which is used to prepare a callablestatement.

510


Which is best database for java?

526


Name the new features added in jdbc 4.0.

550