Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simple EJB Question........  RSS feed

 
Sam Pat
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am kind of new to Java.... Can someone please tell me in simplest words what is the use of EJB....Pro's and con's
Thanks.
 
Sami Casab
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB gives you an easy way to build tree tir applications with security, transactions, fault tolerance, etc.
In a client server application you have two tiers and frecuently the second tir (database) has stored procedures and triggers to resolve the application logic and buisines rules. With EJB you can write the logic in a midleware not in the database.
I expermimented a web app in two tires and tree tires. I discover that the application have a better performance in tree tired architecture, maybe because there are less database connections.
I hope this help you.
Sami.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!