of jetty war

import org.mortbay.jetty.*;

Server svc = new Server();
svc.addListener( ":7501" );
svc.addRootWebApp("example.war");
svc.start();


What should happen?
- example.war being deployed in jetty
- http://localhost:7501

bundle this with:
- k-meleon; OR
- Adobe Apollo; OR
- Portable Firefox

and we will get a stand-alone version of our favourite web-app. All from the comfort of your USB drive..
Isn't life great? :lol:

2 comments:

:: unexistance :: said...

update:
Adobe Apollo / AIR cannot invoke an external command / application.

An alternative, create a batch file T_T (and compile it to exe)

:: unexistance :: said...

instead of:
- AIR calling external program,
- make it program invoking AIR..

Java/Jython can be wrapped in exe format anyway :D