Well ! i am actually trying to simulate streaming behaviour in a session bean. As we know IO streams are not serilizable and hence can not be used in EJB method return types, I am trying to put together a generic framework which can simulate the streaming behaviour. I got pretty successful in it and got it to working. But the framework needs to identify the client type. If local, it directly returns the stream instance to client (since no serialization is done here, hence no issues), but if remote it returns the simulated stream instance to client which then retrieves data from actual underneath stream instance that resides on server. As of now, i am handling this with different create methods in local and remote home to know if the bean instance is serving a remote or local client.
But this is a redundant workaround. I would like to have some thing more concrete and generic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945453#3945453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945453 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user