[jboss-user] [JBoss Eclipse IDE (users)] - EJB 3.0 wizard and code/descriptors generation
do-not-reply at jboss.com
Wed Apr 18 08:45:56 EDT 2007
I have some experience with WTP + WASCE app server, and now would like to move to JBoss IDE + JBoss AS in order to use EJB3.0 (not available in WASCE).
Both WTP and JBoss IDE are built over Eclipse. In WTP, XDoclet eliminated a lot of manual work when creating EJBs. I selected New..EJB with XDoclet support , then used a GUI wizard and got all 4 (5,6) Java classes for new bean auto-genetrated. As well as ejb-jar.xml and appserver-specific descriptors.
I know that EJB3.0 specification does not require so many interfaces/descriptors. This is already a step to simplicity for developers.
But what about convenient wizard for EJB3.0 in JBoss IDE ?
I was unable to plug XDoclet support into EJB3.0 project. I have attached xdoclet-1.2.3 , but there is nothing to create with XDoclet in New..EJB3.0 Project section. In New..EJB project there was "XDoclet" confuguration available, but not here.
So far I don't know EJB3.0 in deep, but I guess some descriptors should still exist in EJB3.0 module. Wizard generates the only file jndi.properties.
I have created a single session bean in auto-generated EJB3.0 project and wanted to add it to running JBoss 4.0.5 by "Add/remove projects". IDE said that there are no projects to add. Apparently, some descriptors are missing.
Then, I haven't found a way to generate code for entity bean in EJB3.0 project. "New..EJB3.0" path contains only EJB3.0 project, Message driven bean and Session bean.
Please let me know are any tutorials available for creating EJB3.0 module with all kinds of beans in JBoss IDE 2.0 beta and deploying them to JBoss AS 4.0.5.
Many thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038360#4038360
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038360
More information about the jboss-user