All applets are browser-based, unless there's some subtlety in your
statement I'm missing. But applets interact with users through a GUI...
windows, pointers, menus, etc. Imagine rewriting your applet without
being able to use any classes from the java.awt or javax.swing packages.
That's basically what you have to do.

You can get fancy: divide your application into GUI components that run
as an applet on a browser, non-GUI components that run on a server, and
use RMI to connect the two. But the basic servlet model is that the Java
code all lives on the server: it talks to the user by generating web
pages and listens to the user by listening to the few things browsers
know how to send: URL requests and forms data. There's still a lot you
can do with forms and JavaScript to create a nice client-side GUI -- you
just have to do it with HTML programming instead of Java programming.

I'm going to suggest, since this isn't really a Linux topic, that you
may find some better guidance in newsgroups or mailing lists devoted to
Java programming.

Nathan


Matt Zagni wrote:
> 
> Nathan,
> 
> > Depends what it does. If it's GUI-intensive, you need to redesign your
> > UI to work through HTML interactions instead of windows and pointers.
> 
> What if the application was browser based in the first place would the
> same apply then ?
> 
> Many thanks
> 
> Matt
> 
> > Date: Mon, 26 Jul 1999 08:46:37 -0700
> > From: Nathan Meyers <[EMAIL PROTECTED]>
> > To: Matt Zagni <[EMAIL PROTECTED]>
> > CC: [EMAIL PROTECTED]
> > Subject: Re: Migrating Applets to Servlets
> >
> >
> > Matt Zagni wrote:
> > >
> > > Hi,
> > >
> > > I think this has been asked before perhaps many times
> > > however I am unable to find it in the archive listing.
> > >
> > > Question.
> > >
> > > I have an application written in java applets.
> > > I would like to migrate it to be a servlet based application
> > > however I don't realy wish to rewrite the original app again.
> > >
> > > Is it possible to easily migrate the applet application over
> > > to become a servlet based one ?
> >
> > Depends what it does. If it's GUI-intensive, you need to redesign your
> > UI to work through HTML interactions instead of windows and pointers.
> >
> > Nathan


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to