Struts(mrsurwar) ppt

M
“Struts Technology”

Presented By
Mahesh R Surwar
BEC,Bagalkot
AGENDA
 What

is Struts?

 Components

of Struts.

 Architecture.
 Model-View-Controller
 Conclusion.

Architecture.
What

is Struts?

A

strut is the framework for building Javabased Web applications. Using the ModelView-Controller (MVC) design pattern.

 Separate

display logic from business logic
using MVC




Model = business logic (data model)
View = presentation
Controller = navigational code between model
and view
 History





:

The Struts framework was created by Craig
R. McClanahan and was donated to the
Apache software foundation in 2000.
Since then it is a open source software.

 Struts

solves many of the problems
associated with developing highperformance, business-oriented Web
applications that use Java Servlets and
JSP.
Components
 Base



Framework :

provides the core MVC functionality and is
comprised of the building blocks for your
application.

 JSP



of Struts

Tag Libraries :

tag libraries enable JSP authors to use
HTML-like tags to represent functionality
that is defined by a Java class.
 HTML
 Bean
 Logic
 Nested
Components
 Tiles



Plug-in :

a rich JSP templating framework that
facilitates the reuse of presentation (HTML)
code.

 Validator



of Struts

Plug-in :

provides a rich framework for performing
data validation on both the server side and
client side (browser).
Architecture
 Model





1 Architecture :

A request is made to a JSP or servlet and
then that JSP or servlet handles all
responsibilities for the request.
including processing the request, validating
data, handling the business logic, and
generating a response.
Model 1 Architecture :
 Model









2 Architecture :

In the MVC architecture, a central servlet,
known as the Controller, receives all requests
for the application.
The Controller then processes the request and
works with the Model to prepare any data
needed by the View (which is usually a JSP)
and forwards the data to a JSP.
The JSP then uses the data prepared by the
Controller to generate a response to the
browser.
Business and presentation logic are separated
from each other.
Model 2 Architecture :
Model-View-Controller

Architecture
 Model




provide an interface to the data and services used
by an application.
They communicate with the model components
that perform data access and manipulation.

 View



Components :

Components :

generate the response to the browser. view
components are simple JSPs or HTML pages.
Model-View-Controller

Architecture
 Controller





Components :

The Controller is typically a servlet that
receives requests for the application and
manages the flow of data between the Model
layer and the View layer.
It controls the way that the Model and View
layers interact.
Conclusion
Takes much of the complexity out of building
your own Web Application
 Free to develop & open source
 Stable & Mature
 Feature-rich
 Flexible & Extendable
 Large User Community, Expert Developers
 Rich tag library (html, bean tags etc)
 Easy to test and debug
 Encourages good design practice and modeling

Thank you
1 von 14

Recomendados

Struts introduction von
Struts introductionStruts introduction
Struts introductionMuthukumaran Subramanian
1.5K views8 Folien
Introduction to Struts 1.3 von
Introduction to Struts 1.3Introduction to Struts 1.3
Introduction to Struts 1.3Ilio Catallo
16.3K views38 Folien
Struts presentation von
Struts presentationStruts presentation
Struts presentationNicolaescu Petru
1.9K views15 Folien
Struts von
StrutsStruts
Strutss4al_com
1.7K views26 Folien
Struts Basics von
Struts BasicsStruts Basics
Struts BasicsHarjinder Singh
4.4K views120 Folien
Struts ppt 1 von
Struts ppt 1Struts ppt 1
Struts ppt 1pavanteja86
2.6K views8 Folien

Más contenido relacionado

Was ist angesagt?

Struts & hibernate ppt von
Struts & hibernate pptStruts & hibernate ppt
Struts & hibernate pptPankaj Patel
2K views19 Folien
Introduction to struts von
Introduction to strutsIntroduction to struts
Introduction to strutsMindfire Solutions
2.3K views23 Folien
Step by Step Guide for building a simple Struts Application von
Step by Step Guide for building a simple Struts ApplicationStep by Step Guide for building a simple Struts Application
Step by Step Guide for building a simple Struts Applicationelliando dias
1.9K views43 Folien
Jsp with mvc von
Jsp with mvcJsp with mvc
Jsp with mvcvamsitricks
2.8K views10 Folien
Introduction to ejb and struts framework von
Introduction to ejb and struts frameworkIntroduction to ejb and struts framework
Introduction to ejb and struts frameworks4al_com
1.3K views23 Folien

Was ist angesagt?(20)

