Passing Workbook object between 2 micro services

Can I pass a Workbook object between 2 REST services over http or via queue between 2 processes?

@shahsidd1,

I think you should be able pass Workbook object between two REST services over HTTP or via a queue between two processes. However, you will need to serialize the object into a format that can be transmitted over the network or stored in the queue by yourselves. One option can be to serialize the object into JSON or XML format, which can then be transmitted over HTTP or stored in a queue. Moreover, the receiving service or process may deserialize the object back into its original form.

@shahsidd1,

Generally the model of all contents of one workbook together is a large data set. If you need only part of data of it, it may be suitable to serialize the data and transmit it to another service. If you need the whole workbook, maybe saving it to a stream, transmitting the binary data and then instantiating Workbook from the received data is more efficient and convenient for you.

Thanks for the suggestions

@shahsidd1
You are welcome. If you have any questions, please feel free to contact us.