I have been helping a user duplicate the results of my Appclient calling and Stateles EJB 3.0 example
. The user was seeing the Java Console open and then close right back up...
I read the user's code a couple times, to no avail...
It just did not work.
We kept getting this message in the log:
Applying default to ejb reference: Unresolved Ejb-Ref client.Main/bean@jndi: beans.DistantGreeting@null@beans.DistantGreeting@Session@null
The Root Cause
The user had implemented the method defined in the DistantGreeting interface but did not "implement DistantGreeting". So, I am joining Cay Horstmann
to call for better error messages and diagnotic tools. I have filed a couple issues against GlassFish (issue 208
). Now, I am headed over to NetBeans.org to file a couple issues there...