Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 8876

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: declarative programming in J2EE
 
Similar Threads
RUNAS delegation
EJB Framework questions
Declarative Programming in Java
doubt in security role ref
Transfer from System Admin to Software Development