Step by Step Guide for building a simple Struts Application von elliando dias
Step by Step Guide for building a simple Struts ApplicationStep by Step Guide for building a simple Struts Application
Step by Step Guide for building a simple Struts Application
elliando dias1.9K views
Introduction to ejb and struts framework von s4al_com
Introduction to ejb and struts frameworkIntroduction to ejb and struts framework
Introduction to ejb and struts framework
s4al_com1.3K views
MVC ppt presentation von Bhavin Shah
MVC ppt presentationMVC ppt presentation
MVC ppt presentation
Bhavin Shah14K views
Mvc pattern and implementation in java fair von Tech_MX
Mvc   pattern   and implementation   in   java fairMvc   pattern   and implementation   in   java fair
Mvc pattern and implementation in java fair
Tech_MX3.6K views
Just a View: An Introduction To Model-View-Controller Pattern von Aaron Nordyke
Just a View:  An Introduction To Model-View-Controller PatternJust a View:  An Introduction To Model-View-Controller Pattern
Just a View: An Introduction To Model-View-Controller Pattern
Aaron Nordyke2.4K views
MVC von akshin
MVCMVC
MVC
akshin2K views

Similar a Struts(mrsurwar) ppt

Month 2 report von
Month 2 reportMonth 2 report
Month 2 reportPRIYANKA FNU
67 views7 Folien
Asp.net mvc von
Asp.net mvcAsp.net mvc
Asp.net mvcTaranjeet Singh
248 views21 Folien
Mvc von
MvcMvc
Mvcabhigad
579 views14 Folien
Spring Framework von
Spring Framework  Spring Framework
Spring Framework tola99
1.2K views189 Folien
Spring Framework-II von
Spring Framework-IISpring Framework-II
Spring Framework-IIPeople Strategists
1.3K views53 Folien
An overview of microsoft mvc dot net von
An overview of microsoft mvc dot netAn overview of microsoft mvc dot net
An overview of microsoft mvc dot netneha sharma
100 views8 Folien

Similar a Struts(mrsurwar) ppt(20)

Mvc von abhigad
MvcMvc
Mvc
abhigad579 views
Spring Framework von tola99
Spring Framework  Spring Framework
Spring Framework
tola991.2K views
An overview of microsoft mvc dot net von neha sharma
An overview of microsoft mvc dot netAn overview of microsoft mvc dot net
An overview of microsoft mvc dot net
neha sharma100 views
Technoligent providing custom ASP.NET MVC development services von Aaron Jacobson
Technoligent providing custom ASP.NET MVC development servicesTechnoligent providing custom ASP.NET MVC development services
Technoligent providing custom ASP.NET MVC development services
Aaron Jacobson878 views
Cs 1023 lec 2 (week 1) edit 1 von stanbridge
Cs 1023  lec 2 (week 1) edit 1Cs 1023  lec 2 (week 1) edit 1
Cs 1023 lec 2 (week 1) edit 1
stanbridge264 views
Cs 1023 lec 2 (week 1) edit 1 von stanbridge
Cs 1023  lec 2 (week 1) edit 1Cs 1023  lec 2 (week 1) edit 1
Cs 1023 lec 2 (week 1) edit 1
stanbridge126 views
ASP .NET MVC von eldorina
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
eldorina1K views
Struts notes von dssreenath
Struts notesStruts notes
Struts notes
dssreenath12.4K views
Introduction to j2 ee frameworks von Mukesh Kumar
Introduction to j2 ee frameworksIntroduction to j2 ee frameworks
Introduction to j2 ee frameworks
Mukesh Kumar457 views
Programming is Fun with ASP.NET MVC von Ian Carnaghan
Programming is Fun with ASP.NET MVCProgramming is Fun with ASP.NET MVC
Programming is Fun with ASP.NET MVC
Ian Carnaghan10.7K views
Web tier-framework-mvc von KashfUlHuda1
Web tier-framework-mvcWeb tier-framework-mvc
Web tier-framework-mvc
KashfUlHuda1446 views
Struts 2 Overview von skill-guru
Struts 2 OverviewStruts 2 Overview
Struts 2 Overview
skill-guru2.6K views

Último

Google solution challenge..pptx von
Google solution challenge..pptxGoogle solution challenge..pptx
Google solution challenge..pptxChitreshGyanani1
98 views18 Folien
GSoC 2024 von
GSoC 2024GSoC 2024
GSoC 2024DeveloperStudentClub10
68 views15 Folien
Use of Probiotics in Aquaculture.pptx von
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptxAKSHAY MANDAL
89 views15 Folien
Classification of crude drugs.pptx von
Classification of crude drugs.pptxClassification of crude drugs.pptx
Classification of crude drugs.pptxGayatriPatra14
77 views13 Folien
Sociology KS5 von
Sociology KS5Sociology KS5
Sociology KS5WestHatch
64 views23 Folien
AUDIENCE - BANDURA.pptx von
AUDIENCE - BANDURA.pptxAUDIENCE - BANDURA.pptx
AUDIENCE - BANDURA.pptxiammrhaywood
69 views44 Folien

