![]()
Generic RI
The Generic RI uses the StormBase core and the HTML pilot. It can be run in either AWT or Swing toolkit mode:
- In AWT mode, the browser runs as a simple, multi-window application with a menu bar on each window and a few navigation buttons.
- In Swing mode, the interface is a multiple document interface where a single window contains one or more internal child windows (JInternalFrame) for viewing content. However, there is no menu bar and no navigation buttons.
Both modes have a garbage collection (GC) feature.
![]()
Starting the Generic RI
- Ensure that JDK 1.1.8 or higher has been installed.
- Add the relevant JAR files to the classpath. You need at least the following:
- Run java ice.browser.Main [option <value>].
If you do not specify any options, the browser runs in AWT mode and displays the default home page.
For example, to run a minimal configuration in AWT mode, with a start page of http://www.icesoft.com:
java -classpath ri_generic.jar;ib6core.jar;ib6util.jar ice.browser.MainStarting as an Executable JAR
The ri_generic.jar file is an executable JAR, so you can also start the Generic RI with JDK 1.3.1 or greater as follows:
java -jar ri_generic.jarSettings Directory
The Generic RI stores its settings in the directory <user_dir>/ICEsoft/GenericRI/, where <user_dir> is the platform-specific directory specified by the user.home system property.
Opening a Local File
To open a local file in the reference implementations, use one of the following syntaxes:
The underlying Java core classes do not understand non-standard (non-W3C-compliant) URL formats.
![]()
|
Copyright 2005. ICEsoft Technologies, Inc. http://www.icesoft.com |