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 for building modern Java-based web, native, and microservices applications.

Beginning Java MVC teaches you the basics, then dives in to models, views, controllers. Next, you learn data binding, events, application types, view engines, and more. You will be given practical examples along the way to reinforce what you have learned. Furthermore, you'll work with annotations, internationalization, security, and deployment.

After reading this book, you'll have the know how to build your first full Java-based MVC application.

What You Will Learn



• Discover the Java MVC 1.0 APIs and how to use them Master the Model, View and Controller design pattern
• Carry out data binding
• Write events
• Work with view engines

Who This Book Is For

Those new to Java MVC 1.0. Some prior experience with Java programming recommended, especially with JSF or Struts.
1137433834
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 for building modern Java-based web, native, and microservices applications.

Beginning Java MVC teaches you the basics, then dives in to models, views, controllers. Next, you learn data binding, events, application types, view engines, and more. You will be given practical examples along the way to reinforce what you have learned. Furthermore, you'll work with annotations, internationalization, security, and deployment.

After reading this book, you'll have the know how to build your first full Java-based MVC application.

What You Will Learn



• Discover the Java MVC 1.0 APIs and how to use them Master the Model, View and Controller design pattern
• Carry out data binding
• Write events
• Work with view engines

Who This Book Is For

Those new to Java MVC 1.0. Some prior experience with Java programming recommended, especially with JSF or Struts.
49.99 In Stock
Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications

Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications

by Peter Späth
Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications

Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications

by Peter Späth

Paperback(1st ed.)

$49.99 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

Get started with using the new Java MVC 1.0 framework for model, view, and controller development for building modern Java-based web, native, and microservices applications.

Beginning Java MVC teaches you the basics, then dives in to models, views, controllers. Next, you learn data binding, events, application types, view engines, and more. You will be given practical examples along the way to reinforce what you have learned. Furthermore, you'll work with annotations, internationalization, security, and deployment.

After reading this book, you'll have the know how to build your first full Java-based MVC application.

What You Will Learn



• Discover the Java MVC 1.0 APIs and how to use them Master the Model, View and Controller design pattern
• Carry out data binding
• Write events
• Work with view engines

Who This Book Is For

Those new to Java MVC 1.0. Some prior experience with Java programming recommended, especially with JSF or Struts.

Product Details

ISBN-13: 9781484262795
Publisher: Apress
Publication date: 11/17/2020
Edition description: 1st ed.
Pages: 441
Product dimensions: 7.01(w) x 10.00(h) x (d)

About the Author

Peter Späth graduated in 2002 as a physicist and soon afterwards became an IT consultant, mainly for Java-related projects. In 2016 he decided to concentrate on writing books, with his main focus set on software development. With two books about graphics and sound processing and two books for Android and Kotlin programming, his new book addresses beginning Jakarta EE developers willing to develop enterprise-level Java applications with Java EE 8.

Table of Contents

1. About MVC - Model, View, Controller

* History of MVC

* MVC in Web Applications

* MVC for Java

* Finally, Java MVC (JSR-371)

* Why MVC

* Where is Hello World?

2. Prerequisite - Jakarta EE / Java EE

* The Nature of Java for Enterprise Applications

* Glassfish, a Free Java Server

* Using a Preinstalled Java Server

* Learning Java for Enterprise Applications

* RESTful Services

3. Development Workflow

* Using Gradle as a Build Framework

* Using Eclipse as an IDE

* More About Gradle

* Developing Using the Console

* Installing MVC

4. Hello World for Java MVC

* Starting The Hello World Project

* The Hello World Model

* The Hello World View

* The Hello World Controller

* Using Gradle to Build Hello World

* Starting a Jakarta EE Server

* Deploying and Testing Hello World

5. Start Working With Java MVC

* Handling User Input From Forms

* Exception Handling in Java MVC

* Non-String Post Parameters

6. In-Depth Java MVC

* The Model

* The View: JSPs

* The View: Facelets

* The Controller

7. In-Depth Java MVC - Part II

* Injectable Context

* Persisating State

* Dealing With Page Fragments

* Observers

* Configuration

8. Internationalization

* Language Resources

* Adding Localized Messages to the Session

* Formatting of Data in the View

* Using JSF for Formatting

* Localized Data Conversion

9. Java MVC and EJBs

* About Session EJBs

* Defining EJBs

* Accessing EJBs

* EJB Projects

* EJBs with Dependencies

* Asynchronous EJB Invocation

* Timer EJBs

10. Connecting Java MVC to a Database

* Abstracting Away Database Access With JPA

* Setting up a SQL Database

* Creating a DataSource

* Preparing the Member Registration Application

* Adding EclipseLink as ORM

* Controllers

* Adding Data Access Objects

* Updating the View

* Adding Entities

* Adding Relations

11. Logging Java MVC Applications

* System Streams

* JDK Logging in Glassfish

* Using JDK Standard Logging For Other Servers

* Adding Log4j Logging to Your Application


12. A Java MVC Example Application

* The BooKlubb Database

* The BooKlubb Eclipse Project

* The BooKlubb Infrastructure Classes

* Configure BooKlubb Database Access

* The BooKlub Internationalization

* The BooKlubb Entity Classes

* BooKlubb Database Access Via DAOs

* The BooKlubb Model

* The BooKlubb Controller

* The BooKlubb View

* Deploying and Testing BooKlubb

Appendix

* Solutions to The Exercises



From the B&N Reads Blog

Customer Reviews