I am planning to develop a Java server to share info (serialized objects) among Android devices. I need push technology, which I will implement with the Observer Pattern in the server, registering all active devices. Of course, I would use serializable Java objects and there should be no problems here…
But, will I have problems if I want to use this same server with Apple devices too? Or will this kind of architecture only work in a Java environment? I do not know if ObjectInputStream and ObjectOutputStream in the server socket will be able to deal with the received Objective C objects and if Apple devices will be able to deal with Java objects sent by the server.
Thanks a lot!
You should consider using REST or SOAP there are pleanty of API out there, instead of Object Streams – those will not work as neither Java nor Objective-C is able to handle non Native Serialized Objects.