Could someone give me an idea when EJBs would NOT be needed
in a web app with a JSP-Servlet frontend and w/some minimal
transaction processing in the back.
-
When NOT EJBs (1 messages)
- Posted by: Ibrahim siddiqui
- Posted on: August 18 2000 11:44 EDT
Threaded Messages (1)
- When NOT EJBs by Suresh Vasudev on August 21 2000 07:25 EDT
-
When NOT EJBs[ Go to top ]
- Posted by: Suresh Vasudev
- Posted on: August 21 2000 07:25 EDT
- in response to Ibrahim siddiqui
EJB is very helpful when the programmer needs to get rid of the risk of Transaction Handling and Threading. Another concept is Reusability.
If the functionality that you are provided in the bean is reuasbale, then also using EJB is good.
If the transaction is minimal with respect to the incoming requests, it is not necessary to use EJB.
But the underlying fact is that in the case of heavy transaction, one can design a system without using EJB. Here the programmer hjas to take the risk of handling the transcation.