Solved

Advantage of EJB

Posted on 2000-03-21
1
208 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.
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:
The viewer will learn how to implement Singleton Design Pattern in Java.

630 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