Último(20)

Use of Probiotics in Aquaculture.pptx von AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL89 views
Classification of crude drugs.pptx von GayatriPatra14
Classification of crude drugs.pptxClassification of crude drugs.pptx
Classification of crude drugs.pptx
GayatriPatra1477 views
Sociology KS5 von WestHatch
Sociology KS5Sociology KS5
Sociology KS5
WestHatch64 views
Solar System and Galaxies.pptx von DrHafizKosar
Solar System and Galaxies.pptxSolar System and Galaxies.pptx
Solar System and Galaxies.pptx
DrHafizKosar85 views
Education and Diversity.pptx von DrHafizKosar
Education and Diversity.pptxEducation and Diversity.pptx
Education and Diversity.pptx
DrHafizKosar118 views
Psychology KS5 von WestHatch
Psychology KS5Psychology KS5
Psychology KS5
WestHatch77 views
11.28.23 Social Capital and Social Exclusion.pptx von mary850239
11.28.23 Social Capital and Social Exclusion.pptx11.28.23 Social Capital and Social Exclusion.pptx
11.28.23 Social Capital and Social Exclusion.pptx
mary850239281 views
Structure and Functions of Cell.pdf von Nithya Murugan
Structure and Functions of Cell.pdfStructure and Functions of Cell.pdf
Structure and Functions of Cell.pdf
Nithya Murugan368 views
Narration ppt.pptx von TARIQ KHAN
Narration  ppt.pptxNarration  ppt.pptx
Narration ppt.pptx
TARIQ KHAN119 views
The basics - information, data, technology and systems.pdf von JonathanCovena1
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdf
JonathanCovena188 views
Scope of Biochemistry.pptx von shoba shoba
Scope of Biochemistry.pptxScope of Biochemistry.pptx
Scope of Biochemistry.pptx
shoba shoba124 views
Narration lesson plan.docx von TARIQ KHAN
Narration lesson plan.docxNarration lesson plan.docx
Narration lesson plan.docx
TARIQ KHAN104 views

Struts(mrsurwar) ppt

  • 2. AGENDA  What is Struts?  Components of Struts.  Architecture.  Model-View-Controller  Conclusion. Architecture.
  • 3. What is Struts? A strut is the framework for building Javabased Web applications. Using the ModelView-Controller (MVC) design pattern.  Separate display logic from business logic using MVC    Model = business logic (data model) View = presentation Controller = navigational code between model and view
  • 4.  History   : The Struts framework was created by Craig R. McClanahan and was donated to the Apache software foundation in 2000. Since then it is a open source software.  Struts solves many of the problems associated with developing highperformance, business-oriented Web applications that use Java Servlets and JSP.
  • 5. Components  Base  Framework : provides the core MVC functionality and is comprised of the building blocks for your application.  JSP  of Struts Tag Libraries : tag libraries enable JSP authors to use HTML-like tags to represent functionality that is defined by a Java class.  HTML  Bean  Logic  Nested
  • 6. Components  Tiles  Plug-in : a rich JSP templating framework that facilitates the reuse of presentation (HTML) code.  Validator  of Struts Plug-in : provides a rich framework for performing data validation on both the server side and client side (browser).
  • 7. Architecture  Model   1 Architecture : A request is made to a JSP or servlet and then that JSP or servlet handles all responsibilities for the request. including processing the request, validating data, handling the business logic, and generating a response.
  • 9.  Model     2 Architecture : In the MVC architecture, a central servlet, known as the Controller, receives all requests for the application. The Controller then processes the request and works with the Model to prepare any data needed by the View (which is usually a JSP) and forwards the data to a JSP. The JSP then uses the data prepared by the Controller to generate a response to the browser. Business and presentation logic are separated from each other.
  • 11. Model-View-Controller Architecture  Model   provide an interface to the data and services used by an application. They communicate with the model components that perform data access and manipulation.  View  Components : Components : generate the response to the browser. view components are simple JSPs or HTML pages.
  • 12. Model-View-Controller Architecture  Controller   Components : The Controller is typically a servlet that receives requests for the application and manages the flow of data between the Model layer and the View layer. It controls the way that the Model and View layers interact.
  • 13. Conclusion Takes much of the complexity out of building your own Web Application  Free to develop & open source  Stable & Mature  Feature-rich  Flexible & Extendable  Large User Community, Expert Developers  Rich tag library (html, bean tags etc)  Easy to test and debug  Encourages good design practice and modeling 