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
Does Java pass arguments by value or reference? Ans) Pass by value. 1. When passing primitives, it going a copy of the variable to the method. Any change made in the method d

What is asynchronous messaging? Queue Ans) Asynchronous messaging includes a client that does not wait for a message from the server. An event is used to trigger a message from

#questiongfjnkdfn..

Struts components can be classify into Model, View and Controller: ? Model: Components like business logic /business processes and data are the type of model. ? View: HTML, J

how to retrieve data from Excel file, and display that data in table on jsp page?

Example:  You have a class named "Set" in a project folder "e:\myProject" and package named com.zxy.client, will you be able to compile and execute it as it is


Create a class called DeckOfCards that stores 52 objects of the Card class. Include methods to shuffle the deck, deal a deck, and report the number of cards left in the deck. The s

It could be something simple for a good js coder. But there may be a custom design and I can give more feedback for the person who is interested in working with me. Check Invisi

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes