Basic HTML version of Foils prepared July 6 99

Foil 74 Resource Factory Reference

From Object Web Computing Technologies CPS714 Computational Science Information Track -- June 16 99. by H. Timucin Ozdemir


Resource factories represents the resources used by the bean such as JDBC.
A bean obtain the reference to these factories by using resource factory references in the deployment descriptor and looking up the environment variable from the JNDI entries during the runtime.
Resource factory references defined with resource-ref tag. resource-ref tag contains
  • (optional) description element
  • res-ref-name: gives the name of the environment variable
  • res-ref-type: Java type of the resource factory
  • res-auth: describes the authorization process. If Bean is used, then the bean implementation is responsible for providing authorization values. If Container is used, then the container uses the principal mapping supplied by the deployment tool.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Jul 6 1999