Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

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: 22149
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
 
No matter. Try again. Fail again. Fail better. This time, do it with this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic