The Logic Of Spring Being Efficient as such
BY
Sibu Stephen
INDEX
1 Introduction
2 What is Spring Framework Meant For?
3 Comparison With other Framework
4 Survey from developers
5 Summary
6 References
Introduction
Spring Framework is used mainly to develop and support java
applications as such.
Spring framework avoids use of JMX ApI’s instead of which one can
make a simple local java Method using POJO’s(Plain old java
object’s).
What is Spring Framework Meant For?
Makes J2EE easier to use.
Address end-to-end requirements rather than one tier.
Facilitate unit testing.
Provide a good alternative to EJB for many applications.
Enhance productivity compared to JEE approaches.
Like for example-
One can make a Java method execute in a database transaction
without having to deal with transaction APIs. Or one can make a local
Java method a remote procedure without any need to deal with JMS
API’s or JMX API’s.
MVC Architecture is followed by many frameworks but the internal
API and the architecture followed may be different ,which makes that
particular framework a key differentiator.
Architecture-
In the architecture above the core container provides the main
functionality like IOc and dependency injection.
The Bean module provides BeanFactory.
The Context is specified for accessing objects as such,Application
Context is the main part of context.
SpEL provides language for data manipulation and Quering etc.
AOP is concept used in Spring where suppose if a class having a
prime importance is needed by other applications then one can
achieve that particular functionality through AOP which is(Aspect
oriented programming) for more info on AOP refer
www.journaldev.com/2583/spring-aop-example-tutorial-aspect-
advice pointcut-joinpoint-annotations- xml-configurat
Comparison With other Framework
Basically all framework follow same rule which is talking to database
and retrieving the information about a particular data from table and
passing it to the controller where Business logic is framed as to what
will be the procedure to be performed when that data is retrieved
from the table and then after making the necessary changes ,the
changes are displayed to the user.This is the basic step followed by
every architecture as such for example MVC(Model view controller)
is the module used by both Jsf and Spring framework as such but
JSF is different from MVC as it takes the abstraction to one level
above where one deal with Swing kind of notion. Though JSF is also
a MVC deep down but as an application developer you are not
exposed to it. In JSF the values and action are directly bound to
attributes and methods respectively on the back end.
Although Spring Framework is meant to use POJO’s which can be
used in ejb.The efficiency depends on how secure ,less
reductant,compactible can spring framework make a service as such.
Below are the few frameworks and how they work a bit different with
Spring framework.
Enterprise Application Framework
Java EE is an standard, officialy an Enterprise Application
Framework . Includes (ORM) Object-Relational Mapping, Security,
Web Applications, database connectivity, transactions.
JavaEE implements application servers like: JBoss, Glassfish,
WebSphere, Weblogic etc.
It uses following features-
1 JFC MVC framework for web development.
2 JPA implementation to process DB operation.
3 JTA API with implementation.
On the other hand Spring framework Uses Spring DAO
framework (based on Template design patter) to connect to
database.
Provide abstraction layer to support various JTA implementation
vendor.
Integrate with various Java vendor to support different capabilities
such easily integrate with struts etc.
Provide end to end platform to build web application achieving
loose coupling using DI and AOP.
Thus going by feature based on the features and module used one
can predict that the components used in Enterprise application
differs from the one’s used in spring framework but both spring as
well as enterprise framework follow the same procedure of storing
the data in a database and retrieving the same from the database
and integrating it with the XML file so that the mapping is
followed between a JSF page or other java vendors that provide’s
UI as a utility and integrating that component to display a result as
such.Every framework has it’s own functionality and has it’s own
implementation ,but proper efficiency of any framework depends
on how that framework uses it’s own components in a manner that
it satisfies it to fulfil with the ‘Best Programming rules’ as such.
.Net Framework with Spring
Key features include-
Strictly a web MVC framework.
Provides only pre-request processing.
ADO.NET is used to connect to Microsoft supported databases like
MSSQL Server, MS Access etc.
Unlike Spring, the programming interface for a MS SQL Server is
different from a MS Access. SQL Server is different from a MS
Access.
ADO.NET is capable of parsing XML data and writing into a XML
file .This feature is absent in Spring
Transaction management is provided byADO.NET, COM+ and
classes in the System. Transactions namespace.
Thus .Net framework provides a Complete IDE.
And reduced development cycles.
Survey from developers
These were the survey taken from the developers where the views
differ as to why spring framework is most efficient and the key
features involved in it as such.
Summary
Spring Framework is one of the Efficient framework ,considering the
fact that Spring framework has a special set of using component’s like
decorators and various plugins which when embedded would make it
more efficient framework apart from that spring framework provides
flexibility in using various plugins into it’s own framework which
would help the developer to gain ease of access to the other
environmental features
Spring Framework is efficient in terms of the ability to provide a full-
fledged programming capabilities through code optimization and
various other factors which together makes it one of the efficient
Framework’s available as such.

