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
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.
What you will learn from this book
- Set up the key components of an enterprise development environment
- Get to grips with practical database design strategies using MySQL
- Practice JPA concepts and database reverse engineering using Netbeans
- Access data using the DAO design pattern and Spring
- Implement practical testing strategies using Maven and JUnit
- Build a comprehensive service layer to encapsulate business logic
- Leverage the best of Spring Web controllers for enterprise use
- Implement a dynamic ExtJS user interface using Sencha MVC
- Understand and control the Maven build process
- Configure and deploy to a production Glassfish environment
An easy-to-follow tutorial, that breaks down the enterprise application development journey into easy to understand phases documented by clear examples and concise explanations.