Re: [JBoss-user] How to Lookup a bean from another bean (separate jars)?

2001-03-27 Thread Russell

Hi alex ,

  From accessing ejb bean from separate jar,you did not need to specify
the ejblink tag.Maybe that is u problems.
  Specify ejb-link for accessing ejb bean in the same jar.

  I test to accessing ejb bean in separate jar using jboss without any
problems.Furthermore in jboss , is very simple than
  other ejb container.

  Hope that help. wt
 

alex zhanov wrote:
> 
> Hello,
> I tried to follow instructions from jboss manual with no apparent success.
> One bean(A) points to and uses another bean(B), what is suppose to go into bean(A) 
>under 
> to make it to work at least deployed on the same machine? As in my case, the lookup 
>always throws
> exception.
> 
> Thanks,
> Alex
> 
> Bean A ejb-jar.xml
> ...
> 
> ejb/beanB
> Session
> com.path.BeanBHome
> com.path.BeanB
> 
> ...
> 
> jboss.xml
> ...
> 
> ejb/beanB
> jndi://localhost:1099/beanB
> 
> 
> --
> alex zhanov
> [EMAIL PROTECTED] - email
> 
> __
> FREE voicemail, email, and fax...all in one place.
> Sign Up Now! http://www.onebox.com
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] How to Lookup a bean from another bean (separate jars)?

2001-03-27 Thread alex zhanov

Hello,
I tried to follow instructions from jboss manual with no apparent success.
One bean(A) points to and uses another bean(B), what is suppose to go into bean(A) 
under 
to make it to work at least deployed on the same machine? As in my case, the lookup 
always throws
exception.

Thanks,
Alex

Bean A ejb-jar.xml
...

ejb/beanB
Session
com.path.BeanBHome
com.path.BeanB

...

jboss.xml
...
 
ejb/beanB 
jndi://localhost:1099/beanB 
  



-- 
alex zhanov
[EMAIL PROTECTED] - email




__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user