aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes dynamically lookup datasources from stateless sessin bean Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "dynamically lookup datasources from stateless sessin bean" Watch "dynamically lookup datasources from stateless sessin bean" New topic
Author

dynamically lookup datasources from stateless sessin bean

Craig Demyanovich
Ranch Hand

Joined: Sep 25, 2000
Posts: 173
I have a stateless session bean that will use JDBC to extract data from various relational databases. I would like the indication of which datasource to use to be table-driven along with other configuration information, such as the query that defines the extract, about the extract. Thus far, all examples that I've found show that datasources are bound to EJBs in deployment descriptors. Must this binding exist, or can I make the lookup more dynamic as described above.
Thanks for your time,
Craig
 
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.
 
subject: dynamically lookup datasources from stateless sessin bean
 
Similar Threads
Stateful session bean
2 phase commit using EJB
Stateless EJBs
Stateless session Bean look up
Help regarding RemoteClient