[Top] [Prev] [Next] [Bottom] [Contents]

Example: Java Data Control Framework


6

Introduction

This example shows how you can bind a Web application using a scriptable Java Data Control and JavaScript with no coding. It is assumed that you know how to use Sapphire/Web and have configured the tool. The descriptions are brief and only provide detail about the new capabilities. It is also assumed that you have completed the previous tutorials on the Java Framework and installed it on your Web site.

The process of building the Author Search page using this method is almost identical to the process of building the page using ActiveX Control. Once you have learned to build projects using one kind of client object framework in Sapphire/Web, you can learn to use the other frameworks in almost no time.

Please note that the following scripts and scriptable Java Data Control will only work with Internet Explorer 3.0. Netscape 3.0 will produce a very strange error message-you can't call network functions from JavaScript just yet. Our Data Control does indeed call network functions, but from Java, not JavaScript.

In addition, Netscape is inconsistent. Methods with identical signatures produce different results-some work, some don't. Some that don't work perform no networking at all. We believe these bugs are in the Netscape object system. From IE 3.0, both JavaScript and Java Data Control work flawlessly. The same Java Data Control and JavaScript code fails in Netscape. Look for a newer release of their browser to fix this problem.



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.