How to send a File, bundled in ValueObject, from Swing Client to EJB?
Posted on 2004-08-06
One suggestion/help reqrd .
My friend has a client/server architecture . Client is in Swings running in
windows and server is in EJB running in Unix .
He is making a session bean call from client to server .
Problem is he needs to send a file to server from client .
With the existing architecture he is sending all the information from clinet to
server after filling up a value object . (for Ex value object contains all
the attributes to be sent to server.).
Now he needs to send a file to server after bundling it into Value Object .
He tried sending a File object that does not work .
What is the way he sends a File to Server bundled in the ValueObject? Or should he follow some other method?