
Web Applications with Javascript or Java
Volume 1: Constraint Validation, Enumerations, Special Datatypes
- 271 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Web Applications with Javascript or Java
Volume 1: Constraint Validation, Enumerations, Special Datatypes
About this book
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.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information

Part IGetting Started
- a simple front-end web app using plain JavaScript and local storage,
- a simple back-end web app using Java with JSF, JPA and a MySQL/MariaDB database.
1A Quick Tour of the Foundations of Web Apps
1.1The World Wide Web (WWW)
- the Hypertext Transfer Protocol (HTTP),
- the Hypertext Markup Language (HTML), and
- web server programs, acting as HTTP servers, as well as web ’user agents’ (such as browsers), acting as HTTP clients.
1.2HTML and XML
1.2.1XML documents
1.2.2Unicode and UTF-8
1.2.3XML namespaces
svg. Such a namespace represents a collection of names, both for elements and attributes, and allows namespace-qualified names of the form prefix:name, such as svg:circle as a namespace-qualified name for SVG circle elements.
svg element embedded in an HTML document:
1.2.4Corre...
Table of contents
- Cover
- Title Page
- Copyright
- Dedication
- Contents
- Foreword
- List of Figures
- List of Tables
- Part I Getting Started
- Part II Constraint Validation
- Part III Enumerations
- Part IV Special Datatypes and Derived Properties
- Glossary
- Index