Cargando…

Spring MVC.

About This BookWork through carefully crafted exercises with detailed explanations for each step will help you understand the concepts with easeYou will gain a clear understanding of the end-to-end request/response life cycle, and each logical component's responsibilityThis book is packed with...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ganeshan, Amuthan
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, 2016.
Edición:2nd ed.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Configuring a Spring Development Environment; Setting up Java; [Time for action
  • installing JDK]; Time for action
  • installing JDK; Time for action
  • setting up environment variables; Configuring a build tool; [Time for action
  • installing the Maven build tool]; Time for action
  • installing the Maven build tool; Installing a web server; [Time for action
  • installing the Tomcat web server]; Time for action
  • installing the Tomcat web server.
  • Configuring a development environment[Time for action
  • installing Spring Tool Suite]; Time for action
  • installing Spring Tool Suite; Time for action
  • configuring Maven on STS; Time for action
  • configuring Tomcat on STS; Creating our first Spring MVC project; [Time for action
  • creating a Spring MVC project in STS]; Time for action
  • creating a Spring MVC project in STS; Time for action
  • adding Java version properties in pom.xml; What just happened?; Spring MVC dependencies; Time for action
  • adding Spring jars to the project; What just happened?; A jump-start to MVC.
  • Time for action
  • adding a welcome pageWhat just happened?; The Dispatcher servlet; Time for action
  • configuring the Dispatcher servlet; What just happened?; Deploying our project; [Time for action
  • running the project]; Time for action
  • running the project; Summary; Chapter 2: Spring MVC Architecture
  • Architecting Your Web Store; Dispatcher servlet; [Time for action
  • examining request mapping]; Time for action
  • examining request mapping; What just happened?; Pop quiz
  • request mapping; Understanding the Dispatcher servlet configuration; [Time for action
  • examining the servlet mapping].
  • Time for action
  • examining the servlet mappingWhat just happened?; Servlet mapping versus request mapping; Pop quiz
  • servlet mapping; Web application context; View resolvers; Time for action
  • understanding web application context; What just happened?; Understanding the web application context configuration; [Pop quiz
  • web application context configuration]; Pop quiz
  • web application context configuration; Model View Controller; Overview of the Spring MVC request flow; The web application architecture; The Domain layer; Time for action
  • creating a domain object; What just happened?
  • The Persistence layerTime for action
  • creating a repository object; What just happened?; The Service layer; Time for action
  • creating a service object; What just happened?; Have a go hero
  • accessing the product domain object via a service; An overview of the web application architecture; [Have a go hero
  • listing all our customers]; Have a go hero
  • listing all our customers; Summary; Chapter 3: Control Your Store with Controllers; The role of a Controller in Spring MVC; Defining a Controller; [Time for action
  • adding class-level request mapping].
  • Time for action
  • adding class-level request mapping.