tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: How to convert WAR application into console application (Making Unicorn has console application)
Date Thu, 26 Aug 2010 21:26:30 GMT
Hash: SHA1


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

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

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message