• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet-database discussion

 
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
 
Saloon Keeper
Posts: 22267
151
Android Eclipse IDE Tomcat Server Redhat Java 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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic