Annotation or attribute oriented programming? , JAVA Programming

Annotation or Attribute oriented programming

There are two types of code generation processes.

Passive code generation: is template driven. Input process are used in modern IDEs like WebSphere Studio Application Developer (WSAD), eclipse etc where parameters are supplied and the program generator carries out the process of source code generation and parameter substitution. For example: in eclipse or WSAD you can make a new class by supplying the "New Java class" wizard appropriate input parameters like package name, class name, modifiers, superclass name, interface name etc to produce the source code.

Active code generation: As like passive code generators the active code generators may inject programs directly into the application as and when needed. Attribute/Annotation  oriented  programming  languages leverages  active code generation  with the need of declarative tags embedded within the application source code to create any other type of configuration  files, source code,  deployment  descriptors  etc. These  declarative metadata  tags  are  named  annotations  or attributes. The purpose of these attributes is to implement the functionality of the base language like Java, with the help of custom attributes given by other providers like Spring framework, Hibernate framework, XDoclet etc. The annotations or attributes are specified with the symbol "@

 

Posted Date: 7/26/2012 5:39:14 AM | Location : United States







Related Discussions:- Annotation or attribute oriented programming? , Assignment Help, Ask Question on Annotation or attribute oriented programming? , Get Answer, Expert's Help, Annotation or attribute oriented programming? Discussions

Write discussion on Annotation or attribute oriented programming?
Your posts are moderated
Related Questions
Explain term Literals in java? Literals are pieces of Java source code which mean exactly what they say. For example "Hello World!" is a String literal and its meaning is the w

How to catch multiple exceptions explain with example? If multiple blocks match the exception type, the first block in which matches the kinds of the exception catches it. pub

Write program to Passing Arguments to Methods ? It's generally considered bad form to access fields directly. Instead it is considered outstanding object oriented practice to

WHAT IS THE INTRODUCTION OF JAVA APPLET GAMES IN CONNECT4

You want the base class to represent only an interface for its derived classes. That means, you don't want anyone to actually instantiate an object of the parent class. You only

What is the difference among using bind() and rebind() methods of Naming Class? Ans) Bind method (String name) binds the specified name to a remote object whereas rebind(String

Printing Calculator Canvas Printing Calculator In this assignment we will continue to work on our canvas printing web service. Specifically we will make use of Javascrip

Explain java flow control ? if else else if while for do while switch case break continue goto is a reserved word.

Comparable interface: The "Comparable" allows itself to compare with other same types of object. The function compareTo() is specified in the interface. Several of the standa

Develop a Purchase Order System Project Description: Purchase Order (PO) is one of the first steps in the ordering process of a store. Before, we rely on manual computation t