A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
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
, 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?
It is sorta covered in the
JavaRanch Style Guide
subject: how to register resource-ref for all beans globally
global parameter for EJBs
ejb using datasource best practice
How to deploy URLs like default URL provider in websphere
new to EJB
JNDI Name format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014