Solved

Advantage of EJB

Posted on 2000-03-21
1
201 Views
Last Modified: 2013-11-24
It is said that EJB abstract the business logic from the Servlets. Every Entity Bean method invocation requires ejbLoad and ejbStore to be called before and after the method invocation respectively. However this could result in an increased network traffic between the database server and EJB server frequently. What in case if we manage to write the SQL queries in the servlet itself and manage transactions explicitly. Does it mean that EJB is used to ease transaction management and distribute objects across network , though system response time may come down ?
0
Comment
Question by:ashish_wani
1 Comment
 

Accepted Solution

by:
isaacip earned 100 total points
ID: 3157612
Yes, the lower speed of the network due to the increased traffic is the TRADEOFF to speed up the web development by ease transaction management and distributing objects across network.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
topping1 challenge 7 73
groovy example issue 10 90
Java array passed to SQL where clause 23 63
couple of eclipse 5 25
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now