Comparison of spring and other frameworks.!

  • 1.
    The Logic OfSpring Being Efficient as such BY Sibu Stephen
  • 2.
    INDEX 1 Introduction 2 Whatis Spring Framework Meant For? 3 Comparison With other Framework 4 Survey from developers 5 Summary 6 References
  • 3.
    Introduction Spring Framework isused mainly to develop and support java applications as such. Spring framework avoids use of JMX ApI’s instead of which one can make a simple local java Method using POJO’s(Plain old java object’s).
  • 4.
    What is SpringFramework Meant For? Makes J2EE easier to use. Address end-to-end requirements rather than one tier. Facilitate unit testing. Provide a good alternative to EJB for many applications. Enhance productivity compared to JEE approaches. Like for example- One can make a Java method execute in a database transaction without having to deal with transaction APIs. Or one can make a local Java method a remote procedure without any need to deal with JMS API’s or JMX API’s. MVC Architecture is followed by many frameworks but the internal API and the architecture followed may be different ,which makes that particular framework a key differentiator.
  • 5.
    Architecture- In the architectureabove the core container provides the main functionality like IOc and dependency injection. The Bean module provides BeanFactory. The Context is specified for accessing objects as such,Application Context is the main part of context. SpEL provides language for data manipulation and Quering etc. AOP is concept used in Spring where suppose if a class having a prime importance is needed by other applications then one can achieve that particular functionality through AOP which is(Aspect oriented programming) for more info on AOP refer www.journaldev.com/2583/spring-aop-example-tutorial-aspect- advice pointcut-joinpoint-annotations- xml-configurat
  • 6.
    Comparison With otherFramework Basically all framework follow same rule which is talking to database and retrieving the information about a particular data from table and passing it to the controller where Business logic is framed as to what will be the procedure to be performed when that data is retrieved from the table and then after making the necessary changes ,the changes are displayed to the user.This is the basic step followed by every architecture as such for example MVC(Model view controller) is the module used by both Jsf and Spring framework as such but JSF is different from MVC as it takes the abstraction to one level above where one deal with Swing kind of notion. Though JSF is also a MVC deep down but as an application developer you are not exposed to it. In JSF the values and action are directly bound to attributes and methods respectively on the back end. Although Spring Framework is meant to use POJO’s which can be used in ejb.The efficiency depends on how secure ,less reductant,compactible can spring framework make a service as such. Below are the few frameworks and how they work a bit different with Spring framework.
  • 7.
    Enterprise Application Framework JavaEE is an standard, officialy an Enterprise Application Framework . Includes (ORM) Object-Relational Mapping, Security, Web Applications, database connectivity, transactions. JavaEE implements application servers like: JBoss, Glassfish, WebSphere, Weblogic etc. It uses following features- 1 JFC MVC framework for web development. 2 JPA implementation to process DB operation. 3 JTA API with implementation. On the other hand Spring framework Uses Spring DAO framework (based on Template design patter) to connect to database. Provide abstraction layer to support various JTA implementation vendor. Integrate with various Java vendor to support different capabilities such easily integrate with struts etc. Provide end to end platform to build web application achieving loose coupling using DI and AOP. Thus going by feature based on the features and module used one can predict that the components used in Enterprise application differs from the one’s used in spring framework but both spring as well as enterprise framework follow the same procedure of storing the data in a database and retrieving the same from the database and integrating it with the XML file so that the mapping is followed between a JSF page or other java vendors that provide’s UI as a utility and integrating that component to display a result as such.Every framework has it’s own functionality and has it’s own implementation ,but proper efficiency of any framework depends
  • 8.
    on how thatframework uses it’s own components in a manner that it satisfies it to fulfil with the ‘Best Programming rules’ as such.
  • 9.
    .Net Framework withSpring Key features include- Strictly a web MVC framework. Provides only pre-request processing. ADO.NET is used to connect to Microsoft supported databases like MSSQL Server, MS Access etc. Unlike Spring, the programming interface for a MS SQL Server is different from a MS Access. SQL Server is different from a MS Access. ADO.NET is capable of parsing XML data and writing into a XML file .This feature is absent in Spring Transaction management is provided byADO.NET, COM+ and classes in the System. Transactions namespace. Thus .Net framework provides a Complete IDE. And reduced development cycles.
  • 10.
    Survey from developers Thesewere the survey taken from the developers where the views differ as to why spring framework is most efficient and the key features involved in it as such.
  • 11.
    Summary Spring Framework isone of the Efficient framework ,considering the fact that Spring framework has a special set of using component’s like decorators and various plugins which when embedded would make it more efficient framework apart from that spring framework provides flexibility in using various plugins into it’s own framework which would help the developer to gain ease of access to the other environmental features Spring Framework is efficient in terms of the ability to provide a full- fledged programming capabilities through code optimization and various other factors which together makes it one of the efficient Framework’s available as such.