Arjun Shastry wrote:Thanks Mohamed. You mean to say we should pass java.awt.Image ? in Javafx application, i am using javafx.scene.image.Image Object . How should we convert this Image to awt.Image one ?
Dont pass any specific Image implementation. You can just pass the data required to reconstruct the image on the UI. You might just require the source for the image and use the source to construct either JavaFX Image object or any other Imaged object.
This means you create you own custom data structure for holding details about the image and then transport this data structure/object via the webservice.