This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 8920

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.

subject: declarative programming in J2EE