Solved

EJB Alternatives

Posted on 2007-04-03
5
1,136 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:
mayankeagle 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:mayankeagle
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Suggested Solutions

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

708 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