Web development is still one of today's most popular, active, and important programming and development activities. From a single web page to an e-commerce-enabled web site to a fully-fledged web application, the Java programming language and its frameworks allow you great flexibility and productivity for your web application development.
Learn Java for Web Development teaches web developers who are new to Java key skills, Java-based languages, and frameworks to build simple or complex web sites and applications. As soon as you pick up this book, Vishal Layka's experience guides you on a very practical learning and building journey.
You will learn the Java nuts and bolts necessary to build a simple "HelloWorld" Java (native) application, as well as a "HelloWorld" Java-based web application example that utilizes servlets and Java Server Pages (JSPs). Over the course of the book, you'll learn more about servlets and JSPs and delve into Java Server Faces (JSFs) and the expression language found in each of these by applying them in a real-world case study—a book store e-commerce application. Then you'll build your web application using Apache Struts2 and the Spring MVC framework.
The book concludes by exploring the web application that you've built and examining industry best practices and how these might fit with your application, as well as covering alternative Java Web frameworks like Groovy/Grails and Scala/Play 2. You also can explore the basics of Java, Groovy, and Scala in the book's appendices.
While reading this book, you'll see all this in action and you can use it as a starting point for further Java web development. Study and experiment with the many source code examples, and later apply them to your own web application building endeavors and 2:00 AM challenges.
What you'll learn
How to build your first Java-based web applications with servlets and JSPs
How to apply best practices to web application development
How to build web applications with JSF 2
How to build web applications with the Struts2 framework
How to build web applications with the Spring 3 Web MVC framework
How to build web applications with Grails and Play 2
How to debug and deploy your web application along the way
Who this book is for
This book is for current or aspiring web developers who have some programming experience, but have no or little prior experience using the Java programming language and the available frameworks for Java in web development.
Table of contents
- Title Page
- Contents at a Glance
- About the Author
- About the Technical Reviewer
- Chapter 1: Introducing Java Web Development
- Chapter 2: Building Web Applications Using Servlets and JSP
- Chapter 3: Best Practices in Java EE Web Development
- Chapter 4: Building a Web Application Using Struts 2
- Chapter 5: Building Java Web Applications with Spring Web MVC
- Chapter 6: Component-Based Web Development Using JSF 2
- Chapter 7: Rapid Web Development with Grails
- Chapter 8: Play with Java and Scala
- Appendix A: Introduction to Java
- Appendix B: Introduction to Groovy
- Appendix C: Introduction to Scala
- Title: Learn Java for Web Development: Modern Java Web Development
- Release date: February 2014
- Publisher(s): Apress
- ISBN: 9781430259831
You might also like
Data Structures and Algorithms in Java, 2nd Edition
Data Structures and Algorithms in Java, Second Edition is designed to be easy to read and …
Modern Java in Action
Modern Java in Action connects new features of the Java language with their practical applications. Using …
Professional Java for Web Applications
The comprehensive Wrox guide for creating Java web applications for the enterprise This guide shows Java …
Java Projects - Second Edition
Learn how to build scalable, resilient, and effective applications in Java that suit your software requirements. …