Yesterday, the lab asked me to buy some reference books for the project, so we went to the Book City to get a few books back. One of them was "proficient in JBoss-excellent solutions for EJB and Web Services Development". The book has its own characteristics. There are a lot of things to talk about, even where to download eclipse and how to use it. There are a lot of pictures posted, and there are more than 20 pages of the appendix, it is very helpful for students to write books. The advantage is that it looks faster.
After reading the first two chapters, I downloaded a jbosside (an Eclipse plug-in). I think its biggest advantage is that it can easily generate many XDoclet comments, in addition, you do not need to hand-Write the ant task of XDoclet. You can set it in the project properties to directly generate the target file. However, in this case, it seems that jbosside servers cannot be generated ...... Maybe you can modify the ant task file generated by jbosside. It hasn't been tested yet.
For others, if JBoss is used as the application server, this plug-in should save a lot of effort to help you configure the server, package and release something. But what I like most is his support for XDoclet, which is equivalent to having the vast majority of features we need.
There is a problem. I found that it seems to have fewer options in the XDoclet prompt, for example, I enter @ Web. after the servlet is pressed, ALT +/will pop up some options, including servlet, servlet-init-Param, but there is no servlet-mapping. I don't know why, @ hibernate. there are also some missing at the beginning.
Update: none of the zip packages I downloaded at the beginning can be correctly installed. In the end, you can only use the online update feature of eclipse to install the package. Jbosside's online update address is http://jboss.sourceforge.net/jbosside/updates