Book description
Today, web applications are the most important type of software applications. This textbook shows how to design and implement them, using a model-based engineering approach that covers general information management concepts and techniques and the two most relevant technology platforms: JavaScript and Java. The book provides an in-depth tutorial for theory-underpinned and example-based learning by doing it yourself, supported by quiz questions and practice projects. Volume 1 provides an introduction to web technologies and model-based web application engineering, discussing the information management concepts of constraint-based data validation, enumerations and special datatypes. Volume 2 discusses the advanced information management concepts of associations and inheritance in class hierarchies.
Web apps are designed using UML class diagrams and implemented with two technologies: JavaScript for front-end (and distributed NodeJS) apps, and Java (with JPA and JSF) for back-end apps. The six example apps discussed in the book can be run, and their source code downloaded, from the book’s website.
Gerd Wagner
is Professor of Internet Technology at Brandenburg University of Technology, Germany, and Adjunct Associate Professor at Old Dominion University, Norfolk, VA, USA. He works in the areas of web engineering and modeling and simulation.
Mircea Diaconescu
is a Software Architect and Technical Team Leader at Entri GmbH, Berlin. He enjoys to work with the newest web technologies and to build Web of Things projects. Java, JavaScript/NodeJS and C# are his favorite programming languages.
Table of contents
- Cover
- Title Page
- Copyright
- Dedication
- Contents
-
Foreword
- 1 Mastering App Development Requires More than Coding Skills
- 2 Why is JavaScript a Good Choice for Building Web Apps?
- 3 Why is Java a Good Choice for Building Web Apps?
- 4 Comparing Java with JavaScript
- 5 Good Programs Are: Effective, Robust, Efficient and Maintainable
- 6 Run the Apps and Get Their Code
- List of Figures
- List of Tables
-
Part I Getting Started
- 1 A Quick Tour of the Foundations of Web Apps
- 2 More on JavaScript
-
3 Building a Minimal Web App with Plain JS in Seven Steps
- 3.1 Step 1 – Set up the Folder Structure
- 3.2 Step 2 – Write the Model Code
- 3.3 Step 3 – Initialize the Application
- 3.4 Step 4 – Implement the Create Use Case
- 3.5 Step 5 – Implement the Retrieve/List All Use Case
- 3.6 Step 6 – Implement the Update Use Case
- 3.7 Step 7 – Implement the Delete Use Case
- 3.8 Run the App and Get the Code
- 3.9 Possible Variations and Extensions
- 3.10 Points of Attention
- 3.11 Practice Projects
-
4 Building a Minimal Web App with Java EE in Seven Steps
- 4.1 Java Basics
- 4.2 Step 1 – Set up the Folder Structure
- 4.3 Step 2 – Write the Model Code
- 4.4 Step 3 – Configure the App
- 4.5 Step 4 – Implement the Create Use Case
- 4.6 Step 5 – Implement the Retrieve/List All Use Case
- 4.7 Step 6 – Implement the Update Use Case
- 4.8 Step 7 – Implement the Delete Use Case
- 4.9 Style the User Interface with CSS
- 4.10 Run the App and Get the Code
- 4.11 Possible Variations and Extensions
- 4.12 Points of Attention
- 4.13 Practice Projects
- 4.14 Quiz Questions
- 5 Information Modeling
- 6 Application Architecture
-
Part II Constraint Validation
- 7 Integrity Constraints and Data Validation
-
8 Implementing Constraint Validation in a Plain JS Web App
- 8.1 Introduction
- 8.2 New Issues
- 8.3 Make a JavaScript Class Model
- 8.4 Set up the Folder Structure Adding Some Library Files
- 8.5 Write the Model Code
- 8.6 Write the View Code
- 8.7 Run the App and Get the Code
- 8.8 Possible Variations and Extensions
- 8.9 Points of Attention
- 8.10 Practice Projects
- 8.11 Quiz Questions
-
9 Implementing Constraint Validation in a Java EE Web App
- 9.1 Java Annotations for Persistent Data Management and Constraint Validation
- 9.2 New Issues
- 9.3 Make an Entity Class Model
- 9.4 Write the Model Code
- 9.5 Write the View Code
- 9.6 Defining a Custom Validation Annotation
- 9.7 Run the App and Get the Code
- 9.8 Possible Variations and Extensions
- 9.9 Practice Projects
- 9.10 Quiz Questions
- Part III Enumerations
- Part IV Special Datatypes and Derived Properties
- Glossary
- Index
Product information
- Title: Web Applications with Javascript or Java
- Author(s):
- Release date: December 2017
- Publisher(s): De Gruyter Oldenbourg
- ISBN: 9783110497243
You might also like
book
Learning jQuery 3 - Fifth Edition
Create efficient and smart web applications with jQuery 3.0 using this step-by-step practical tutorial About This …
book
The Problem with Native JavaScript APIs
Many features inspired by popular JavaScript libraries are now available as native JavaScript APIs in today’s …
book
Beyond jQuery
Learn about the most important concepts surrounding web development and demystify jQuery. This book gives you …
book
Beginning jQuery: From the Basics of jQuery to Writing your Own Plug-ins
Navigate the tricky issues around cross-browser inconsistencies and use jQuery to avoid wasting time fixing these …