I'm trying to migrate my project from weblogic to JBoss, but for EJB2.1 I'm facing problem. In weblogic for EJB2.1, we have used @ejbgen annotation to generate local and localHome interfaces and also deployment descriptors like weblogic-ejb-jar.xml... How jboss-ejb-jar.xml file can be generated automatically in JBoss server? is there any annotation provided?