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

declarative programming in J2EE

priya jain

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?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

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.

I agree. Here's the link:
subject: declarative programming in J2EE
It's not a secret anymore!