售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Spring MVC Blueprints
Spring MVC Blueprints
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Creating a Personal Web Portal (PWP)
Overview of the project
Technical requirements
Setting-up the development environment
Converting a dynamic web project to a Maven project
Creating a Maven project from scratch
The pom.xml file
Project deployment
Maven deployment process
Project libraries and dependencies
Overview of the Spring MVC specification
The project development
Configuring the DispatcherServlet
Creating the Spring container
Spring container configuration using XML
Spring container configuration using JavaConfig
Configuring the Spring container
Creating the controllers
The PWP controllers
Using @ModelAttribute and @SessionAttributes
Form domain objects
The ViewResolver and view configuration
Actual view pages
Validating Form Data
Validation using JSR 303
Domain data type conversion and filtering
E-mail configuration
The Personal Web Portal (PWP) project
Challenge yourself
Summary
2. Electronic Document Management Systems (EDMS)
Overview of the project
Technical requirement
The pom.xml
The process flow
The project development
Configuring the DispatcherServlet
Creating the Spring container
Creating exception handling for multipart requests
Creating the controllers
Uploading a single document
Uploading multiple documents
Uploading single or multiple documents into the FTP server
Uploading single or multiple files asynchronously
Uploading documents with encryption/decryption
Downloading individual documents from the file system
Downloading individual documents from the FTP server
The form domains
The views
The validators
The EDMS project
Challenge yourself
Summary
3. Student Management Portal (SMP)
An overview of the project
Technical requirements
Implementation A – using the Spring JDBC plugin
Implementation C – using Spring and MyBatis frameworks
Implementation B – using Spring and Hibernate frameworks
Implementation D – using Spring, JPA and Hibernate Frameworks
Software design overview
Configuring the DispatcherServlet
The SMP database
Creating the Spring containers
Implementation A – using a Spring JDBC plugin
jdbc.xml
dao_services.xml
smp_servlet.xml
Implementation B – using Spring and MyBatis frameworks
jdbc.xml
dao_services.xml
Implementation C – using Spring and Hibernate frameworks
jdbc.xml
hibernate.cfg.xml
Implementation D – using Spring, JPA and Hibernate frameworks
jdbc.xml
The persistence.xml
The Data Access Object (DAO) layer
Implementation A – using the Spring JDBC plugin
Implementation B – using Spring and MyBatis Frameworks
Implementation C – using Spring and Hibernate frameworks
Implementation D – using Spring, JPA and Hibernate frameworks
The service layer
Implementation A – using the Spring JDBC plugin
Implementation B – using Spring and MyBatis frameworks
Implementation C – using Spring and Hibernate frameworks
Implementation D – using Spring, JPA and Hibernate frameworks
The data domain layer
Implementation A – using a Spring JDBC plugin
Implementation B – using Spring and MyBatis frameworks
Implementation C – using Spring and Hibernate frameworks
Implementation D – using Spring, JPA and Hibernate frameworks
The controllers
The validators and type conversion
The interceptors
The Aspect, Advice and PointCut
The views
The Student Management Portal (SMP)
Challenge yourself
Summary
4. Human Resource Management System (HRMS)
Overview of the project
Technical requirements
iText 5.x
Apache POI
JExcelAPI
JasperReports
iReport 5.6.0 Visual Designer
DynamicReports
Freemarker Template Language (FTL)
Velocity
JFreeChart
Google Chart
ROME
Software testing libraries
The HRMS database
Data modeling framework
Integrating charts and graphs
Configuring the ViewResolver
The administrator's analytics
The DAO and service layers
The controllers
Line chart
XY line chart
2D bar chart
2D pie chart
Other JFreeChart graphs
The view pages
The HR manager's analytics
The DAO and service layers
The controllers
Line chart
Bar chart
Other Google Chart graphs
The view pages
Integrating reports
PDF document generation using iText 5.x
Excel sheet generation using POI
Excel sheet generation using JExcelAPI
Report generation using JasperReports
Report generation using DynamicReports
Report generation using ContentNegotiatingViewResolver
Generating reports using HTML
FreeMarker Template Language (FTL)
tbl_header.ftl
tbl_body.ftl
tbl_footer.ftl
Velocity
header.vm
footer.vm
Generating news feeds
RSS feeds
Atom Feeds
Handling exceptions
Software testing
Building the test class for unit testing
Building the test class for integration testing
Building the test class for MVC testing
JVM memory management
Client-side visualization
The Human Resource Management System (HRMS)
Challenge yourself
Summary
5. Customer Feedback System (CFS)
Overview of the project
Technical requirements
Captcha libraries
reCaptcha
BotDetect
JCaptcha
SimpleCaptcha
Kaptcha
SendGrid library
The CFS database
Data modeling framework
The Captcha
Posting topics and issues
Adding topics
The reCaptcha controller
The reCaptcha View
Editing topics
The BotDetect controller
The BotDetect view
Giving feedback
The Kaptcha controller
The Kaptcha view
Editing feedback
The SimpleCaptcha controller
The SimpleCaptcha view
E-mail Feedback
The JCaptcha controller
The JCaptcha view
The SendGrid service
The Customer Feedback System (CSF)
Challenge yourself
Summary
6. Hotel Management System (HMS)
Overview of the project
Technical Requirements
Angular JS
JQuery
Twitter Bootstrap
Kickstrap
ExtJS
Thymeleaf
Apache Tiles Framework
SiteMesh
Spring mobile
Spring Roo
The HMS Database
User Experience (UX) design issues
Adaptive web design
Responsive web design
Designing themes
Spring MVC theme support
The Spring Theme configuration
Kickstrap Theme Designs
Kickstrap configuration
Layout design types
Responsive design in Kickstrap
UI components styles
Theme support
Twitter Bootstrap theme design
Fixed grid layout design
Fluid grid layout design
Responsive layout design in Bootstrap
UI components styles
The Thymeleaf design
Configuration
Thymeleaf expressions
Layout and theme
Form handling using Thymeleaf
Rendering results
Internationalization support
Thymeleaf layout design with fragments
Creating intelligent web components
AngularJS
Configuration
The Angular module
ExtJS
The application container
The data model
The data store
The ExtJS view
Controller
The admin room type view
Creating web layouts
Apache tiles 3
Configuration
Creating the template file
Creating the definition file
Adaptive layout design in tiles
SiteMesh 3
Configuration
Creating the decorator
Adaptive layout design in SiteMesh
Spring's internationalization support
Configuration
Creating the resource bundles
The Controller
The View
Velocity, FreeMarker, and Rhythm
Advantage and disadvantage of Velocity
Advantage and disadvantage of FreeMarker
Advantage and disadvantage of Rythm
Spring mobile
Configuration
Device detection
URL Mapping
The Controller
Spring Roo
The Hotel Management System (HMS)
Challenge yourself
Summary
7. Online Cart System (OCS)
Overview of the project
Technical requirements
Spring security
BPMN Activiti
Spring Web Flow
Java Transaction API (JTA)
Bitronix
Spring MVC Portlet
Apache Pluto
JRebel
The OCS database
Data modeling framework
The software prototypes
Spring security implementation
Configuring the DelegatingFilterProxy
Creating the security beans
The <http> tag
The custom login page
Non-Restricted views
Restricted views
Roles and permissions
Types of web authorization
Authentication filter processing
Authentication manager
The UserDetailServiceDao
Password encoding
Authentication failure and success handlers
Session management
Session timeout
URL rewriting
Access denied page
Session fixation protection
Cross-site request forgery
Custom logout page
Post-login transaction
Transaction management using JTA
JTA manager and JEE servers
Tomcat and Bitronix configuration
JNDI configuration
Spring and JTA manager configuration
Bitronix transaction manager (BTM) and JTA
The persistence.xml
JTA DAO transactions
Tomcat 7 and BTM integration
Process and navigation management
Managing workflow using Activiti BPMN 2.0
Database configuration
Database transaction manager
BPMN 2.0 process definition
The process engine
Built-In Activiti services
The controllers
The services
Spring and BPMN layers
Managing workflow using Spring Web Flow
Web flow configuration
Web flow definition
View-states
State transitions
End states
Flow actions
Variable scopes
Spring MVC portlet
OCS as a portal
Controllers
Portlet modes
Portlet views
Application context configuration
Portlet configuration
Defining portlets as portal servlets
Apache Pluto deployment
Spring Cache
Types of cache
Configure caching
Ehcache.xml
Hot deployment using JRebel
Online Cart System (OCS)
Challenge yourself
Summary
8. Enterprise Resource Planning (ERP)
Overview of the project
Technical requirement
Spring Web Services
JAX-WS integration
JAX-RS integration
Jersey RS
RestEasy RS
CXF integration
Axis2 integration
XFire integration
HttpInvoker remoting
Burlap and Hessian remoting
Remote Method Invocation
JMS
Advanced Message Queuing Protocol
ActiveMQ
RabbitMQ
Spring Social
SoapUI
The ERP databases
Data modeling framework
Multiple JNDI data sources
The concept of web services
Consumer-producer relationship
The Spring REST architecture
The Spring-WS Framework
Contract-First versus Contract-Last strategies
Web service generation
Client code generation
JAX-WS
Web service generation (document-based)
Client code generation (document-based)
Web service generation (RPC based)
Client code generation (RPC based)
JAX-RS (RESTful) web services
Web service generation (Jersey)
Media type problem
Web service generation (RestEasy)
Axis2 web service implementation
Web service generation
Web client generation
CXF web service implementation
Web service generation
XFire web service implementation
Web service generation
Web client generation
HttpInvoker, Burlap, and Hessian remoting
Remoting through HttpInvoker
Accessing HttpInvoker services
Remoting through Burlap
Accessing Burlap services
Remoting through Hessian
Accessing Hessian services
Spring containers for remoting
Remote Method Invocation
JMS using ApacheMQ
AMQP using RabbitMQ
Spring Social
The ERP
Challenge yourself
Summary
9. Bus Ticketing System (BTS)
Overview of the project
Technical requirements
AJAX
jQuery
Prototype framework
Dojo
RestEasy AJAX
DWR
WebSocket
jQGrid
The BTS database
Data modeling framework
AJAX and Spring integration
Custom AJAX development
jQuery AJAX
Prototype AJAX
Dojo AJAX
RestEasy JSAPI
Direct web remoting
WebSocket
jQGrid
Google Chart visualization
The Bus Ticketing System (BTS)
Challenge yourself
Summary
10. Social Task Management System (STMS)
Overview of the project
Technical requirements
Spring Data JPA
Spring Data MongoDB
Spring Data REST
Spring Data Solr
Neo4J
Spring integration
Collaborative data analysis concept
Database configuration
Spring Data JPA configuration
Spring Data MongoDB configuration
Database search techniques
Document-based and full-text search
Configuring the Solr server
The Spring-Solr integration
The Spring-Neo4J integration
Configuring the Neo4J graph search server
Spring-Neo4J integration
Integration pitfalls
Codeless REST implementation
Enterprise integration architecture
Social task management system
Challenge yourself
Summary
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