更新时间:2021-07-21 17:57:52
coverpage
Enterprise Application Development with Ext JS and Spring
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What the book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Preparing Your Development Environment
Installing MySQL
Installing the Java SE Development Kit (JDK)
Installing the NetBeans IDE
Introducing Maven
Creating the Maven Web Application project
Starting the GlassFish 4 server
Running the Task Time Tracker project
Summary
Chapter 2. The Task Time Tracker Database
Connecting NetBeans with MySQL
The 3T database
Enterprise options for the 3T database
Chapter 3. Reverse Engineering the Domain Layer with JPA
Understanding the reasons for using JPA
Understanding JPA implementations
Reverse engineering with NetBeans
Introducing the persistence.xml file
Refactoring the Java classes
Introducing the Java Persistence Query Language
Refactoring Java equals() and hashCode()
Chapter 4. Data Access Made Easy
Defining the DAO interfaces
Defining the generic DAO implementation
Defining the DAO implementations
A better domain layer
Exercise – a simple change request
Chapter 5. Testing the DAO Layer with Spring and JUnit
Unit testing overview
Configuring the test environment
Introducing the Spring IoC container
Defining a test case superclass
Defining the CompanyDao test case
Running the JUnit test cases with Maven
JPA traps for the unwary
Exercises
Chapter 6. Back to Business – The Service Layer
Service layer considerations
Building the service layer
The service layer interfaces
Implementing the service layer
Testing the service layer
Automating the service layer tests
Chapter 7. The Web Request Handling Layer
A brief history of Web MVC
Request handling for enterprise web applications
Building the request handling layer
Creating the request handlers
The Spring HandlerInterceptor interface
The Spring MVC configuration
Defining the TaskLogHandler class
More on Spring MVC
Chapter 8. Running 3T on GlassFish
Configuring the 3T web application
Configuring the Maven pom.xml file
Adding eclipselink.target-server to the persistence.xml file
Adding the logback.xml file to your resources directory
Configuring the GlassFish server
Running 3T
Managing GlassFish without NetBeans
Chapter 9. Getting Started with Ext JS 4
The importance of application design
Ext JS 4 MVC concepts
Ext JS 4 design conventions and concepts
Practical conventions
The Ext JS 4 development environment
Generating the 3T Ext JS 4 application skeleton
Creating components using Sencha Cmd
Chapter 10. Logging On and Maintaining Users
Layouts screens and workflows
Building our views
Models and persistence
Controlling the Logon and Viewport actions
Controlling our user views
Let's log on!