Given a java session bean class ONLY (without no remote interface and home interface or deployment descriptor), is it possible to use ANT to automatically build a full generic (or indeed vendor specific) EJB?
That�s very possible though and many projects follow a similar approach. However there is one more requirement to the java session bean class: it should contain special tags that could be introspected by tools like ejbgen or xDoclet, in order to generate other ejb specific artifacts including deployment descriptors, home and remote interfaces, etc. These tools provide also special plugins for ant and they could be invoked as batch process from within ant. Regards.