• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

declarative programming in J2EE

 
priya jain
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic