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

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 4 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
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
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
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
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 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
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
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
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
What is Spring framework?
What is Spring framework?  Hi, What is Spring Framework? Thanks
What is Spring Integration?
What is Spring Integration?  Hi, What is Spring Integration? Thanks
What is Spring's JdbcTemplate ?
What is Spring's JdbcTemplate ?  Hi, What is Spring's JdbcTemplate ? Thanks
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 the difference between the >> and >>> operators?
What is the difference between the >> and >>> operators?   hi, What is the difference between the >> and >>> operators? 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 Spring Framework Architecture ?
What is Spring Framework Architecture ?  Hi, What is Spring Framework Architecture ? 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
What are the benefits of Spring framework?
What are the benefits of Spring framework?  Hi, What are the benefits of Spring framework? Thanks
What is Spring framework?
What is Spring framework?  What is Spring framework? How to learn Spring Framework? Thanks   Hi, Spring framework is open source... Spring Tutorial. Thanks
What is Spring?
The Spring Web module is part of Spring?s web application development stack, which... What is Spring?      ... and leave the other components which is not required by the application. Features
Nota ble to build EJB application - EJB
Nota ble to build EJB application  hi , am beginner to EJB i tried this building EJB application am getting follwoing error BUILD FAILED D.... while setting ejb doclet in Preferences i haven't set any thing in like jboss
Spring application in RSA 7.0.0.3
Spring application in RSA 7.0.0.3  how to build a sample spring application using RSA 7.0.0.3
spring injection
spring injection  what is difference between constructor and setter injection and which is better
What is EJB 3.0?
What is EJB 3.0       This lesson introduces you with EJB 3.0, which is being used extensively for developement of robust, scalable and secure applications. What is EJB
Spring login form application
Spring login form application  Hi Please give me the Spring login form application so that i can understand its flow ?   Hi please find the link of the tutorial Spring Applications
what is the difference between extends and implements
what is the difference between extends and implements  difference between extends and implements
what is the difference between extends and implements
what is the difference between extends and implements  difference between extends and implements
spring - Spring
spring  give me the explanation about spring>and give me the difference between spring and EJB 3.0 WHAT IS THE USAGE OF SPRING WHERE WE HAVE TO USE IT? GIVE ME ONE EXAMPLE
What is Bean lifecycle in Spring framework?
What is Bean lifecycle in Spring framework?  HI, What is Bean lifecycle in Spring framework? Thanks
What are the different modules in Spring framework?
What are the different modules in Spring framework?  Hi, What are the different modules in Spring framework? Thanks
What are ORM’s Spring supports
What are ORM?s Spring supports  Hi, What are ORM?s Spring supports? Thanks
What are Bean scopes in Spring Framework
What are Bean scopes in Spring Framework  Hi, What are Bean scopes in Spring Framework Thanks
what is the difference between pop and oop
what is the difference between pop and oop  what is the difference between pop and oop
what is the Difference between weblogic and jboss?
what is the Difference between weblogic and jboss?  what is the Difference between weblogic and jboss
What is the difference between $message and $$message?
What is the difference between $message and $$message?  What is the difference between $message and $$message
What is difference between a PROCEDURE & FUNCTION ?
What is difference between a PROCEDURE & FUNCTION ?  What is difference between a PROCEDURE & FUNCTION
What is the difference between PHP4 and PHP5?
What is the difference between PHP4 and PHP5?  What is the difference between PHP4 and PHP5
 

 

 

DMCA.com