CooCoo Pro (1.00)
Demo of CooCoo Pro:
CooCoo Pro is an Chat JavaBean/Applet/Application.
Key features include:
A. Call-to-Chat - Call the person to chat
CooCoo Pro comes with a Call Center where you can "call"
people who are not currently in CooCoo's chatroom.
After placing a "chat call", you can switch to other
applications (you can also icon your CooCoo Pro. Move
the browser to other pages? No problem! CooCoo will
live until you shut down the browser.) and CooCoo will
prompt you when the person you called logs in to CooCoo Pro.
Here is the !!
B. Easy Chat - for most personal pages
CooCoo Pro's chat system does not requires a program
running in background(daemon) in the server(Most ISPs
do not allow their users run such a background
program). This means CooCoo Pro can be installed
on any personal home page where CGI and Perl
are supported.
C. No firewall problem
CooCoo Pro's users will not be blocked by
firewalls since the communication is
done with https.
D. Easy advertising banner with sound
CooCoo Pro displays an advertisement banner in a HTML
style. Ad images are fetched from the server periodically
in a random or specified order. It is "easy" because
it is not neccessary for the resource (image and sound files)
to reside in your site. Only thing you need to provide
is their URLs. This is great for most of personal sites
since it make CooCoo Pro's ad is affordable to these sites with
limited bandwidth(MB/Day): the images and sound can be
fetched from other's site instead of yous!
Another great feature of HTML style is that gif anmation
is supported in the ad banner.
In additional, a sound file (any sound format support by
your browser) can be easily attached to an ad image.
E. Smart news
CooCoo Pro starts displaying news line by line automatically
if there is no chat activity for a specified period.
The news will be stoped as soon as people start chating.
This feature can be turn off from CooCoo Pro but users.
Maintenace of these text files is easy: just place all the
news text files in a specified directory and
CooCoo Pro will pick up one at a time randomly.
F. Smart sleeping capability
Bandwidth and CPU usage are limited in
most personal pages. To reduce their
usage, CooCoo Pro comes with a sleep
function: CooCoo Pro will sleep if there
is no user activity after a specified
period. That is, CooCoo Pro will not
update info such as chat log, news,
ad, and so on untill users do something
like moving their mouse.
Note: CooCoo Pro requires a JDK1.1 environment.
IE (4.x) is the best browser to use CooCoo Pro as an applet or a JavaBean in an applet.
A regular Netscape 4.x doesn't provide a complete JDK1.1 environment
unless you upgrated it. To upgrate Netscape, go
http://developer.netscape.com/software/jdk/download.html
TheAdware version is FREE.
A major difference between an Adware version and a registered
shareware version is that an ad button whcih allows users to
jump to author's site is included.
I. CooCoo Pro As A JavaBean
Properties:
The key to attach CooCoo Pro to your components:
Installation Instructions:
0). Download CooCoo Pro at
html/bean_cp.htm
1). Unzip coopro.zip to, say c:\my_bean
you will get following files
c:\my_mail\file_id.diz
c:\my_mail\Readme.txt
c:\my_mail\coopro.jar
c:\my_mail\test_cp2.class
c:\my_mail\test_cp1.htm
c:\my_mail\test_cp2.htm
2). Contain it in a Java applet, say test_cp2.class and
following to instructions in part II below to install the
applet on your server.
Or contain it in a Java application.
3). Install coopro.cgi to handle email through cgi.
If you use CooCoo Pro as a bean in an applet or you use it in
an application but the application is used behind a firewall,
coopro.cgi is then necessary. To install coopro.cgi, you
need to
a). upload coopro.cgi to your cgi directory in your server,
say http://www.your-site.com/your-cgi-dir
and make sure its access permission is set to read and executable.
You may test coopro.cgi by browsing
http://www.your-site.com/your-cgi-dir/coopro.cgi?do=test&host=your_host
If you see "coopro.cgi is runable", that means cgi runability, host, incoming port,
and outport port is OK. If you use incoming port other than 110 or outgoing port
other than 25, you need to browse
http://www.your-site.com/your-cgi-dir/coopro.cgi?do=test&host=your_host&inport=your_inport&outport=youroutport
b). set property (if you use Coomail as an applet, you should set parameter. If you use Coomail as an application
you need to set the cgiurl field in option page) cgiurl to
http://www.your-site.com/your-cgi-dir/coopro.cgi
II. CooCoo Pro As A Java Applet
Arguments:
width - width of the applet. This is the place where you control
coopro's real size. Coomail will adjust all the components
by itself.
height - height of the applet
Installation Instructions:
0). Download CooCoo Pro at
html/bean_cp.htm
1). Unzip coopro.zip to, say c:\my_mail
you will get following files
c:\my_mail\file_id.diz
c:\my_mail\Readme.txt
c:\my_mail\coopro.jar
c:\my_mail\test_cp2.class
c:\my_mail\test_cp1.htm
c:\my_mail\test_cp2.htm
2). Upload files on to your server, say http://www.mysite.com/
You need to upload following files to your server and you
will get them as following
http://www.mysite.com/coopro.jar
http://www.mysite.com/test_cp2.class
http://www.mysite.com/test_cp2.htm
3). Setup coopro.cgi. See details at section 3 of part I above.
4). Try it online. Browse http://www.mysite.com/test_cp2.htm with IE 4.x
or upgrated Netscape. Note: a regular Netscape browser downloaded
from Netscape won't work. You need to upgrate it to support JDK1.1.
Go
http://www.javaworld.com/javaworld/javatips/jw-javatip51.html?040698txt
to upgrate it.
Or simply switch to IE (4.x)
III. CooCoo Pro As A Java Application
command Line Arguments:
Usage:
if you have JDK
java [-mxM1] [-msM2] -classpath [:;] coopro [width] [height]
for example
java -mx16000000 -ms4000000 -classpath .;.\coopro.jar;c:\jdk1.1.5\lib\classes.zip coopro 700 500
or if you have JRE
jre [-mxM1] [-msM2] -classpath [:;] coopro [width] [height]
for example
jre -mx16000000 -ms4000000 -classpath .;coopro.jar;C:\Progra~1\JavaSoft\JRE\1.1\lib\rt.jar coopro 700 500
where
M1 - the maximum Java heap size (bytes)
M2 - the initial Java heap size (bytes)
- the full path to the java classes file distributed with your JVM
- the full path to the rt.jar file included in JRE
[:;] - the path separator. This is ':' on UNIX and ';' on MSDOS and OS/2
- the full path to the coopro.jar file
width - width of the applet. This is the place where you control coopro's real size.
Coomail will adjust all the components by itself.
height - height of the applet
All other features can be set in option page of CooCoo Pro. A batch file, coopro.bat, is included so that
you can double click at it to launch Coomail in Windows environment.
Installation Instructions:
0). Download CooCoo Pro at
html/bean_cp.htm
1). Unzip coopro.zip to, say c:\my_mail
you will get following files
c:\my_mail\file_id.diz
c:\my_mail\Readme.txt
c:\my_mail\coopro.jar
c:\my_mail\test_cp2.class
c:\my_mail\test_cp1.htm
c:\my_mail\test_cp2.htm
2). In Windows NT or Win95,
if you have a JDK environment, double click at icon of coopro.bat in Windows Explorer
if you have a JRE environment, double click at icon of coopro2.bat in Windows Explorer
3). Setup coopro.cgi if you like to handle email with cgi so that you won't suffer from
firewall. See details at section 3 of part I above.