O'Reilly logo

Easy Web Development with WaveMaker by Edward Callahan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

RuntimeAccess

Working with custom Java services in WaveMaker is not radically different from working with Java in web applications. So far, we've added resources to the classpath and got our project into a proper editor. The last Java topic specific to WaveMaker to be aware of is RuntimeAccess (http://dev.wavemaker.com/docs/javadoc/6.5/com/wavemaker/runtime/RuntimeAccess.html). The com.wavemaker.runtime.RuntimeAccess class is the runtime bean that provides our interface to the session, request/response, and other project services.

To obtain an instance of the runtime bean, use the static method getInstance(). Ensure you've imported RuntimeAccess:

import com.wavemaker.runtime.RuntimeAccess;

To get an instance of the runtime, use the following line ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required