Register / Login
Win a copy of
Svelte and Sapper in Action
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
EJB and other Jakarta /Java EE Technologies
how to register resource-ref for all beans globally
posted 15 years ago
With EJBs, each bean has an entry for resource-ref, where we define data source.
If all my beans use the same data source, is there a way I can define it in one place, rather than one for each bean?
An issue related to this is, do I have to have EJBs to be able to look up data source? In other words, in my
apps., how could a plain old
class look up data source defined in DD?
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Thread Boost feature
Boost this thread!
new to EJB
ejb using datasource best practice
JNDI Name format
global parameter for EJBs
How to deploy URLs like default URL provider in websphere