[jboss-user] [EJB 3.0] - Returning File Contents to Client

tdemuth do-not-reply at jboss.com
Sun Oct 28 04:07:30 EDT 2007


Hi,

I need to write a Stateess Session Bean which has Methods that return file-contents to the client. The files are text-files (<100 kb) or binary files (<2mb). Just returning a stream or reader isn't possible, because these classes aren't serializable. So how can I do this? Or am I on the wrong track and should do it completely different?

kind regards
Tobias

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099636#4099636

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099636



More information about the jboss-user mailing list