David Harrigan wrote:
> HI Cheng
>
> Thanks for the update, but I would say that the sentence is
> misleading. The class name, in the usual-day-to-day-sense is just the
> class name without the package declaration. If the sentence would say
>
> The JNDI name for the Remote Stateless Session bean will default to
> the fully qualified class name of its Remote business interface :
> e.g., ejb30.Sless
>
> Then that would be more helpful. But better still would be the
> inclusion of the package declaration in the html pages :D
Hi David,
Thanks for catching this. I agree that the sentence must be reworded.
The sample page will be updated shortly.
--Mahesh
>
> Thanks for getting back however.
>
> -=david=-
>
> On 6/23/06, Cheng Fang <Cheng.Fang_at_sun.com> wrote:
>
>> A few lines down on the same page, you will see this sentense, which
>> explains why this name is used:
>>
>> /The JNDI name for the Remote Stateless Session bean will default to the
>> class name of its Remote business interface : *ejb30.Sless*./
>>
>> Note this style is for lookup in standalone java client only. I agree
>> adding package line will make the code more complete and clear.
>>
>> Thanks for the feedback.
>>
>> Cheng
>>
>>
>> David Harrigan wrote:
>>
>> > Hi,
>> >
>> > It's not apparent (and caused me to scratch my head and download the
>> > source code to understand), that on the page at this url:
>> >
>> > https://glassfish.dev.java.net/javaee5/ejb/examples/Sless.html
>> >
>> > in the code section where we obtain a reference to the sless remote
>> > object
>> >
>> > Sless sless = (Sless) ic.lookup("ejb30.Sless");
>> >
>> > the "ejb30" is the actual package name of the class! In the code
>> > examples, the package name has been left out accidently (I suppose).
>> > Downloading the source code and looking at the SlessJavaClient.java
>> > file cleared up the matter (since the package is defined there.)
>> >
>> > I wonder if someone could confirm this and if possible someone could
>> > amend the webpage?
>> >
>> > -=david=-
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
>> > For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ejb-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: ejb-help_at_glassfish.dev.java.net
>