Calling a RealWeb Subroutine

To call a RealWeb subroutine, you start your browser and enter a URLClosed Uniform Resource Locator - a web address.  with the following format:

Protocol://WebServerURL/servlet/reality/ConnectionName/SubroutineName

For example:

http://www.foo.com/servlet/reality/persistent/HOTEL

If required by the subroutine, additional parameters can be appended, either as additional path elements or as a search string. The following example illustrates both these techniques:

http://www.foo.com/servlet/reality/hotelConnect/HOTEL/room?number=21

Displaying Reality Items

An alternative way of using RealWeb is to extract complete Reality items from the database, using the RealWeb item servletClosed A server-side Java program that services HTTP requests and returns HTTP responses.  , realityis. This is used in a similar way to the reality servlet - the URL must have the following format:

WebServerURL/servlet/realityis/ConnectionName/FileName/ItemName

Items used in this way can contain anything that can be displayed in a browser: complete HTML or XMLClosed Extensible Markup Language  files, graphics, JavaScriptClosed A programming language supported by most web browsers. Client-side JavaScript allows executable content to be included with web pages.  or VBScriptClosed A programming language that allows executable content to be included with web pages. VBScript is supported only by Microsoft Internet Explorer.  , etc.