Displaying chart in a Java web application


What is the best way to do send the serialized byte array to the client, if the chart is created by a .NET Web service and the client that needs to display the Excel is a J2EE browser application?

Do I need to deserialize the bytearray in the client application? Do you have any sample Java code for this?


Please use OpenInBrowser or OpenInExcel option to send the file to client. J2EE browser may doesn't support to display the Excel file but they can download it.