Is it valid to access a local interface across a JAR boundary? I realize that the local bean and client must be co-located in the same JVM. I think the only way to *ensure* this is to keep them in the same JAR, as the ejb-jar file is a "non-decomposable" unit of deployment, and will be guaranteed to be in the same container (hence, the same JVM).
I believe this is why relationships are restricted to within an EJB Jar - they must use local interfaces, and allowing them to cross JAR boundaries might lead to trouble. OTOH, the spec allows the <ejb-link> tag to reference beans in other ejb-jars, and it doesn't say "only do this with remote targets". Anyone know the answer (and *please* don't respond with "It works in <Brand X Server><Version x.xx>")? ------------------- Kenneth DeLong Senior Consultant Direct: 510-517-5839 Fax: 972.789.1340 Valtech Technologies, Inc. 5080 Spectrum Drive Suite 1010 West Addison, Texas 75001 www.valtech.com <http://www.valtech.com> transforming technology skills into sustainable business value =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
