Forums Register Login

Applet-database discussion

+Pie Number of slices to send: Send
Java gurus requested to comment
We are not using Servlet,JSP.
As of now we are using the mysql's Thin driver, for applet-database connection.
Now we are facing firewall problem, we tried to solve this problem using some server residing .exe file which will respond to applets query.
It means the information need by applet client will be sent to this specific server residing .exe file
code somthing like ...
URL url = new URL("http://hostname/exefile-name,param1,param2);
In turn the server program will send information to applet client in some known format, e.g. XML.

If anybody already worked on such kind of communication are requested to comment & discuss.
Thanks in advance
Puneguy
+Pie Number of slices to send: Send
It sounds like you're just reinventing the wheel. If you're communicating with a tcp/ip server program, it doesn't matter if it's a jdbc driver or an exe - the same firewall will still be there and it will block you. The only way around that is to use a firewall-blessed port like the www (port 80) port. In which case, you might as well save the effort, install Tomcat or some other J2EE server, and let a JSP or servlet generate the XML.
+Pie Number of slices to send: Send
Thanks Tim.

puneguy
Tomorrow is the first day of the new metric calendar. Comfort me tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 475 times.
Similar Threads
Signed Applet Issue..
IBM HttpServer and websphere Appserver
Save as Dialog in Applet
How to connect 2 servers from an applet residing in one of the servers
Integration of JSP and ASP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 05:34:41.