Spring Vs EJB ( A feature comparison)
By: Emiley J. Printer Friendly Format
In quite a few design brainstorming sessions, the debate between Spring and EJB results in a deadlock. There are developers who are damn passionate about Spring and hate EJBs. Let’s have a look at the main important differences between the two in terms of features they support.
Feature |
EJB |
Spring |
Transaction management |
|
|
Declarative transaction
support |
|
|
Persistence |
Supports programmatic bean-managed persistence and
declarative container managed persistence. |
Provides a framework for integrating with several
persistence technologies, including JDBC, Hibernate, JDO, and
iBATIS. |
Declarative security |
|
|
Distributed computing |
Provides container-managed remote method
calls. |
Provides proxying for remote calls via RMI,
JAX-RPC, and web
services. |
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Subscribe to Tutorials
Related Tutorials
Creating a JavaBean to Connect with Google API
Spring Vs EJB ( A feature comparison)
What is EJB server and what are EJB Components?
Java Beans and the Expression Language
A sample that shows Java Beans, Servlets and JSP working together
Design Patterns for Properties in a Java Bean
Steps to develop EJB Environment
Archived Comments
1. Thanks for this nice comparision table for Spring
View Tutorial By: guddu at 2009-10-17 03:08:59
2. It seems author has half knowlage
EJB main
View Tutorial By: Aryan Siddharth Singh Gautam at 2010-03-22 03:40:11
3. Thanks for the Topic. But there are many more comp
View Tutorial By: Uditha Madumal at 2010-09-15 19:39:13
4. EJB's can be deployed on multiple servers and when
View Tutorial By: Tomek at 2011-09-12 12:29:07
5. I see your website needs some unique & fresh c
View Tutorial By: WalkerCheryu at 2017-06-14 07:28:20
6. Good points you have covered here while comparing
View Tutorial By: pranit patil at 2017-09-14 07:01:53