• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet-database discussion

 
java puneri
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
java puneri
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tim.

puneguy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic