Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XDoclet support in Spring

 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any support for XDoclet in Spring? How exactly XDoclet can be used to remove redundant or boiler plate code in the application. Thanks.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just out of curiosity, what would you see XDoclet support in Spring *doing*? With annotations a lot of the compelling uses for XDoclet went away.
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

David Newton wrote:Just out of curiosity, what would you see XDoclet support in Spring *doing*? With annotations a lot of the compelling uses for XDoclet went away.



Exactly, that's the question I have. I briefly heard some one saying XDoclet can be used to generate Spring code but not sure what exactly he meant. Let's wait to hear from Craig.

 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XDoclet can be used to create any sort of code, but I don't know of any that creates Spring code.
 
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually...way back when, I wrote an XDoclet module for generating Spring XML from doclet tags in bean code. It was a kinda stupid activity, though, as I believe that it didn't do much to support proper decoupling of the beans...it just moved the coupling into the doclet tags.

Anyhow, I believe that the module is available as part of XDoclet 1...I'm not sure if anyone ever ported it to XDoclet 2 or not.
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Craig Walls wrote:Actually...way back when, I wrote an XDoclet module for generating Spring XML from doclet tags in bean code. It was a kinda stupid activity, though, as I believe that it didn't do much to support proper decoupling of the beans...it just moved the coupling into the doclet tags.



Is Spring XML generation the only feature available in XDoctlet in support of Spring. It is something like Java2WSDL in Webservice frameworks.
 
Craig Walls
author
Posts: 422
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Anil Vupputuri wrote:Is Spring XML generation the only feature available in XDoctlet in support of Spring. It is something like Java2WSDL in Webservice frameworks.



Yeah, that's pretty much it. Nothing terribly exciting. I wrote that XDoclet plugin, but I do not suggest that you use it. It was simply not a good idea.
 
Create symphonies in seed and soil. For this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic