Register / Login
Win a copy of
Clojure in Action
this week in the
EJB and other Java EE Technologies
how to register resource-ref for all beans globally
posted 11 years ago
, 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
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?
I agree. Here's the link:
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