This content has been marked as final.
Show 4 replies
-
1. Re: JBoss 7.1 Local interface and remote client works. But How?
jaikiran Feb 28, 2012 5:21 AM (in response to macpraveen)It should not have been allowed. Probably a bug. What does your client and server side code look like?
-
2. Re: JBoss 7.1 Local interface and remote client works. But How?
macpraveen Feb 28, 2012 5:35 AM (in response to jaikiran)Here are the interface and bean codes.
@Local
public interface HelloWorld {
String sayHello();
}
@Stateless
public class HelloWorldBean implements HelloWorld {
public HelloWorldBean() {
}
public String sayHello() {
return "Hello World !!!";
}
}
For creating the client, I followed your article on ejb remote client invocation. The code is working for both @Local and @Remote.
Thanks
Praveen
-
3. Re: JBoss 7.1 Local interface and remote client works. But How?
jaikiran Feb 28, 2012 5:54 AM (in response to macpraveen)Please create a JIRA for this. I see a TODO in the code for this check.
-
4. Re: JBoss 7.1 Local interface and remote client works. But How?
macpraveen Feb 28, 2012 6:33 AM (in response to jaikiran)