• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

What is this XDoclet that everyone rants about ?

 
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps I need a book to tell me all about it
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps so. I'll let you know if I hear of any good books...
XDoclet is a code generation tool that generates code and deployment descriptors based on javadoc style comments in your classes. If you do ejb or web development you will be familiar with the pain of maintaining deployment descriptors by hand. Instead of doing it by hand, you can run XDoclet as part of your build and have it generate your web.xml or ejb-jar.xml. (and their JBoss/weblogic/insert your app server here counterparts) For EJBs, it can actually do more. In addition to the deployment descriptor, it can generate the home interface, local/remote interfaces, value objects and other related classes you need based on comments you put in the bean.
Take a look at the XDoclet in Action table of contents to get in idea of the areas that XDoclet can generate code for... (too much for me to type right now)
 
author & internet detective
Posts: 41502
881
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Norman,
Do you have a link to the table of contents of the book? I tried clicking on the link in your sig line, but all I can find is a picture of the cover.
(I know this post doesn't count toward the giveaway, but since Norman is already here I might as well ask.)
Also, can XDoclet be called from Ant?
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
Also, can XDoclet be called from Ant?


Not only can XDoclet be called from Ant...with version 1.2, it *must* be called from Ant (or Maven). XDoclet 1.2 is implemented as a set of Ant tasks and subtasks.
This will change with XDoclet 2, where XDoclet can be used outside of Ant/Maven, but there are still Ant tasks available so that it can be used in Ant or Maven builds.
 
norman richards
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Manning has posted the table of contents on their site. You can actually get a PDF of the full front matter there, which has a better breakdown of each chapter, the Rickard Oberg's forward and all the other stuff you normally find at the beginning of a book.
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Norman
Does the book have a tutorial on Ant?
 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
very good tutorial on ANT byThomas Paul
 
reply
    Bookmark Topic Watch Topic
  • New Topic