-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ranjith,

On 8/20/2010 7:49 AM, Ranjith wrote:
> Unicorn just provide a URI and push the button. It will call a
> series of validation services and report the results.
> 
> It works fine in apache-tomcat, what I want is how to make the
> unicorn as console application.

I think you're looking for the console-users mailing list ;)

> The input should passed through
> command line arguments and output should displayed at console itself
> I don`t want to use any web server to deploy it.

I think you should go back and look at the source code to Unicorn. I
recently leafed-through it, because I was interested in how it was
implemented. It appears to be a client /only/. Yes, there is a web
interface for it, but is (evidently) sends everything to the central
Unicorn service for actual validation.

Try reading the source: there's not much of it. In fact, start with the
servlets themselves (there are only one or two). You ought to be able to
figure out how to duplicate the Unicorn client calls in a non-servlet
environment.

But I suspect nobody will ever read this post, so maybe we'll never know.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx23AYACgkQ9CaO5/Lv0PA0AgCdHerGhHFwrbHWtb0cZqQOy1q6
sdkAoIt4+BBP92FpbupHZEwaGlskRiUb
=xARl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to