File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Attribute-Oriented Programming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Attribute-Oriented Programming" Watch "Attribute-Oriented Programming" New topic
Author

Attribute-Oriented Programming

Rasheed Muhammad
Greenhorn

Joined: Dec 15, 2003
Posts: 4
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

Joined: Jul 04, 2003
Posts: 1312
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


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
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...


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Attribute-Oriented Programming
 
Similar Threads
Automated "deployment descriptor" /xml creation?
utility tool that generates java doc complaint documentation in source code.
Reading annotation for jdk1.3
Javadoc tool for TagLib
My hibernate generator