[jboss-user] [EJB 3.0] - Re: Problem with @PostConstruct annotation

gugawag do-not-reply at jboss.com
Thu Aug 24 15:37:56 EDT 2006


Hello all.

  I have solved the problem. In the embedded, the implemented version of EJB 3.0 is the RC6, and the JBoss AS implemented version RC7. One of the diferences between these two implementations is the package of @PostConstruct annotation. In the  embedded, the code is:

   import javax.ejb.PostConstruct;

   ...

  In the JBoss AS, the code is: 

   import javax.annotation.PostConstruct;

   ...

  []s,

    Gustavo Wagner

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

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



More information about the jboss-user mailing list