Solved

Advantage of EJB

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.

744 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

13 Experts available now in Live!

Get 1:1 Help Now