Solved

EJB3 Pros and Cons

Posted on 2007-04-03
5
1,301 Views
Last Modified: 2013-11-24
What are the advantages and disadvantages of using EJB3 in not-too-big projects?
0
Comment
Question by:kevorkgt
  • 2
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 18848325
0
 

Author Comment

by:kevorkgt
ID: 18848850
The article compares two methods for migrating a Java service to EJB.
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 18861393
>> advantages

Transaction management
Persistence/ Database relational mapping
Session/ state management (in case of stateful)
Creation/ passivation/ maintenance etc

All done by the container.

>> disadvantages

Heavy to use
Uses RMI so serialization/ de-serialization will happen (unless you use local interfaces)
0
 

Author Comment

by:kevorkgt
ID: 18861484
Why is EJB "heavy to use"?
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18862218
Because the containers will typically take more space for install, deal with databases for persisting the EJBs, RMI for serialization/ de-serialization when EJBs are called remotely, etc
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
copyEndy  challenge 15 96
pairstar challenge 2 63
countHi2 challenge 7 56
Spring Framework HTTPSession management 1 36
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

825 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