Originally posted by kundan varma:
Hi Stan,
But i got few replies which forced me to think why i am using EJB(spcecially entity beans) ??? And mostly EJB is preffered for distributed functionality so i asked what is the benefit of distributed technology, why it is used? what benefit it can give in future???
Thanks
kundan
As I understand, EJB (mainly for business logic) is used when you want EJB container (App server) to mannage the system level requirements (like security,connection pooling, transaction mgmt, availabiliy, scalability etc.). To answer ur question regarding distributed, you might deployment distributed in following scenario.
Scalability support - may be verticle(adding more cpu processing and memory) and then running multiple ejb containers or horizontal scalabaility adding more machines running app servs on diff machines).
Availabily - Critical apps should serve for 24/7 so you need clustering. This also avoid single point of failure.
So now as you know container takes care of these you can design your components to provide scalability in these areas.
Sorry if I mistaken anywhere.
Best Regards,
Ravikant