On Thu, Mar 08, 2001 at 03:19:26AM +0100, Pär Fornland wrote:
> This is getting weird.  Two sources tell me to use HelloHome,  one source to
> use HelloBean(!?),  and now one source that tell me to use Hello.  Is there
> any logic at all behind this?  Isn't the point to first get the HOME object
> which is a factory of the remote objects that point to my actual beans?
> 
> I'm scanning for pentagrams here,  'cause something's really wrong. :)

It's simple. You look up the name under which the home interface is bound.

If you don't specify the name in jboss.xml (<jndi-name>) then you get the
name of the bean (<ejb-name>) by default. So, if you specify

  <jndi-name>parfo.Hello</jndi-name>

then you look up the home interface using the name "parfo.Hello". If you
want to use the name "parfo.HelloHome", then specify that as the jndi-name.

Toby.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to