Re: Integrating servlet container into my stand alone App

From: Bryce (spamtrap_at_berzerker-soft.com)
Date: 09/27/04


Date: Mon, 27 Sep 2004 14:05:29 -0400

On 25 Sep 2004 11:42:25 -0700, gregfrommer@hotmail.com (DiscoStu)
wrote:

>Hello Everyone,
>
> I had this idea for an application I would like to write. I want
>to write it as a java application, but be able to output
>program-generated .html into an Internet Explorer window. Sending the
>generated html to the IE window is easy... just using the Runtime
>class. But I want the Internet Explorer window to be able to make http
>calls back to my application for form submissions. I didn't want to
>have to force my users to install Tomcat just so the internet explorer
>could pass back information to the servlet in my .Jar file.
>
>How hard is it to add a servlet container and respond to http post's
>from the localhost internet explorer window? This is all from my .jar
>file and not from a web application running under tomcat remember. The
>only http requests coming into my application will be from that one
>internet explorer window... so its really acting like a
>single-user-local-machine Tomcat server. But I dont want the burden of
>forcing Tomcat on people.
>
>I suppose you'll say pick a standard application or a jsp/servlet
>solution, but not both.... but I think there is a lot of flexability
>to this method, being able to generate GUI screens on the fly in the
>IE window is really exciting.

Check out Jetty. Very easy to integrate.

http://www.mortbay.org/jetty/index.html

I've used it many times. For a while, it was the servlet container
that JBoss used by default. I believe its the one that Apache Geronimo
uses now.

--
now with more cowbell


Relevant Pages

  • Integrating servlet container into my stand alone App
    ... program-generated .html into an Internet Explorer window. ... But I want the Internet Explorer window to be able to make http ... file and not from a web application running under tomcat remember. ...
    (comp.lang.java.programmer)
  • Re: Warning about tracking software?
    ... Daisy wrote: ... If it's not a 'normal internet explorer window' then it is likely to be ... If it *is* messenger service spam, no, unless you do a netstat within ...
    (comp.security.misc)
  • Re: mshtml
    ... contents of the first Internet Explorer window (the second actually, ... There are other examples, for instance Microsoft Outlook. ... document in an Internet Explorer instance and use a mechanism ...
    (microsoft.public.office.developer.web.components)
  • Re: Computer hangs when clicking a link in IE6
    ... You Cannot Open New Internet Explorer Window or Nothing Happens After You ... Regards, Jim Byrd, MS-MVP ... This happens every time after a couple of minutes in IE6 ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • How to open Internet Explorer Window (own new Process! + no Toolba
    ... I would like to open via C# a new internet explorer window which has no ... toolbars, but when opening the window it has to be in a new internet explorer ... wb.Navigate(url, ref o, ref o, ref o, ref o); ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)