The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Im writing an app that will contact a specified gateway and retrieve info onto our server and perform manipulations on it then return the result back to the gateway for further operations...

But I'm a newbie and dont have much of an experience in network programming...
Would like to know what are the paramaters necessary to contact the gateway...(I've got permission to use a gateway from a certain provider.)

Could anyone please help me...(This is the last bit in my project , that im not too familiar with)

The protocol is probably going to be HTTPS...
We have a choice to choose between that and HTTP... working out the logistics as of now..
But generally speaking can you give me pointers on how to hook onto the gateway?

This is however the overview...
The gateway will be pushing text to our server, we maintain a DB to do the manipulations on the incoming text.
Process depending on our needs and then push the result back to the gateway which will then take it forward.

It would be fairly straight forward then I guess, the server needs to have a servlet which accepts requests and then just prints back an answer to the gateway. Think of it as the gateway is the web browser and the server is just a normal web server.

You go to a url and you see a result. Thats what the gateway will need to do.

The gateway that will send the data to us will be in the form of an url, this will be processed by our server(Which will act as a client since the gateway now acts as server).
So should i be looking at writing a HTTP client app or servlets, because regular socket programming ,Im assuming will only be used for RAW TCP/IP packets..

Well basically, no matter which one is the client server it still works the same, you need to figure out from what machine in your system you want the request to come from (firewall issues etc). Once you've figured this out, this is how it works.