[JBoss-user] [EJB 3.0] - Re: EJB3.0 Standalone client

2006-04-30 Thread alesj
Simple as coding to interfaces. | public class TestEJB { | | public static void main(String[] args) { | TestHelloBean thb = (TestHelloBean) findJndi(gema/TestHelloBeanImpl/remote); | if (thb != null) | System.out.println(thb = + thb.sayHello(Ales));

[JBoss-user] [EJB 3.0] - Re: EJB3.0 Standalone client

2006-04-30 Thread manishATjboss
thanks for the suggestion. I'm still not entirely clear: My interface is: | @Remote | public interface Get { | public int get(int key); | } | My bean is: @Stateless | public class GetBean implements Get { | | public int get(int key) { | return 42+key; |

[JBoss-user] [EJB 3.0] - Re: EJB3.0 Standalone client

2006-04-30 Thread leonell
manishATjboss wrote : thanks for the suggestion. I'm still not entirely clear: | | My interface is: | | | @Remote | | public interface Get { | | public int get(int key); | | } | | | | My bean is: | @Stateless | | public class GetBean implements Get {

[JBoss-user] [EJB 3.0] - Re: EJB3.0 Standalone client

2006-04-30 Thread manishATjboss
thanks. works just right View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940404#3940404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940404 --- Using Tomcat but need to