Thank you for your answers, but I still have the same problems.

@jaikiran:
When I do like you've posted, I get the following exception:

javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial


@ALRubinger
I tried also your suggestion, but I still get the same exception.
My code looks as following now:

@Stateless
@Local(org.community.ejb.business.local.UserManager.class)
@Remote(org.community.ejb.business.remote.UserManager.class)
public class UserManagerBean implements 
org.community.ejb.business.local.UserManager, 
org.community.ejb.business.remote.UserManager {
...
}

@local
public interface UserManager {
...
}

@remote
public interface UserManager {
...
}

Local and remote interfaces are in different packages.

Do you have any more ideas how I can call my bean remote?

Best regards,
Strunker

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011549#4011549

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011549
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to