Distribution and incremental update via Internet.
Push means that the server sends itself information to clients. It allows client software updates as soon as they become available.
Among Push players like PointCast, The Internet Company, Starwave, Intermind, Ifusion, BackWeb, Netscape, Microsoft, Tibco , Marimba is today the only one managing Java Channels. What's more Netscape has signed a worldwide reseller agreement with Marimba to distribute and support the Castanet product line.
In the Castanet family of products, we have tested the Tuner, the Transmitter
and the Publisher.
Here is the Castanet architecture :
You can see two main elements in the figure above : the Tuner and the Transmitter.
The Tuner enables to download and launch channels sent by the Transmitter over the Internet. The Tuner runs on the computer of the end user. You install it like any other client software. Once it is installed, it updates itself.
The Castanet Transmitter runs on a server machine and serves versions of channel files to Tuners. It can be installed on any machine (see the hardware and system requirements in this document) supporting the Java Runtime Environment.
A channel developer can use a development transmitter on his own computer to test his channels. Once channels work properly, they can be published on the production transmitter thanks to the Castanet Publisher software.
What's more, Marimba extends the JRE by giving access to CDROMs, modems and the registry of the OS (Note: This access is only enabled when the channel type is Application, and by importing the Marimba proprietary extension to the JRE).
For further information, read the introduction
to Castanet. You can see also the data
sheet about Castanet.
You can also have a look at the pages dealing with how to use quickly the Publisher and how to transform an Applet into a Channel. These pages are provided by the Castanet User Docs channel from the trans.marmba.com transmitter on the port 80.
Publishing, through an exampleStep 0. If you use the Transmitter on your computer, make sure it is running.
To run the Transmitter, follow the instructions
given in each window of the transmitter.
The following picture shows the root directory Java Infotorg,
containing the whole Java Infotorg project.
Step 2. Launch the Publisher (you find it in the Transmitter
Click on Add and enter the root directory of your channel.
Click on Add when that is OK.
Step 3. Fill in the the information required for publishing
In the General tab, write the name of your channel. It corresponds
to the name that will be seen in the Tuner.
Step 4. Convert the parameters of the applet.
The parameters of an original applet tag:
Step 5. Publish the channel by clicking
on the Publish button.
Publishing channels having jar filesYou can create a channel using jar files. The process is the same as before. Only the steps that change are given here :
Step 1: Create a jar file from the project. Put it under a single directory with other code and data files.
Important: extra folder information of the classes must be written in the jar file to keep the packages structure.
Example: the following picture shows the content of the jar file JavaInfotorg.jar. You can see the packages structure in the Path section in WinZip (see the red box).
Step 3.: Provide the names of the Zip and Jar files used by your channel in the Classpath from the General tab.
Step 5. Publish the channel
SummaryStep 0. If you use the Transmitter on your computer, make sure it is running.
Step 1. Put code and data files under a single directory.
Step 2. Launch the Publisher.
Step 3. Set the properties of the channel and the information on the Transmitter.
Step 4. Convert the parameters of the applet.
Step 5. Publish the Channel.
For that, you can create a batch file . Castanet products page to know the hardware and system requirements for each program. Basic information is given below.
PricingCall Marimba Sales for information. Castanet Transmitter
Version 1.1 available on Windows NT 4.0, Windows 95, and Solaris 2.5.
Requires 16MB of memory and a minimum of 10MB of hard disk space.
You can download an evaluation copy of the Tuner, Transmitter and Publisher from the Marimba web site. Note that the Publisher is provided in the Transmitter package.InfotorgApplet.html. To run it as an application, run the class InfotorgApplication.
Click here to download the zip file of the Java Infotorg channel.
You subscribe to channels with the Castanet Tuner. Subscribing downloads the channel, installs it on your hard disk, and launches it.
Note : Subscribing also initiates the automatic update schedule (hourly or weekly, for example) saved in the channel by its developer; you can also direct the tuner to update a channel whenever you wish. You can launch a subscribed channel from the tuner, from a Web Browser like Netscape, or, from a platform-specific launch facility such as a shortcut or alias.
Launch the Tuner.
Click on the Listing tab and enter the name of the transmitter followed by the port number (TransmitterHostname:PortNumber) in the list field.
Note that the transmitter must be running to enable you to receive the list of the channels it transmits.
Double click on a channel to subscribe to it.
The tuner downloads the channel.
Once downloaded, the channel is launched by the Tuner :
Now the channel is installed, the next time you want to run it, you can just double click on it or use the Start command of the Tuner Channel menu. InstallShield has ported his well known installation program to Java : InstallShield SetupCafé enables software distribution to any platform supporting Java.
We will see in the first part how to create an installation file with InstallShield SetupCafé. The second part will present how to install and remove an application thanks to SetupCafé.
This section presents the developer side : how to create an installation file with InstallShield SetupCafé.
StartPress in the welcome frame, to go to the next frame.
In the Project Information frame, enter the company and project information.
Note that you will be able to go back to any following window to change the information entered. For that, use the button.
Welcome InformationA welcome panel can be displayed to the user when the installation program is launched. Check if you want this window to appear.
ReadmeA window presenting a text file can be included. To include a readme text file, select the checkbox and enter the name of the file.
License agreementSelect the checkbox if you want a license agreement to be displayed. Provide the name of your text file in the License Agreement Text File field.
Destination LocationEnter the directory in which the program will be installed by default. The button permits to see the window as it will be displayed to the user.
Source Files DirectoryEnter the directory in which project is. This directory must contain all the files you want to be included in the installation file. To exclude some files, specify their extension in the Exclude text field.
Launch ScriptsSpecifying the information in the window Launch Scripts window to make SetupCafé create scripts to launch your java applications for you.
Once the information entered, press to add the script to the list.
Platform-Specific OptionsSetupCafé is able to create shortcuts in Windows environments.
SetupCafé is also able to make changes to the Windows registry.
If your project has self registering files, check Include
self-registration support, and select them in the Self-registering
BuildHere is the last step. Enter the name of the installation class file that will be created.
SetupCafé then create the class file at the location given in the Build Location text field.
Launching the installationThe installation file is a class file. Hence, to run it, you can use the JDK (1.1) java runtime for instance.
The following batch file does it for you. You only have to change the three first lines containing the java path.
%JAVAPATH%\bin\java.exe -classpath "%JAVAPATH%\lib\classes.zip;%INSTALLDIR%" %INSTALLFILENAME%
A shortcut is created in the Start Menu - Programs
%JAVAPATH%\bin\java.exe -classpath "%JAVAPATH%\lib\classes.zip;%INSTALLDIR%" uninstall
Author : email@example.com