• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java gateway programming  RSS feed

 
magvanshiirev Janchiv
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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!!
 
Gamini Sirisena
Ranch Hand
Posts: 378
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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..
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Okay thank you! I was wondering same way
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!