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?

Digital clock, how to Using polymorphism to write a program to display digi...

how to Using polymorphism to write a program to display digital clock?

Name the common bugs which are not possible in java, Name the common bugs w...

Name the common bugs which are not possible in java Many common bugs and security problems (such as "buffer overflow") are not possible in java. Checks also make it easier to f

Want a page to store emails when click as save, Want a page to store emails...

Want a page to store emails when click as save, then pass along to another page with the emails in the URL Project Description: I have a page that populates with listing; the

I need ios native app developer, I want someone to help me prepare a simple...

I want someone to help me prepare a simple inventory system. I am not a programmer trying to learn as i go. Skills required: Android, Java, iPhone, Mobile Phone, Objective

Package diagrams , To simplify complex class diagrams you may group classes...

To simplify complex class diagrams you may group classes into packages.

Applet draw a face , Write a Java Applet which will draw a face on applet a...

Write a Java Applet which will draw a face on applet as follows:   b)    Modify the program now by adding two Buttons (Java version of ActiveX Control) named Smily Fac

Developing a prototype system in php and javascript, General Overview A...

General Overview A number of organisations are using micro-blogging as a cost-effective way of communicating with customers, building online communities and releasing informati

Write a program to add integer value, Write a program to add integer value?...

Write a program to add integer value? class AddInts { public static void main (String args[]) { int i = 1; int j = 2; System.out.println("i is " + i); System.out.println("

How to write exception subclasses, How to Write Exception Subclasses ? ...

How to Write Exception Subclasses ? Most exception subclasses inherit all their functionality from the superclass. Each subclass majorly serves as a marker for a various types

Different types of messages available in the jms api, What are the differen...

What are the different types of messages available in the JMS API? Ans) Message, TextMessage, BytesMessage, StreamMessage, ObjectMessage, MapMessage are the dissimilar messages

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