Learn Java for Web Development
- 4h 56m
- Vishal Layka
- Apress
- 2014
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
About the Author
Vishal Layka is the chief technology officer of Star Protocol. He is involved in the architecture, design, and implementation of distributed business systems, and his focus is on consulting and training with the JVM languages. His language proficiencies include Java, Groovy, Scala, and Haskell. Vishal is also the lead author of Beginning Groovy, Grails, and Griffon (Apress, 2012). When he needs a break from technology, Vishal reads eclectically from calculus to star formation.
In this Book
-
Introducing Java Web Development
-
Building Web Applications Using Servlets and JSP
-
Best Practices in Java EE Web Development
-
Building a Web Application Using Struts 2
-
Building Java Web Applications with Spring Web MVC
-
Component-Based Web Development Using JSF 2
-
Rapid Web Development with Grails
-
Play with Java and Scala