Java Runtime Hosting tutorial
Integrating Java Objects with Virtuoso Using Restrictions for Java hosted types.

## Overview

The following tutorial demonstrates how Virtuoso can Restrict Java hosted types.

## Prerequisites

The following prerequisites ensure the usability of these tutorial demos on any platform with a Java Runtime environment:

- Java Runtime (J2EE 1.2 and Higher)
- Java SDK (if you seek to write your own Objects for integration with Virtuoso)
- Virtuoso Universal Server with Java Runtime Hosting

## Tutorial Example

Please follow the steps below to maximize the value of this tutorial:

1. Click on the "Set Initial State" link which registers the Java classes used in this demo with Virtuoso. Click on the "ho_s_13.sql" link to see the code behind this step
2. Click on the "Run" links to actually experience the demo

Demo Breakdown

1. "ho_s_13.sql" performs the following steps
   1. Registers the "Restricted" and "Unrestricted" Classes with Virtuoso as UDTs. Click on the "Restricted.java" and "Unrestricted.java" links to see the JAVA source code
   2. The Restricted types can't write to FS, can't read System envariment. For full list from restrictions, please see documentation.