• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Xdoclet : pros & cons

 
Mahesh Asrani
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I have been assigned the task of evaluating XDoclet for our current project. The project which I am evaluating this for is a 3 tier application involving EJB's , web components etc.

we are using Eclipse as the IDE & Weblogic as the app server.
Can somebody with past experience in Xdoclet post the advantages & disadvantages of using the same


Bye
MA
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All I have are advantages. Anytime you can save a lot of time by not having to code repetitive stuff and concentrate on the more difficult custom coding is a god send.

At work here we have over 2000 Entity beans, if we had to hand code it, it would have costed us millions of dollars. Using XDoclet, save that time, and you can customize it yourself too,

Mark
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well this isn't really an IDE question. I use XDoclet "in" Eclipse, but it's actually done by Eclipse invoking Ant. I've not attempted to see if I could auto-build XDoclet output in Eclipse.

XDoclet is great where you'd like to have one definition file that generates multiple files that must be kept in sync. EJBs being a classic example, as are the Struts Action processors.

Considering that "attribute-oriented programming" is a key addition to Java (starting with Java 5), you have to expect that a lot of people have found value in this sort of process.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34214
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim Holloway:
Well this isn't really an IDE question.

But it's an "other tools" question, so we are still in the right forum.

Mahesh,
The only con I can think of is that you have to learn how to use Xdoclet. However, that applies to anything you would use in its place and I think the advantages more than cover it.
 
Mahesh Asrani
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Thanks for your prompt response. By cons what I intended to ask is when would Xdoclet be an overkill i.e. Which sort of applications should not use Xdoclet at all.


Bye
MA
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's less to do with the application than the amount of work you want to spend in the build framework. Obviously XDoclet is wasted if there's no need for the kinds of files it generates, but it's pretty darned useful if there is. Just one minor misapplication of a method attribute between files on an EJB can make a believer out of you.

Is XDoclet an "other tool" or an "other build tool"?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic