• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java gateway programming

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys, I am new to Java programming and i really want to master Java language. Currently I am working to write gateway. But i have no idea about it. I got one provision system and on the other side there is one network system. I need to write gateway between them. So could you guys please give me some information, advice, tips, links, codes or something helpful please. Thanks in advance!!
 
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.. as protocol goes.. welcome to JavaRanch..

On the other side what is there? By gateway what do you mean, is it that you want to communicate with the other side?
 
magvanshiirev Janchiv
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I have Provision system and Network system. I need to develop gateway program between them (Provision system to Network system) to communicate.
 
magvanshiirev Janchiv
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Simply, I need general knowledge of gateway programming.
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure what you mean by gateway programming.. is it CGI programming (common gateway interface) ? Can you provide any online resources on this?
 
magvanshiirev Janchiv
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah i suppose it is CGI, It is similar to SMS gateway but instead of SMSs I got provision system (It manages user data). So I need to write codes to transit (or maybe translate) provision system's data to the other system.
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can only help you this much.. have done some CGI programming with PERL looong time ago..

assuming there is already a request originating from your provisioning system.. you can write a gateway program on the "other side" (server side)

check here and here

to give an overview on this.. when a request comes to the web server on the server side the web server would invoke some script based on the url pattern usually
containing the part cgi-bin..
the script in turn would invoke your java program.. has a multi process model in contrast to modern request handling methods such as servlets which operate on a multi threading model...
and for each process spawned, environment variables would be set and the program would operate using these environment variables..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't seem sure about what it is that you're supposed to implement - I suggest you have a long chat with whoever gave you this task so he can tell you exactly what the task is and its related technologies. CGI is an outdated technology; I doubt that's what you're supposed to use these days.
 
magvanshiirev Janchiv
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay thank you! I was wondering same way
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic