A number of JavaScript root objects are available when you are implementing a controller for a Surf Web Script, such
as page
and remote
. Sometimes you might have custom Java code that you want to call from JavaScript controllers,
this is possible by adding custom JavaScript root objects.
Architecture Information: Share Architecture
Description
This is implemented as a Repository extension, see Repository JavaScript root objects
Deployment - App Server
JavaScript root object implementations does not lend themselves very well to be manually installed in an application server. Build a Repository JAR instead.
Deployment All-in-One SDK project
Use a Repository JAR.
More Information
- Spring Surf Root Object Reference (Have a look at what root objects are already there)