-
Notifications
You must be signed in to change notification settings - Fork 5
/
demo.html
103 lines (88 loc) · 3.94 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BeanShell - BeanShell Demos</title>
<link rel="shortcut icon" href="favicon.ico">
<link href="css/my_styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<aside>
<nav>
<ul class="menu">
<li><a href="home.html">Home</a>
</li>
<li><a href="intro.html">Intro</a>
</li>
<li> <a href="docs.html">Docs</a>
</li>
<li> <a href="download.html">Download</a>
</li>
<li> <a href="contact.html">Contact</a>
</li>
<li> <a href="https://github.com/beanshell/beanshell/wiki">
Community Wiki</a>
</li>
<li> <a href="developer.html">Developer</a>
</li>
<li> <a href="license.html">License</a>
</li>
<li> <a href="beany.html">Beany</a>
</li>
<li> <a href="http://www.amazon.com/exec/obidos/ASIN/0596002858">
<img alt="Learning Java" src="images/lj2.png" width="100px"> <br>
<span class="small"> Check out my book:<br>
Learning Java,<br>
O'Reilly & Associates </span>
</a>
</li>
</ul>
</nav>
</aside>
<article>
<h1>BeanShell Demos</h1>
<section>
<h2>BeanShell Demos - Unsigned Applets</h2>
<p>
This page test the capability of BeanShell to run as an applet in
an untrusted / secure environment.
In this case the BeanShell interpreter is running within the JVM of your
web browser and is therefore limited by the applet security policy.
Not all features of BeanShell are available in this environment. In
particular, applets are not allowed inspect non-public members of objects
or to create classloaders. This means that the BeanShell interpreter, when
running in an applet, can only access public methods of public APIs and cannot
define its own classes. You *can*, on the other hand, create Java interfaces
and BeanShell scripted objects.
</p>
<p>These applets have been compiled with Java 1.3 and are bundled with the full
distribution jar. However, BeanShell supports limited functionality
for versions of Java as early as 1.1 and a smaller JAR size can be achieved
by distributing only the core components.
</p>
<h3>Swing Desktop - Unsigned Applet</h3>
<p>To use the Swing based desktop in a separate top level frame. This requires
the Java plug-in or other swing capable browser:
</p>
<p><a href="demo/jbshdemodesk.html">BeanShell Demo with Swing Desktop in Frame</a>
</p>
<h3>Swing JConsole - Unsigned Applet</h3>
<p>To use a single Swing enabled console (shell) embedded in the page
with the Java plug-in or other swing capable browser:
</p>
<p><a href="demo/jbshdemo.html">BeanShell Demo with Swing Console</a>
</p>
<h3>AWT Console - Unsigned Applet</h3>
<p>To use the minimal (not very good) AWT based console that should work in any
browser:
</p>
<p>
<a href="demo/awtbshdemo.html">BeanShell Demo with simple AWT Console</a>
</p>
<hr>
For more information see the BeanShell home page:
<a href="http://www.beanshell.org">http://www.beanshell.org</a>
</section>
</article>
</body>
</html>