I use the last JBoss release.
I have this exception when trying to bound the local home of an entity using the utilities class generated by jboss-ide (CityUtil.getLocalHome()) :
javax.ejb.CreateException: ejb not bound
In the home local interface, there is :
...
public static final String COMP_NAME="java:comp/env/ejb/CityLocal";
public static final String JNDI_NAME="CityLocal";
...
in jboss.xml :
...
<entity>
<ejb-name>City</ejb-name>
<local-jndi-name>CityLocal</local-jndi-name>
</entity>
...
those files are generated using xdoclet.