Solved

EJB Alternatives

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven project clean install and build and adding as war web plugin 4 46
firstChar challenge 13 107
allswap challenge 6 77
base64 decode encode 12 119
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
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.

910 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

16 Experts available now in Live!

Get 1:1 Help Now