Yes, it's a bit tricky in AS-5. See this previous discussion http://community.jboss.org/message/367141#367141
Reply to this message by going to Community
Start a new discussion in EJB 3.0 at Community