Forums for the Business Analyst

  Modern Analyst Forums  Business and Sy...  Business Proces...  Why is the Java Spring Framework Called a "Lightweight" Framework?
Previous Previous
Next Next
New Post 2/21/2022 3:32 AM
User is offline Archana Agarwal
1 posts
No Ranking

Why is the Java Spring Framework Called a "Lightweight" Framework? 
Modified By Chris Adams  on 2/21/2022 1:36:55 PM)

While Java spring framework is not a lightweight framework, it is by no means heavyweight either. It can be used for large and small projects alike. Whether or not the Java spring framework is lightweight has more to do with how you are using the framework than the framework itself.

For example, you don't need to use all of Spring in order to gain value from it. For example, the Spring MVC component provides an excellent alternative to JSF or Struts for web applications, regardless of whether or not you are using Spring for other parts of your application. Similarly, the Spring JDBC component can be incorporated into an existing application without having to use other parts of the framework.

The main point is that Java Spring Framework is modular and flexible. You can use all or part of it depending on your needs. While many Java EE frameworks are available like Struts, JSF, Tapestry, Wicket, etc. Spring is called lightweight because it doesn't reinvent the wheel and builds on top of existing technologies and standards.

Java Spring framework is not a framework to develop a web application but rather a complete programming and configuration model for a Java-based enterprise application. It doesn't require an EJB container (nor applications server) to run your code. You can run your code in a simple servlet container such as Tomcat. You can use Spring MVC instead of JSF if you like.

Another reason why Spring is called lightweight: all the IOC stuff happens in memory. In contrast to these heavyweight EJB containers, you have an XML file that gets parsed at deployment time, and then an object graph is built out of these metadata, which resides in memory during runtime.

Previous Previous
Next Next
  Modern Analyst Forums  Business and Sy...  Business Proces...  Why is the Java Spring Framework Called a "Lightweight" Framework?

Community Blog - Latest Posts

A business analysis checklist helps you stay organized while you work through projects. It includes questions that will help you identify problems in your current processes, and suggest improvements for future projects. Understand the Problem Before you start writing code, you need to understand what problem you're solving. This means u...
I’ve heard “The End is Near!” for Business Analysts for almost 20 years.  Waterfall project management, with its need for formal requirements, is dead…a dinosaur…so 1990’s.  To be honest, that’s mostly true.  With the publishing of the Agile Manifesto in 2001 there was no need for a 2-inch-...
Business analysis is used to identify and articulate the need for change in how organizations work, and to facilitate that change. As business analysts, we identify and define the solutions that will maximize the value delivered by an organization to its stakeholders. We look for opportunities for new business models and new ways to work together. ...



Copyright 2006-2022 by Modern Analyst Media LLC