Solved

Advantage of EJB

Posted on 2000-03-21
1
202 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weekend adv creator 3 38
tomcat not starting 6 45
servlet web applications   metadata-complete="true" or false 3 40
String array comparison 4 33
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This video teaches viewers about errors in exception handling.

773 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