A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
how to register resource-ref for all beans globally
Joined: Sep 02, 2003
Jan 06, 2005 07:50:00
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?
I agree. Here's the link:
subject: how to register resource-ref for all beans globally
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014