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

 
 


pradeep
what is diffrence between the spring and ejb which is better for small application
1 Answer(s)      3 years and 2 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
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 Pages:
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
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 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
EJB - EJB
EJB  What is the difference between EJB 2.0 and EJB 3.0? GIVE ME.../ejb/ Thanks. Amardeep  Hi friend, Difference between EJB... is same as some orm products like hibernate, Toplink, JDO. But JPA is better than
EJB - EJB
EJB  What is the difference between Stateless session bean and Statefull session bean? what are the lifecycle methods of both SLSB and SFSB  Hi friend, Some points to be remember for difference between Stateless
An introduction to spring framework
with traditionally heavyweight EJB containers, which are often large. The Spring actually... modifications, to  get all the supposed advantages of EJB environment. Thus, Spring... to the existing EJB investments, Spring is designed to operate with EJB if required
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 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
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
spring injection
spring injection  what is difference between constructor and setter injection and which is better
EJB - Java Interview Questions
in EJB.That is what is the main difference between StateFul and StateLess beans... state should not be retained i.e. the EJB container destroys a stateless... beans can support multiple clients, they provide the better scalability
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
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
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
spring - Spring
spring  what is the use of spring  Hi Friend, Spring is grate framework for development of Enterprise grade applications. Spring.... Spring can be used to configure declarative transaction management, remote access
Technology - EJB
But this is not what i want .I want to know which should i learn either EJB 3.0 or Spring... or should learn Spring and Hibernate.I am confused what should i do next.Please advice... sending link. you can lean more information about ejb, Spring and Hibernate
EJB - EJB
EJB  i want to make a small application using EJB ,pls any one can tell me how i can deploy EJB in server ???   Hi You can start from anywhere on this site! for introduction and deployment of EJB Tutorial visit
Questions on Spring - Spring
Questions on Spring  1> what is Spring Framework ? why does... in Spring ? 3> what is Spring - Aspect Oriented Programming,Please explain... which the framework is composed. The Spring Framework is not exclusively linked
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
Best Cloud Computing Applications for Small Business
application which by many standards is even better and is an answer... capacity this application is ideal for small businesses as it seamlessly synchs... this application truly one of the best cloud computing applications for small
What are prospects of small Business management?
Small business management is the process by which all the available resources... business. Reason is that small business are the platform which makes people their own... and risk factor, which must be obeyed during handling of a small-scale business
spring - Spring
spring  what is the difference between spring and hibernate and ejb3.0  Hi mamatha, Spring provides hibernate template and it has many.... * Spring hibernateTemplate also throws RunTime exception compared to checkd
ejb - EJB
ejb  what are the new features added in ejb2.0 to ejb3.o advantages of 3.0 version.  Hi friend, EJB : The Enterprise JavaBeans architecture or EJB for short is an architecture for the development and deployment
Diffrent EJB & Java Bean - EJB
Diffrent EJB & Java Bean  What is Different between EJB & Java Bean...-based software components that are built to comply with Java's EJB specification and run inside of an EJB container supplied by a J2EE provider. An EJB container
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
EJB Books
business objects in any J2EE application. Professional EJB shows how... degree that's true for the EJB material in this book. What the book covers well... EJB Books        
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
php or java which is better
php or java which is better  Confused which is best
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
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
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
Spring Tutorial
, Download Spring. What is Spring ? Spring is an application framework for developing... such as What is Spring, features of Spring, benefits of Spring, architecture of Spring... application using Spring framework. Some of these features are as follows
how to implement spring security - Spring
how to implement spring security  Hai, iam working on small login application using hibernate on Spring. I wanted to implement spring security for my login application. Can any one tell me what is SpringSecurity, and how
What is the difference between static and dynamic SQL?
What is the difference between static and dynamic SQL?  What is the difference between static and dynamic SQL?   Hi, Static SQL is SQL statements in an application that do not change at runtime and, therefore, can
Spring
Spring  What is bean factory? When time beans are created and loaded... is able to create associations between collaborating objects as they are instantiated... the following links: http://www.roseindia.net/spring/ http://www.roseindia.net/spring
Spring
Spring  What is bean factory? When time beans are created and loaded... is able to create associations between collaborating objects as they are instantiated... the following links: http://www.roseindia.net/spring/ http://www.roseindia.net
What is difference between UNIX Hosting and Window Hosting
platforms on which any of the web site can be hosted. Each has its own set of unique features, advantages and disadvantages. It is difficult to say which one is better for web hosting. But the language in which web site is programmed
Human resources for small business
tips by which small-scale industries can avail the HR facility... management can't be ignored. It is HR of the organizations, which select the talented and skillful professional for the organization, which are the key
What is PHP ?
What is PHP? PHP is an acronym stand for Hypertext PreProcessor. It is an open source scripting language which is used for web development and can be embedded... by the new Zend Engine II. PHP 5 included better support for OOP and other enhancements
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
What are the level in Jboss 5 application server to deploy the application
What are the level in Jboss 5 application server to deploy the application  What are the level in Jboss 5 application server to deploy the application   JDK 1.0 (january 23, 1996) oak - Initial release JDK 1.1
EJB remote interface
;} } Main.java:- This is the client application from which we... EJB remote interface      ... interface in EJB. The meaning of Remote interface in terms of Ejb is the java source
ejb
ejb  what is ejb   ejb is entity java bean
Struts integration with EJB in WEBLOGIC7
Struts integration with EJB in WEBLOGIC7  ... in WEBLOGIC-7 using STRUTS FRAMEWORK. The EJB specification provides Enterprise-level services. Typical services provided by the EJB Container are as follows
use of ejb - EJB
use of ejb  what is the use of ejb??  Hi friend, Some points to be remember for using ejb : * Applications developed by using.... * Managing the fast growing number of users requires distributed application
Simplified Application Development with Struts, Hibernate and Spring
Simplified Application Development with Struts, Hibernate and Spring..., Hibernate and Spring. By learning this tutorial you will get a better knowledge about different frame works like Hibernate, Spring and Struts, which
Implement mechanisms which support loose coupling between clients and components
; Implement mechanisms which support loose coupling between... of access beans that are specific to Application Developer. Since EJB... access beans, which employ the new technology. EJB factories are automatically

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.