[jboss-user] [Beginners Corner] - Re: First application in EJB 3.0 and JBoss 4.0.5GA

jaikiran do-not-reply at jboss.com
Sat Oct 28 08:46:20 EDT 2006


import org.jboss.annotation.ejb.LocalBinding;
  | import javax.ejb.*;
  | 
  | @Stateless
  | public class StatelessTekst1 implements tekst1
  | {
  |         public String podajTekst(int numer)
  |         {
  |                 if(numer==1)
  |                         return "Hej, udalo sie!";
  |         }
  | }	 

On second thoughts, i dont see the need of the following import statement in your code:

import org.jboss.annotation.ejb.LocalBinding;

Remove this import statement and your code should compile fine.


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

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



More information about the jboss-user mailing list