-
Book Overview & Buying
-
Table Of Contents
Easy Web Development with WaveMaker
By :
In this chapter, we examined the key aspects of using custom Java services in a project. We started by ensuring we wouldn't get better results from provisioning the functionality as a web service. We then looked at what happens when we add a Java service to the project and how we can add additional classes to the project classpath.
We then opened our projects in STS and NetBeans so we could edit our code in our favorite editor and enjoy the benefits of working in an IDE. We were careful to use the Studio tooling to refresh and recompile our project.
We then explored the many uses of the runtime access bean. From the runtime, we were able to access key objects, such as the servlet and request objects. We also used the runtime bean to access other service beans. This enabled us to build rich Java services with features such as server-side validation.
As the runtime bean is so convenient to have in our Java service, we looked at examples of dependency injection. Using dependency injection...
Change the font size
Change margin width
Change background colour