Solved

EJB Alternatives

Posted on 2007-04-03
5
1,154 Views
Last Modified: 2013-11-24
Are there any alternatives to EJB in the Java world?
0
Comment
Question by:kevorkgt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JAVA part two 5 79
hibernate insert example 13 38
by zero exception 10 70
junit example issue 2 25
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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 …
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.

749 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