aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes declarative programming in J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "declarative programming in J2EE" Watch "declarative programming in J2EE" New topic
Author

declarative programming in J2EE

priya jain
Greenhorn

Joined: Apr 23, 2003
Posts: 10
Hi java ranchers,
I come across declarative programming term in ejb. I don't know what that mean in contrast to EJB.
Define declarative programming .... Discuss the shift in the programming paradigm from traditional development to a role-based, declarative development model?
Is it moving from tradition client server 2 ejb architecture as giving special role to bean developer,assembler,deployer...
Please throw some light on it?
priya
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Declarative programming means that you the deployment descriptor to specify the services that you need. For example you can ejb-jar.xml to specify the transaction settings, security roles who are allowed to access the methods rather than doing programming.
Advanctages are:
Easy to change without complitation and code changes.
http://www.onjava.com/pub/a/onjava/2001/06/06/j2ee_trans.html


Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: declarative programming in J2EE