I am migrating an app from JBoss 6.x to JBoss 7.1.1 that we use entity EJBs and we make jndi lookup for these. This is an approach that worked from JBoss 4 to JBoss 6, but it looks like this is no longer the case. The app defines the entities and queries at ejb-jar.xml, uses jboss.xml to define the local jndi name and uses jbosscmp-jdbc.xml to define type mapping and other stuff.
Was anybody able to do jndi lookup of entity EJBs 2.x at JBoss 7.1.1? Is this supported by this JBoss version?