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.