Book description
Designed for intermediate developers, this superb tutorial will lead you step by step through the process of developing enterprise web applications combining two leading-edge frameworks. Take a big leap forward in easy stages.
- Embark on the exciting journey through the entire enterprise web application development lifecycle
- Leverage key Spring Framework concepts to deliver comprehensive and concise Java code
- Build a real world ExtJS web application that interacts with dynamic database driven data
In Detail
Spring and ExtJS are cutting edge frameworks that allow us to build high performance web applications for modern devices, that are now consuming data at a faster rate than ever before. It is the appropriate time for you to understand how to best leverage these technologies when architecting, designing, and developing large scale web development projects.
This practical guide condenses an approach to web development that was gained from real world projects, and outlines a simple, practical approach to developing high performance, and enterprise grade web applications.
Starting with configuring Java, Netbeans, and MySQL to prepare your development environment, you will then learn how to connect your Netbeans IDE to the MySQL database server. We will then explore the Task Time Tracker (3T) project database structure and populate these tables with test data.
Following on from this, we will examine core JPA concepts after reverse engineering the domain layer with Netbeans. Leveraging the Data Access Object design pattern, you will learn how to build the Java DAO implementation layer assisted by generics in base classes, followed by a Data Transfer Object enabled service layer to encapsulate the business logic of your 3T application.
The final chapters that focus on Java explore how to implement the request handling layer using Spring annotated controllers, and deploy the 3T application to the Glassfish server. We will then configure the ExtJS 4 development environment and introduce key ExtJS 4 concepts, including MVC and practical design conventions.
Covering a variety of important ExtJS 4 strategies and concepts, you will be fully-equipped to implement a variety of different user interfaces using the ExtJS MVC design pattern. Your journey ends by exploring the production build and deployment process using Maven, Sencha Cmd and Glassfish.
Table of contents
-
Enterprise Application Development with Ext JS and Spring
- Table of Contents
- Enterprise Application Development with Ext JS and Spring
- Credits
- About the Author
- Acknowledgments
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Preparing Your Development Environment
- 2. The Task Time Tracker Database
-
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()
- Summary
- 4. Data Access Made Easy
-
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
- Running the CompanyDaoTest.java file
- The results for the CompanyDaoTests.testMerge test case
- The results for the CompanyDaoTests.testFindAll test case
- The results for the CompanyDaoTests.testFind test case
- Results for the CompanyDaoTests.testPersist test case
- Results for the CompanyDaoTests.testRemove test case
- JPA traps for the unwary
- Exercises
- Summary
- 6. Back to Business – The Service Layer
- 7. The Web Request Handling Layer
- 8. Running 3T on GlassFish
- 9. Getting Started with Ext JS 4
- 10. Logging On and Maintaining Users
- 11. Building the Task Log User Interface
- 12. 3T Administration Made Easy
- 13. Moving Your Application to Production
- A. Introducing Spring Data JPA
- Index
Product information
- Title: Enterprise Application Development with Ext JS and Spring
- Author(s):
- Release date: December 2013
- Publisher(s): Packt Publishing
- ISBN: 9781783285457
You might also like
book
Ext JS in Action, Second Edition
Ext JS in Action, Second Edition starts with a quick overview of the framework and then …
book
Mastering Ext JS - Second Edition
Learn how to develop advanced and efficient Internet applications with Ext JS In Detail This book …
book
Ext JS Application Development Blueprints
Develop robust and maintainable projects that exceed client expectations using Ext JS In Detail Ext JS …
book
Learning Ext JS - Fourth Edition
Create powerful web applications with the new and improved Ext JS 5 library In Detail The …