Re: Integrating servlet container into my stand alone App
From: Bryce (spamtrap_at_berzerker-soft.com)
Date: 09/27/04
- Next message: Bryce: "Re: Object class"
- Previous message: Bryce: "Re: Where is Roede??"
- In reply to: DiscoStu: "Integrating servlet container into my stand alone App"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Bryce: "Re: Object class"
- Previous message: Bryce: "Re: Where is Roede??"
- In reply to: DiscoStu: "Integrating servlet container into my stand alone App"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|