<g>  that's because they all work!  afaik, the ejb-name corresponds back to
the ejb-name in your ejb-jar.xml descriptor for the ejb jar.  the name you
use there is of your own choosing.  i usually use the name of my ejb, in
keeping with the spirit of the parameter! :)  that said, i recommend that
you check ejbdoclet ( http://sourceforge.net/projects/ejbdoclet ).  it's
done wonders for simplifying my projects in lieu of togethersoft... hth...



----- Original Message -----
From: "Pär Fornland" <[EMAIL PROTECTED]>
To: "'JBoss-User'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 6:19 PM
Subject: SV: [jBoss-User] ouch, newbie trouble


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. :)

______________________________________s_p_r_a_y_
Dr. Pär Fornland

> -----Ursprungligt meddelande-----
> Från: Toby Allsopp [mailto:[EMAIL PROTECTED]]
> Skickat: den 8 mars 2001 01:56
> Till: JBoss-User
> Ämne: Re: [jBoss-User] ouch, newbie trouble
>
>
> Also, in addition to this, look up "parfo.Hello", not
> "parfo.HelloHome".
>
> Toby.
>
> On Thu, Mar 08, 2001 at 11:56:54AM +1000, William Keller wrote:
> > You could try adding a jboss.xml file to look like:
> >
> > <?xml version="1.0" encoding="Cp1252"?>
> >
> > <jboss>
> >
> > <session>
> >
> > <ejb-name>parfo.Hello</ejb-name>
> >
> > <jndi-name>parfo.Hello</jndi-name>
> >
> > </session>
> >
> > </jboss>
> >
> >
> > Note: The jndi-name tag is used to set the jndi name for
> that bean (which is
> > described in teh ejb-jar.xml). It is this name you use to
> call in the
> > client. This file must be packaged up in the same directory
> (META-INF) as
> > the ejb-jar.xml. Give it a go!
> >
> > ----- Original Message -----
> > From: "Pär Fornland" <[EMAIL PROTECTED]>
> > To: "'JBoss-User'" <[EMAIL PROTECTED]>
> > Sent: Thursday, March 08, 2001 10:20 AM
> > Subject: [jBoss-User] ouch, newbie trouble
> >
> >
> [snip]
> > Then when I run my client,  I get this error:
> > ++++++++++++++++++
> > javax.naming.NameNotFoundException: parfo.HelloHome not bound
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
>
>


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



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

Reply via email to