Annotation or attribute oriented programming? , JAVA Programming

Assignment Help:

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 "@

 


Related Discussions:- Annotation or attribute oriented programming?

Inheritances and interfaces, #queThis assignment will give you practice wit...

#queThis assignment will give you practice with defining classes. You are to write a set of classes that define the behavior of certain animals. You will be given a program that r

Board Colourling, write a program to find the minimum no of colors to fill ...

write a program to find the minimum no of colors to fill a board where some of the elements of different color are already placed.

What happens to static fields of class during serialization, What happens t...

What happens to the static fields of a class during serialization? There are three exceptions in which serialization does not necessarily read and write to the stream. These

Convert an existing flash file into html5, REQUIREMENT: We are seeking a si...

REQUIREMENT: We are seeking a simple tool that will convert an existing flash file (.SWF) into HTML5. Our purpose is to convert small flash games into html5 games. Please NOTE: We

Explain about the security aspect of java, Java has some bugs in its applet...

Java has some bugs in its applets. Java team stated that they have zero tolerance over security features and subsequent editions of Java are managing Bug free environment. Some of

What is portableremoteobject.narrow() method , What is PortableRemoteObject...

What is PortableRemoteObject.narrow() method and what is used for?                Ans) Java RMI-IIOP gives a mechanism to narrow the the Object you have received from from your

Java input and output, what are all possible ways in java for user input an...

what are all possible ways in java for user input and output

Write a java client by using arraylists, 1. The purpose of this problem is ...

1. The purpose of this problem is to practice using ArrayLists.Write a Java client file containing a mainmethod plus other methods as needed to solve the following problem (no clas

Develop a graphical display framework, Develop a Graphical Display Framewor...

Develop a Graphical Display Framework Project Description: The intent of this project is to prepare a web based graphical display framework that will display many data points

Combo box and Check box help, Sal?s Pizza wants to install a system to reco...

Sal?s Pizza wants to install a system to record orders for pizza and Buffalo chicken wings. When regular customers call Sal?s Pizza on the phone, they are asked their phone number.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd