• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Struts2 » Framework
Next →
← Prev

Framework

By Dinesh Thakur

We can develop applications by without using any framework in java. But the application development is very slow and we can’t get any additional container provided services.

If we used framework then an application development is becomes faster and apart from container services we can get, additional services from the framework. So we used frameworks for the development of Real world Application.

We’ll be covering the following topics in this tutorial:

  • What is Framework?
  • Rules to be followed by frameworks:

What is Framework?

A framework collection of services i.e. develop based on core technologies having the ability to generate the common logics of application dynamically. Which can be reused across multiple applications? Based on other application specific logics given by programmer, which provide set of libraries and these libraries are used in order to make an application development faster. A library is nothing but a JAR file it is similar to zip file contains set of java classes.

Framework software simplifies the process of application development for programmer by reduce the overhead jobs such as capture user input or to generate drop down list boxes. It just focuses on the business logic and the presentation layer of the application.

Framework software provides abstraction layer on core technologies and simplifies the process of application development for programmers. Every framework software internally uses certain core technologies but it makes programmer not to worry about core technologies (nothing about abstract layer) while developing framework based software application.

If we develop MVC2 architecture based web application by taking servlet, JSP core technologies then all the logics of all the layers must be developed by the programmers manually from scratch level. If you develop same application by using struts framework then the controller layer indication logic will be generated dynamically and programmers just need to concentrate only on view layer, model layer logic development.

This improves the productivity of web application development.

Frameworks are divided into two types.

1. Non-invasive or Non Intrusive

2. Invasive

Non-invasive framework means it does not force a programmer, to extend and to implement their classes from any predefine class or an interface given by that framework. Invasive framework means it forces the programmer to extend or implement their classes from a predefine class or an interface given by that framework.

For example:

             Spring, Hibernate are Non-invasive frameworks.

             Where as struts is an invasive framework.

Rules to be followed by frameworks:

1. Every framework is non installable software.

2. Each framework contains a high-level object and it is responsible for creating the remaining low level objects.

3. Each framework application contains atleast on configuration file of the framework.

You’ll also like:

  1. Struts 2 Framework Architecture
  2. What is Dot Net Framework
  3. Anthony’s Framework for Understanding MIS
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Structs Tutorials

Structs Tutorials

  • Struts - MVC Architecture
  • Struts - Framework Architecture
  • Struts - Struts2 Vs Struts1
  • Struts - Examples
  • Struts - Actions
  • Struts - Overview
  • Struts - Framework

Other Links

  • Structs - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW