hi In weblogic i have done the connection pool set up, from which part of my code i have to use this connection pool. in EJB code or servlet code. do we need use this connection pool in our class to connect to database or how to use pl. help me
First of all you shouldn't be directly using a WebLogic Connection Pool, this is not portable across J2EE Servers. You should create and use a Datasource or TxDatasource which is backed by your WebLogic Connection Pool. As to where you would use the Datasource... if you have determined that your application needs EJB (most do not) then the EJB Layer is where you would be looking up and using your Datasource.
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
posted
0
One more thing, if you are using CMP Beans then they require the use of a Datasource which will then be managed by the Container. Therefore, in the case of CMP you will never be explicitly accessing the Datasource.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.