THIS DOCUMENT IS OBSOLETE. Please, see the update of this document, on the new Alexandre Fenyo's web site


JavaShare is a client/server software for email and file transfer under unreliable and low-bandwidth environments (for instance with a PDA using a network connection on top of PPP through an IrDA channel established with a mobile GSM phone). The communications are compressed and an interrupted transfer is restarted at the last position.

Name : JavaShare
Author : Alexandre Fenyo - clickhere@fenyo.net
License : GPL - see details
Target OS : Java 1.1.8 run-time environment with JFC/Swing 1.1.1
Programming language : Java
Libraries : JFC 1.1 / Swing 1.1.1
Tested on : Cassiopeia EM505F, Linux, Solaris 2.7, Win 98/2000
Should run on : WinCE 2.11, WinCE 3.0 (PocketPC), Windows 98/NT/2000, most of Unix systems.
Download : See below


Documentation : JavaShare operates under two modes : client or server mode. On the client-side, you can use the following operations (see menus) :
- File/Configuration : set the remote server host and local directory
- Transfer/Remote directory : get the remote directory
- Transfer/Transfer : if a local file is selected, JavaShare sends this file to the server. If a remote file is selected, it is retrieved from the remote host.
- Transfer/Check mail : the remote file named mailbox is retrieved. JavaShare acts as a POP3 server to offline give mails extracted from this Unix mailbox format file to your local Mail User Agent.

click on the JavaShare window to run JavaShare as an applet, in your browser.

CLIENT INSTALLATION - For instance, on a Cassiopeia, install the client-side JavaShare the following way :
  • Download JavaShare
  • Download and install Personal Java in the standard directory \Program Files\Java\
  • Create a \JavaShare and put ShareFiles.jar, swing.jar, alex.gif and about.gif in it
  • Use the Menu application and create a new entry of type Application
  • Bind it to the application pjava.exe (browse the file system to select \Program Files\Java\bin\pjava.exe)
  • Once you've selected pjava.exe, you will be able to edit the command line. Change it to :
    \Program Files\Java\bin\pjava.exe -setcwd \JavaShare -classpath "\JavaShare;\JavaShare\swing.jar;\JavaShare\JavaShare.jar" ShareFiles
On a Unix host, you can simply run java ShareFiles

SERVER INSTALLATION - For instance, on a Unix system, install the server-side JavaShare the following way :
  • Download JavaShare
  • launch JavaShare with server as an argument :
    java ShareFiles server
  • The Unix mailbox must be named mailbox and be present in the same directory JavaShare is started on the server (you can use a symlink)

Register JavaShare

To get future versions and be informed about JavaShare bug reports and news, please register as a JavaShare User by sending me a mail : clickhere@fenyo.net


Download instructions

- Sources

This software is
GPL licensed - see details here.
The sources are available as a compressed Unix tar archive : JavaShare-src.tar.gz (65 Kb)

- Running JavaShare as an autonomous application

Download the Run-Time Environment (see the table below), the JavaShare-with-Swing archive, the images images.tar, then run a command line like this :
    java -classpath /usr/java/jre118_v3/lib/rt.jar:ShareFilesSwing.jar ShareFiles

- Running JavaShare as an applet

Download the Run-Time Environment (see the table below), the Swing graphics library, the JavaShare archive, the bootstrap applet class, the images images.tar, then write some HTML code like this :
    <applet codebase="." archive="ShareFiles.jar, swing.jar"
    code="ShareFilesApplet.class" width=1 height=1></applet>

JavaShare byte code portability map & run-time download
JavaShare will run on any configuration in this table if it is compiled using JDK 1.1.8
download JDK 1.1.8 : Windows 95/98/2000/NT4 - Solaris x86 & SPARC - Linux/x86
target OS target hardware run-time
environment
graphics library remarks price
WinCE 2.11
WinCE 3.0
MIPS :
- Cassiopeia
- Compaq Aero
PersonalJava Runtime Environment 1.0 for MIPS JFC 1.1 with Swing 1.1.1   Free
WinCE 2.11
WinCE 3.0
SH3 (HP Jornada) PersonalJava Runtime Environment 1.0 for SH3 JFC 1.1 with Swing 1.1.1   Free
WinCE 3.0 ARM (Compaq iPAQ) Insignia's Jeode runtime JFC 1.1 with Swing 1.1.1 Use the primary PersonalJava 1.2 version of Jeode, instead of the last J2ME version since awt is not supported by J2ME. 20$
Windows 95
Windows 98
Windows NT 4
Windows 2000
i386 & higher Java Runtime Environment JRE 1.1.8 JFC 1.1 with Swing 1.1.1   Free
Windows 95
Windows 98
Windows NT 4
Windows 2000
i386 & higher Java 2 Standard Edition 1.3 (J2SE 1.3) JDK or JRE for Win32 included in J2SE Swing is part of J2SE, no installation needed Free
Linux x86
Solaris x86
Solaris Sparc
i386 & higher
i386 & higher
Sparc
Java 2 Standard Edition 1.3 (J2SE 1.3) JDK or JRE included in J2SE Swing is part of J2SE, no installation needed Free
FreeBSD, NetBSD, Siemens Reliant Unix   port of Sun JDK JFC 1.1 with Swing 1.1.1 if not included in JDK   Free
AIX, DG/UX 4.2, DYNIX/ptx 4.4.2, HP-UX, IRIX, Linux, MacOS, OpenVMS, OS/2, OS/390, OS/400, SCO, Tru64 Unix, UnixWare, Windows NT (on Alpha)   port of Sun JDK or JRE JFC 1.1 with Swing 1.1.1 if not included in port   Free


Note for WinCE/PocketPC users

The main advantage of JavaShare on a PocketPC is to incorporate mails in Pocket Outlook when disconnected from the network. For this purpose, the user creates a POP3 loopback connection in Pocket Outlook, specifying the 127.0.0.1 address for the mail server. JavaShare then acts as a POP3 server to let Pocket Outlook connect to this loopback server and retrieve the mails offline.

But Windows CE doesn't allow to retrieve mails from a POP3 connection if it is not connected to any service. Then, you can't use a loopback POP3 connection when you are offline !

To solve this problem, you can use MBOX2MAPI, that offline extracts a Unix mailbox into the Message Store, in order to let Pocket Outlook access your messages :


www.pdastreet.com
www.javashareware.com
www.davecentral.com
www.javacats.com
javaboutique.internet.com
www.listsoft.ru
http://www.pocketnow.com
http://home.cearchives.com