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?

Why class can''t extend more than one class, Why is an Interface be able to...

Why is an Interface be able to extend more than one Interface but a Class can't extend more than one Class? Basically Java doesn't permit multiple inheritances, so a Class is r

Swing, can we develop paint user can draw his charcters and images in swing...

can we develop paint user can draw his charcters and images in swing

Describe overriding methods, Describe Overriding Methods ? Assume that...

Describe Overriding Methods ? Assume that one day you've just finished your Car class. It's been plugged into your traffic simulation that is chugging along merrily simulating

Program for write a class with the header, PART1: Write a class with the...

PART1: Write a class with the header public class OrderedPair > implements Comparable > instance variables private Key x private Key y constructor publicOrd

Java Gui, Does the java applet using swing components, JAVA Programming on ...

Does the java applet using swing components, JAVA Programming on this contain all the source codes for download?

Differentiate uni-processor os from multi-processor os, Differentiate uni-P...

Differentiate uni-Processor OS from Multi-Processor OS? Uni-processor OS : Uni-processor OS'es is designed to schedule tasks on a single uPs just whereas Multiprocessor O

Write an aspect that counts different kinds of method calls, Problem statem...

Problem statement Part 1 Write an aspect that counts different kinds of method calls in a Java program. Your aspect should meet the following requirements:  The aspect should ma

Explain data entry issues, Explain data entry issues? DATA ENTRY: The...

Explain data entry issues? DATA ENTRY: There is new data entered every day. New customers are added every day. Some of the data entry needs the manual entry within computer s

Need to prepare java questions - design patterns, Need to prepare 18 java q...

Need to prepare 18 java questions - design patterns Project Description: Hello, I require a freelancer who will create java questions for oracle exams, see the attached sampl

Dropbox calendar, code in dropbox calendar and loop for feruary leapyear

code in dropbox calendar and loop for feruary leapyear

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