Book description
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
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Introduction
- 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
- Index
Product information
- Title: Learn Java for Web Development: Modern Java Web Development
- Author(s):
- Release date: February 2014
- Publisher(s): Apress
- ISBN: 9781430259831
You might also like
video
Beginning Java Web Development
In this Beginning Java Web Development training course, expert author Martin Kalin will teach you everything …
book
Beginning Jakarta EE Web Development: Using JSP, JSF, MySQL, and Apache Tomcat for Building Java Web Applications
Start building Java-based web applications now, even if you’re a complete newcomer to Java. Comprehensive and …
book
Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications
Get started with using the new Java MVC 1.0 framework for model, view, and controller development …
book
Spring MVC Beginner’s Guide
Unleash the power of the latest Spring MVC 4.x to develop a complete application About This …