• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

How to connect 2 servers from an applet residing in one of the servers

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an applet residing in one server.I will run that applet through browser in any client M/c.I want to connect
to another server having different Ip address ,using this applet.But it is giving security exception.

ex. I have got a AS/400 server,where applet classs is residing. I want to get information from AS400 server and put them in Unix server(different Ip config).If i am using the same applet ,it is giving security exception.

Can you please help me out from this problem .Or if possible can you give other suggession to accomplish this task.
Thanks
Satya
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The usual solution to this is to install some sort of port redirector on the machine from which the applet was delivered. So (for example) port 24761 on your AS/400 box is just passed through to port 80 on your unix box.
I used a Java program called TCP Reflector which I found on the web. Or you could write your own.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic