ejb@glassfish.java.net

Clarification on SLESS example on web. Example slightly misleading.

From: David Harrigan <dharrigan_at_gmail.com>
Date: Fri, 23 Jun 2006 11:47:12 +0100

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