[jboss-user] [EJB 3.0] - Re: Deploying a simple HelloWorld EJB3 under JBoss

shupingChen do-not-reply at jboss.com
Wed Apr 4 22:30:33 EDT 2007


I copy my EJB jar to the server\default\deploy directory directly, and there is no ejb-jar.xml in the jar. The client code: 
   Context ctx = new InitialContext(System.getProperties());
		Hello hello = (Hello) ctx.lookup(Hello.class.getName());
		System.out.println(hello.hello());
   Must I change my client code?

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034844



More information about the jboss-user mailing list