Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Easy Web Development with WaveMaker

You're reading from   Easy Web Development with WaveMaker A practical, hands-on guide for amateur developers to design, develop, and deploy web and mobile applications using WaveMaker

Arrow left icon
Product type Paperback
Published in Jul 2013
Publisher Packt
ISBN-13 9781782161783
Length 306 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Edward Callahan Edward Callahan
Author Profile Icon Edward Callahan
Edward Callahan
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Easy Web Development with WaveMaker
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with WaveMaker FREE CHAPTER 2. Digging into the Architecture 3. Using Studio 4. Designing a Well-Performing Application 5. Navigating towards Reusability 6. Styling the Application
7. Working with Databases
8. Utilizing Web Services
9. Custom Java Services 10. Customizing the User Interface with JavaScript 11. Mastering Client Customization 12. Securing Applications 13. Deploying Applications 14. Mobile Deployment 15. Debugging Index

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 of code:

RuntimeAccess runtime = RuntimeAccess.getInstance();

Note

Never attempt to renew RuntimeAccess or otherwise attempt to access the session outside of a request. It is not supported and it doesn't work.

From RuntimeAccess, we can obtain four useful...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Easy Web Development with WaveMaker
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon