share a thought..: technology - photography - travel – fun
Nov '05

Power to boot to Java

Recently I had a thought that, it would be nice to see once computer boot directly to a java application/server. So googled for some sort of jvm on console based os?s like dos or *uix systems. Though I found a few but most had a limited support for java?s core api.

Though this project is still in its early stages, Michael Ringgaard has
done an amazing job by building this open source [BSD style license]
Finally SanOS (Server Appliance Network Operating System) caught my attention. This is a minimalistic application server operating system kernel and allows building custom boot media (cdroom [livecd]/floppy) and can start a java application after booting.

This project has limited documentation, so it will be some time before you can boot to java, so have patience if you plan to give it a try. Also it does not yet look to be ready to put any production quality servers (no nio support, no server jvm support, no ssl, and does not handle multiple client connections well). What I did was to mount the cdrom [which had windows java jre v1.4 with QuickServer examples jars] as /usr. Then made jinit(java of sanos) as init command for the os. This worked on a few systems when I booted from floppy and I tried to make a livecd out of this, but it only worked on a virtual hardware and did not bootup when I tried on my system, may be it lacked the h/w support.

Looking forward for upcoming versions of SanOS. Also hoping to see more such kind of work on Linux or Solaris :) , may be Knoppix/BeleniX guys can come up with a slim cd version with just minimal kernel and a jvm to build java application that can boot up like ready to use (of the shelf) servers with minimum configuration or build demo systems and even some other cool stuff.

Also here you can download the QuickServer dir that I used to create a test system (QuickServerLiveCD), I had to put references to NetworkInterface under try bock since it threw Error under SanOS for some reason and it contains modified QuickServer.jar and examples configured on blocking mode with no logging. Also set org.quickserver.livecd.Welcome as your mainclass in os.ini file under [java] section.

Aug '05

QuickServer v 1.4.5 released

QuickServer version 1.4.5, open source Java library/framework for quick creation of robust multi-client TCP server applications is now available.

To view the features added in QuickServer 1.4.5 visit here, the main improvements have been in the following areas

  • ClientIdentifier implementation is now plug able and comes with 2 implementations.
  • PoolManager, QSObjectPoolMaker have been added to give users control of which ObjectPool implementation to be used when creating pools
  • Added a GUI Client for ChatServer.
  • Socket Timeout setting now will have to be set in milliseconds, default timeout is 1 minute.
  • And lot of improvement in implementation and bug fixes.

Download this release from:

Also based on the feedback from one of the users - ‘Filipe Sabella’, I have added a quick tutor that show how to build basic multi user tcp server -  QuickStart guide to QuickServer, do check it out.

Jun '05

WebStart for SocketTest

JSocketTestust made a webstart version of SocketTest available, Start It now!

SocketTest is a java tool for socket testing. It can create both TCP and UDP client or server. It can be used to test any server or client that uses TCP or UDP protocol to communicate. You can download it here.