This content has been marked as final.
Show 2 replies
-
1. Re: EJB 3 Trailblazer problem
mculpepper Nov 2, 2005 2:27 PM (in response to alvarommz)You need to make sure you're looking up the remote interface of your Bean, and not the Bean implementation itself. I don't know if this is the case since I can't see any of your code, but usually it looks something like..
@Remote public interface MySession { //.. } public class MySessionBean implements MySession { //.. } ... MySession session = (MySession) context.lookup(MySession.class.getName());
If you are using it this way I would double-check your packaging. If you continue having problems, please feel free to post further problems w/ EJB3 to the user forums here:
http://jboss.com/index.html?module=bb&op=viewforum&f=221 -
2. Re: EJB 3 Trailblazer problem
alvarommz Nov 2, 2005 5:32 PM (in response to alvarommz)Mr. marshall
The example exactly resembles my stateless bean code, but changing MySession to OCities.
As you have suggested, I´ve posted a more complete definition of the problem to the EJB3 users forum under the heading "Problems on EJB3 - Application".
I have to ask you for suggestions about it because this application is a real world application that I am developing for Movile Phones distributor.
Thanks again for your help.
Alvaro Martinez
alvaromm@yahoo.com