The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

reply

Posted by Pavan Kumar Keely on June 27, 2001 at 6:13 AM

I don't understand whether you are talking about web server or your own server.
If the server is the one you have created then go for socket programming from the applet.
If the server is the web server then go for Servlets programming.
Don't ever use applet to database connection. This may cause security problems and more..
The databse should be at the system from where the server is running.

If you are not clear, feel free to contact me at keelypavan@hotmail.com

Pavan Kumar Keely
Member, Product Development Team, Quillis India

> Hi,

> I am developing a SWING applet, and I need to send/recieve information from a database...and possibly do some other server processing as well.

> What is the recommended communication method...HTTP using servlets on the server??..

> RMI to Java classes on the server??

> if I do not need to do any server processing can I just do direct JDBC from the applet to the database?

> Thanks in advance..

> BZ






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us