Spring Mvc

Páginas: 4 (892 palabras) Publicado: 23 de septiembre de 2011
Spring
MVC

Spring
MVC
Outline

Overview
of
MVC
paradigm
The
components
of
Spring
MVC
MVC
and
Dependency
Injection
Implementing
a
basic
ControllerCreating
a
simple
View
Configuring
a
Spring
MVC
application

Configuring
URL
mappings

Mapping
views
Grouping
request
handling
logic
with
MultiActionControllerHandling
form
posts

Adding
validation
Using
data
binding
Adding
error
reporting
Configuring
form
and
success
views

MVC
Overview

MVC
=
Model-View-ControllerClearly
separates
business,
navigation
and
presentation
logic
Proven
mechanism
for
building
a
thin,

clean
web-tier

MVC
Components

Three
core
collaboratingcomponents
Controller


Handles
navigation
logic
and
interacts
with
the
service
tier
for
business
logic
Model


The
contract
between
the
Controllerand
the
View

Contains
the
data
needed
to
render
the
View

Populated
by
the
Controller
View

Renders
the
response
to
the
request

Pulls
datafrom
the
model



Motivation
for
MVC

Eases
maintenance
burden

Changes
to
business
logic
are
less
likely
to
break
the
presentation
logic
Vice
versaFacilitates
multi-disciplined
team

development
Developers
can
focus
on
creating
robust
business
code
without
having
to
worry
about
breaking
the
UIDesigners
can
focus
on
building
usable
and
engaging
UIs
without
worrying
about
Java



Motivation
for
MVC

Use
the
best
tool
for
the
job

Java
isespecially
suited
to
creating
business
logic
code
Markup
or
templating
languages
are
more

suited
to
creating
HTML
layouts
Ease
testability
Business
and...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Crear Un Proyecto Spring MVC
  • Spring MVC vs Struts
  • manual spring MVC
  • MVC
  • Springo
  • MVC
  • Spring
  • 81210888 Desarrollando una aplicacion Spring Framework MVC v3 JPA paso a paso

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS