Eclipse and XDoclet Tutorial


Earlier I mentioned an Eclipse plug-in for jBOSS that gives IDE functionality to jBOSS programming. An new article from DevX tells how to use XDoclet and Eclipse. XDoclet is a code generation engine that uses metadata within your code files to generate the uninteresting portions. For example, I've had my 462 class (large-scale distributed programming) use XDoclet with EJBs. You basically write the bean file and XDoclet generates all the rest of the EJB files from that, provided the proper metadata is included. This latest article runs through a EJB tutorial to show how Eclipse and XDoclet work together to generate code for servlet-driven EJB-based application.