Results 1 to 5 of 5
- 05-30-2011, 04:20 PM #1
Member
- Join Date
- May 2011
- Posts
- 7
- Rep Power
- 0
Webapplication and applet communication with database
Hello to the forum... this is my first post!

I have created a web application which stores some statistical data in the database.Now i need to create an applet to represent these.The problem is that the applet runs on client machine and i want to avoid providing the applet the rights to communicate with the database.Is there is a way to pass an Object to the applet with all the neccessary information?Which is the best way to make the applet communicate with the database.......
?
//A final thought was to create a servlet which sends the ResultSet with URLConnection ....Last edited by nikosdi; 05-30-2011 at 04:24 PM.
- 05-30-2011, 04:50 PM #2
Sounds like you need some code on the server to do the DB stuff which the applet can communicate with.
A servlet might help there
- 05-30-2011, 05:30 PM #3
Member
- Join Date
- May 2011
- Posts
- 7
- Rep Power
- 0
You mean a servlet to get the ResultSet and then return it to the applet?I am a bit afraid of this because it might be insecure(Maybe i am wrong so feel free to correct me!).I also thought of creating a web service returning the ResultSet but i am still unfamiliar with services!
- 05-30-2011, 06:28 PM #4
I also am unfamiliar with services
- 05-30-2011, 06:47 PM #5
Member
- Join Date
- May 2011
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
applet to applet communication: classcastexception
By tsb in forum Java AppletsReplies: 12Last Post: 06-18-2011, 04:38 PM -
General info about communication between servlet and database
By vagf in forum Java ServletReplies: 0Last Post: 04-23-2011, 05:15 PM -
Java Applet to Applet communication
By jsman in forum Java AppletsReplies: 3Last Post: 04-05-2011, 02:23 PM -
applet servlet communication
By viswamadhavi in forum Java AppletsReplies: 0Last Post: 04-06-2009, 01:12 PM -
applet servlet communication
By hardc0d3r in forum Java AppletsReplies: 1Last Post: 07-12-2007, 06:58 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks