The jar  file that is needed for the applet take too long to 
download.  I am thinking that the servlet approach would decrease the 
response time for the application.


> Date:          Fri, 30 Apr 1999 16:31:00 -0400
> To:            "Java-Servlets" <[EMAIL PROTECTED]>
> From:          "Ross J.P. Ethier" <[EMAIL PROTECTED]>
> Subject:       Re: applet to servlet conversion
> Reply-to:      "Java-Servlets" <[EMAIL PROTECTED]>

> Simple....
> 
> inside of servlet.init just do this.
> 
> Applet a = (Applet)Class.forName("AppletClassName").newInstance();
> a.init();
> 
> Then inside of doGet or doPost or service just do the following
> 
> a.start();
> a.stop();
> 
> and finally in finalize..
> 
> a.destroy();
> 
> voila your done!   
> 
> Just one question, why on earth would you want to convert an applet to a
> servlet when 99.9% of applets and 0.1% of servets are GUI based?
> 
> If you want to offload cycles to the server/servlet then i suggest using
> applet/servlet message passing via HTTP or else use RMI or IIOP with 
> the appropriate RMI/Corba server.
> 
> Ross
> 
> 
> At 12:38 PM 4/30/99 -0600, you wrote:
> >Good afternoon all,
> >
> >     I have an applet that is rather large and would like to convert it 
> >to a servlet to improve the response time.  My question is this: has 
> >anyone figured out an easy (read quick) way to convert an applet to a 
> >servlet?  I know I could completely rewrite the application but would 
> >prefer not to.  Thanks for the help.
> >
> >
> >Dale Poulter
> >Systems Librarian
> >Vanderbilt University
> >Suite 700
> >110 21st Avenue South
> >Nashville, TN  37240
> >(615)343-5388
> >(615)343-8834 (fax)
> >[EMAIL PROTECTED]
> >
> >
> >------------------------------------------------------------
> >To subscribe:    [EMAIL PROTECTED]
> >To unsubscribe:  [EMAIL PROTECTED]
> >Problems?:       [EMAIL PROTECTED]
> > 
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Problems?:       [EMAIL PROTECTED]
> 
> 
Dale Poulter
Systems Librarian
Vanderbilt University
Suite 700
110 21st Avenue South
Nashville, TN  37240
(615)343-5388
(615)343-8834 (fax)
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to