What is the advantage and disadvantage of using Programatic security over declarative security?? Whish is the professional way of doing it?? Is it a good practice to use declarative security or programatic security??
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Do you have HFSJ? If so Chapter 12 talks a lot about this. The basic idea of declarative security is changing without recompilation. If you make security part of say your servlet then you need to change code every time security changes. This is a dependency you can avoid with decalrarative security. Also depending on where you deploy (dev vs prod) you may want different security.