What is the best method to use in connecting applet clients to Server- side processes(servelets)

Posted on 2003-03-23
Medium Priority
Last Modified: 2010-04-01
Hi everyone,

For a simple web application which  
involves database fuctionalities such as add, delete, update and authenticating;
(supposing the only choice was to use an applet)
what method OF CONNECTION would u recommend and why?
Question by:mi_cky
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 14

Expert Comment

ID: 8195655
not sure what do you mean by METHOD OF CONNECTION.

if you use applet connect to database directly, basically it is same as any traditional client/server application. your scalability is very much limited.


Author Comment

ID: 8195740
>not sure what do you mean by METHOD OF CONNECTION.

as in using HTTP TUNNELING or by bypassing the HTTP protocoal using RMI or SOAP

LVL 14

Accepted Solution

kennethxu earned 600 total points
ID: 8196774
rmi is connected protocol, you need a dedicated connection from each client to your server. so it could be expensive and also restricted by firewall/proxy.

soap in fact use http/https, so you are not bypassing http anyway.

http tunneling is a very general technology term, you can say soap in fact uses http tunneling.

unless you application in intranet and with small user base. otherwise, I would suggest you to use soap.

but if you don't want to learn soap or want a little better performance, you can write your own code to serialize objects between servlet/applet.


Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a fine trick which I've found useful many times, when you just don't want to accidentally run a batch script or the commands needs administrator rights.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question