Appendix B Repository Properties Reference
EJB components and Web applications allow you to define EJB local references that specify aliased JNDI names used in code to look up EJB components that support local invocations. These aliases allow the code to run on servers where the referenced components use a different JNDI name.
EJB local references have the form:
(description=desc,ejb-link=,jaguar-link=jndi-name, local-home=local-home,ejb-ref-type=type, ejb-ref-name=alias,local=local)
Where:
ejb/
.
For example, if your code refers to java:comp/env/ejb/AcctBean,
enter ejb/AcctBean
.
Use an EJB local reference property to invoke local beans through their local interfaces. Use an EJB reference property to invoke beans (local or remote) through their remote interfaces.
EJB reference properties,
com.sybase.jaguar.component.ejb-local-ref,
com.sybase.jaguar.webapplication.ejb-local-ref
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |