• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Attribute-Oriented Programming

 
Rasheed Muhammad
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any support for code generation using metadata(attributes) from java source in 1.5? Like the feature is available in xdoclet http://xdoclet.sourceforge.net/xdoclet/index.html for J2EE code generation.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think,

Annotation has one advantage over XDoclet. Annotations are available through reflection interfaces.

Reference Website
http://javaboutique.internet.com/tutorials/annotation/
http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by somkiat puisungnoen:
Annotation has one advantage over XDoclet. Annotations are available through reflection interfaces.


XDoclet got feature like annotation before Tiger? I've never tried XDoclet yet...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic