2 Replies Latest reply on Aug 4, 2005 6:08 AM by ryoung2504

    Migration woes

    ryoung2504

      I'm just migrating some code from Preview 5 to Beta.

      Previously I had a service bean (annotated with @Service) that I could inject into a stateless bean (annotated with @Stateless) using the @Inject annotation.

      However now the @Inject annotation has gone I cant seem to be able to inject the service bean anymore. I've tried @EJB, @Depends and @Resource but none seem to work. What is the new way to inject a service? Is it still possible?