client server communication in java

A

anu

I have a java web service that returns byte arrays to the client.
First a byte array is returned and the server gets the acknowledgement,
then the next byte array is sent and so on. But I don't have much idea
how to implement it. How can I resume from where I stopped at the
server side? Can anyone give me some idea so that I can proceed?
 
O

Oliver Wong

anu said:
I have a java web service that returns byte arrays to the client.
First a byte array is returned and the server gets the acknowledgement,
then the next byte array is sent and so on. But I don't have much idea
how to implement it. How can I resume from where I stopped at the
server side? Can anyone give me some idea so that I can proceed?

Is this using the HTTP protocol? Is this done over a single connection,
or does the server and client disconnect repeatedly during the transaction?
Does the acknowledgement happen at the application layer, transport layer,
or network layer?

- Oliver
 
A

anu

I am using Axis web service in java. Everything is done in a single
connection and once all the byte arrays are transferred, I will commit
the transaction. Every thing is done at the application layer. So how
the client and server communicate in between? How will I implement it?
 
O

Oliver Wong

anu said:
I am using Axis web service in java. Everything is done in a single
connection and once all the byte arrays are transferred, I will commit
the transaction. Every thing is done at the application layer. So how
the client and server communicate in between? How will I implement it?

I'm not familiar with Axis, but if this is a "web service", I'm assuming
you're using the HTTP protocol. The HTTP protocol is supposed to be
stateless, so you simply cannot have server wait for the client to send
acknowledgements at the application layer.

- Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top