Solved

EJB Alternatives

Posted on 2007-04-03
5
1,147 Views
Last Modified: 2013-11-24
Are there any alternatives to EJB in the Java world?
0
Comment
Question by:kevorkgt
5 Comments
 
LVL 23

Expert Comment

by:Ajay-Singh
ID: 18848307
spring (http://www.springframework.org) is often used alternative to EJB
0
 
LVL 12

Expert Comment

by:Gibu George
ID: 18848750
If you are looking for an alternative to Entity Beans you can use any of the OR mapping frameworks eg. Hibernate, Toplink, iBatis, OJB etc.
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 500 total points
ID: 18861400
In a word - no. There is no complete alternative to EJBs. You will need to look at different frameworks or products depending on which features of an EJB you need. But some of these frameworks like Spring are not yet Java EE standards/ specifications, and might not cover everything that different EJBs can do, e.g., MDBs (Message Driven Beans).
0
 
LVL 8

Expert Comment

by:mhunts
ID: 18868621
Yes, there are alternatives to EJB, but you'll find that it's best to go with a hybrid approach. For a web app, go with Struts, or better yet, JavaServer Faces. Your business logic can be regular Java objects. You can optionally use stateless session beans for your business logic. You should look at hibernate for your persistence. It is a good lightweight persistence framework. If you need messaging, MDBs are a good choice.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 18874439
There is no one alternative which provides you everything that different types of EJBs do. One alternative could act as an alternate for only one type of EJB (say session or entity or MDB) but not an alternative for all of them at once.
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
nestparen challenge 4 97
HashMap Vs TreeMap 12 64
Unhandled exception type Exception 18 42
eclipse console opening separately 2 29
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 …
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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.

828 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