Book Image

Easy Web Development with WaveMaker

By : Edward Callahan
Book Image

Easy Web Development with WaveMaker

By: Edward Callahan

Overview of this book

Developers of all levels can now easily develop custom, responsive, and rich web application clients with secure, scalable servers utilizing relational databases and RESTful services using WaveMaker Studio. Whether you need a departmental business application or a form application for your weekend club, this book will show you how to design, develop, and deploy professional grade web applications with WaveMaker. Easy Web Development with WaveMaker will help you use WaveMaker to design, develop, and deploy rich, responsive web applications, even if you are not a programmer. If you need to build a data-driven web application, but you only know ‘enough to be dangerous,' you need this book. This book examines every angle of using WaveMaker to build applications, from dissecting examples to customizing, deploying, and debugging your own applications. This book enables the non-professional programmer to become comfortable not only with using WaveMaker Studio itself, but also with the artefacts produced by the studio as well as the runtime and services provided by the WaveMaker framework. You will learn everything, from how customize the user experience with JavaScript and CSS to integrating with custom Java services and the Spring Framework server-side. Easy Web Development with WaveMaker 6.5 is packed with examples, code samples, screenshots, and links to equip you to be successful with WaveMaker Studio.
Table of Contents (23 chapters)
Easy Web Development with WaveMaker
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
6
Styling the Application
7
Working with Databases
8
Utilizing Web Services
Index

Adding a custom service


Adding a custom Java service to a project is a simple matter of choosing Java Service from the Services menu. The New Java Service dialog asks for only a Service Name and a Package and Class Name:

The Service Name is the name we'll see in the project services tree, service drop-down, and so on. The Package and Class Name is just the package and class name together. Take the desired package name and the desired class name together to form the fully qualified name of the Java class to be created.

In the previous example, the service name is DbOpsSvc, as in "database operations service". The fully qualified class name entered into the Package and Class Name editor is com.wavemaker.example.DbOpsSvc. This creates a class named DbOpsSvc in the com.wavemaker.example package. The class name and the service name do not need to match. However, using the same name for both, or at least a similar name, makes it easier to remember which class is associated with which service.

Adding...