lookup is new in JavaEE 6 / EJB 3.1.
When using type-level injections, you also need to specify name, beanInterface.
mappedName should also work. If you still see erros, can you post your app?
[Message sent by forum member 'cf126330']
http://forums.java.net/jive/thread.jspa?messageID=483253