Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger


Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have an applet and i want to convert it into a servlet as in i want to do the computation on the server ..... is it possible ...... what are the steps
Posts: 67405
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

A title such as "hey" is completely useless. What would happen if all posts had such a title?

Please go back and change your post to add a more meaningful subject by clicking the button on your post.
Posts: 11445
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets run on the client in a browser where as servlets run on the server. Except the "lets" part, they have nothing in common.
As far as I can understand your question, your applet currently computes some data and you want to move this computation to the server using servlets.
You can always move the computing blocks (methods) to the server and invoke them from the applet. How to invoke them would depend on your architecture. RMI or Object I/O over HTTP are two options which immediately come to mind.
You might find this link useful
Also keep in mind that "applets can only dial home", meaning they can only communicate back to the server from which they originated.

I see Bear has already informed you about changing the post title. It is expected that you do so before posting again.
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic