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

Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?

770


There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?

798


What is sqlwarning?

725


List some new features available in jdbc 4.0?

639


How can I retrieve a String or other object type without creating a new object each time?

856


What is the full form of jdbc and what is its purpose?

705


What are the components of jdbc?

735


What are the different types of drivers under jdbc?

618


Is there another way of dealing with the result set that could execute faster?

729


What is connection pooling and why it is used?

683


What protocol does jdbc use?

703


What is database deadlock ? How can we avoid them?

683


What is preparedstatement in jdbc?

680


Explain about column name and getter method?

768


What is the different between ResultSet and RowSet?

703