Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamically lookup datasources from stateless sessin bean  RSS feed

Craig Demyanovich
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!