Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
Often, the users face difficulty in accessing Outlook 2016 PST files on Windows 10 computer. One of the reasons behind it is the improper functioning of MS Outlook when the user tries to open it. MS Outlook suddenly stops working, or it will not op…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

581 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