Hi i have just started out with orion, i can't figure out how to access bean
from a client. i've followed the Hello-Planet primer and made some changes
to the bean, repackaged the .ear and redeployed.  Now every thing works fine
when access the bean from a servlet that is packaged in the .ear file.
My question is how do you access a bean, from a client not packaged in the
.ear file?

Im getting an NamingException usally saying :
java:comp/env namespace is only available from within a J2EE component
sometimes saying :
javax.naming.NamingException: Error reading application-client descriptor:
No location specified and no suitable instance of the type 'hello.ejb.Hello'
found for the ejb-ref HelloPlanet

I do have the application-client.xml file, and if i change details in it i
see change in message from the second exception type.  so it must be reading
the .xml file to see the change.

What do i need to do?
Could you include code examples please.
I appreciate any help you can give!
Thanks, Harley Rana.

HelloClient.java

hello-planet.ear

Reply via email to