Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Spring what is diffrence between the spring and ejb which is better for small application
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


pradeep
what is diffrence between the spring and ejb which is better for small application
1 Answer(s)      4 years and 9 months ago
Posted in : Spring


what is diffrence between the spring and ejb which is better for small application. and why do we need to use sping or ejb for web appplication.what is diffrence between the struts with spring application and struts without spring application

Advertisement
View Answers

March 31, 2010 at 5:15 PM


Hi Friend,

Difference between Spring and EJB:

1)Spring is an implementation while EJB is a specification.

2)The Spring is an open source application for the Java platform whereas EJB is a server-side component that encapsulates the business logic of an application.

3) EJB can support XA or distributed transactions whereas Spring does not have support for distributed transactions, but it can plug in a JTA Transaction manager.

4) EJB uses deployment descriptor and Spring uses AOP.

5)EJB provides container-managed remote method calls whereas Spring provides proxying for remote calls via RMI, JAX-RPC, and web services.

Thanks


Related Tutorials/Questions & Answers:
what is diffrence between the spring and ejb which is better for small application - Spring
what is diffrence between the spring and ejb which is better for small application  what is diffrence between the spring and ejb which is better... appplication.what is diffrence between the struts with spring application and struts without
What are the differences between EJB and Spring
What are the differences between EJB and Spring   Hi, What are the differences between EJB and Spring Thanks
Advertisements
What is the difference between hibernate and spring
What is the difference between hibernate and spring  Hi, What is the difference between hibernate and spring. Thanks
What is the difference between EJB 3.0 and JPA - Framework
What is the difference between EJB 3.0 and JPA   What is the difference between EJB 3.0 and JPA. How can they work together. Does EJB 3.0 need... which can be used for creating a mapping between plain java bean objects (POJO
what is difreence between javabeans and enterprise beans - EJB
what is difreence between javabeans and enterprise beans  what is difreence between javabeans and enterprise beans  Hi Friend... while EJB is designed to work in distributed environment using rmi/iiop protocol
what is the difference between distributed application and web application?
what is the difference between distributed application and web application?  what is the difference between distributed application and web application
which is better - Subversion
which is better  Dear sir, Could u pls tell which version control is better among the following four. Subversion, git, bazaar, Mercurial
display diffrence between two dates in a text box - JSP-Servlet
display diffrence between two dates in a text box  i have these set of codes // String di=request.getParameter("timestamp2"); String d2=request.getParameter("timestamp3"); SimpleDateFormat formater=new SimpleDateFormat("dd-mm
What are difference between Bean Factory and Application Context ?
What are difference between Bean Factory and Application Context ?  Hi, What are difference between Bean Factory and Application Context
php or java which is better
php or java which is better  Confused which is best
which one is better, Flex or Java?
which one is better, Flex or Java?  Does flex has a scope to survive in IT? Which one of these two, Flex and Java, has a better scope of survival
which one is better Struts2 or JSF
which one is better Struts2 or JSF  Which framework is better for the development of core banking solution for the presentation layer Struts2 or JSF2.Request you to explain with the valide reason. Thanks in Advance
Difference between EJB 2 and EJB 3 - EJB
Difference between EJB 2 and EJB 3  I know we dont implement home and remote interfaces. 1)Do we have ejb-jar.xml in EJB 3.0...? What do they exactly do? 4) How does the bean lookup start in EJB 3 and how
which is better server for java applications? apache or jboss?
which is better server for java applications? apache or jboss?  which is better server? apache or jboss
Which gives better performace Stack vs Arraylist
Which gives better performace Stack vs Arraylist  I want to implemet a generic Stack implementation. I am confused whether to use java.util.Stack class or to simulate ArrayList as Stack? I am very much concerned about performance
Difference between Struts and Spring
Difference between Struts and Spring  What are the difference between Struts and Spring?   Hi Friend, Differences: 1)Struts is a web framework while Spring is not. 2)Spring is a Layered Architecture while Struts
What is the structure of Spring framework?
What is the structure of Spring framework?  What is the structure... solutions for all you enerprise application. The Spring is nothing but a modular... by you as per you application requirement. For more related to Java Spring
Difference between JDBC , Entity Beans in EJB 3.0,Hibernate - EJB
Difference between JDBC , Entity Beans in EJB 3.0,Hibernate  What is difference between JDBC 2.0, Entity Bean in EJB 2.0, Hibernate, Entity Bean in EJB 3.0  Hi Friend, Please visit the following links to know about
Difference between Struts and Spring
To know the difference between Struts and Spring, we must first explain and understand both the frameworks a little. Spring framework is a Java platform... at runtime that reduces the coupling between various modules. Spring provides
Problem in EJB application creation - EJB
Problem in EJB application creation  Hi, I am new to EJB 3.0... application. 1. I would like to know how to associate an Entity bean class... getting the following error message when running an enterprise application
diff between spring and struts in java
diff between spring and struts in java  diff between spring and struts in java
Which is better .Net or Java?
When a developer needs to choose between Java or .NET to develop a new software system or application, to make this choice one must know the similarities and differences that exist between them. Microsoft .NET is a framework that can
What is Spring framework?
What is Spring framework?  Hi, What is Spring Framework? Thanks
What is Spring's JdbcTemplate ?
What is Spring's JdbcTemplate ?  Hi, What is Spring's JdbcTemplate ? Thanks
What is Spring Integration?
What is Spring Integration?  Hi, What is Spring Integration? Thanks
EJB based application
EJB based application  Project description The project has two separate parts, the client GUI application and the server application. The Client... of what to do. (Java object serialization). The Server The server component
What is the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?   hi, What is the difference between the >> and >>> operators? Thanks
What is Spring Framework Architecture ?
What is Spring Framework Architecture ?  Hi, What is Spring Framework Architecture ? Thanks
What are the benefits of Spring framework?
What are the benefits of Spring framework?  Hi, What are the benefits of Spring framework? Thanks
What are the Features of Spring Framework?
What are the Features of Spring Framework?  Hi, What are the Features of Spring Framework? Thanks
What is Spring IOC Container ?
What is Spring IOC Container ?  Hi, What is Spring IOC Container ? Thanks
Advertisements
 

 

 

DMCA.com