what about the case where the util jar does use ejbs? for now, i use a look
up with the jndi name of the bean. i would like to decouple the lookup
string from the bean jndi name and let a descriptor match the lookup string
to the bean(like in application clients). is there a way to do such a thing?
i didnt see anything in the spec.

-----Original Message-----
From: Johan Eltes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 8:23 PM
To: Katz, Guy; [EMAIL PROTECTED]
Subject: RE: ejb to util to ejb


The EJB refs (assuming java:comp/env-lookups) needed by util jar must be
specified/resolved in every j2ee module that depends on util.jar. An
application client is a main class started in the context of a "j2ee client
container", which is one kind of j2ee module that may depend on util.jar. If
util.jar does not use java:comp/env-lookups, it also does not depend on any
deployment descriptors.

/Johan

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Katz, Guy
Sent: den 26 december 2001 15:49
To: [EMAIL PROTECTED]
Subject: ejb to util to ejb

hi all;
i have a been calling a util class which is packaged in a Util.jar.
the ejb-jar's manifest has the Class-Path included the Util.jar
my bean is deployed and is able to call a class inside the Util.jar

now, i need to call another ejb from a the util class(which is inside the
Util.jar).
how should i do it? is there a standard way to do this?
i only saw in the spec how to access util jars from ejbs and not the other
way.
should i depoloy the util class as an application client???
please give advice.

__________________
Guy Katz
Comverse
[EMAIL PROTECTED]
+972 3 7663686

===========================================================================
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".

===========================================================================
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".

Reply via email to