1 Reply Latest reply on Mar 14, 2004 11:37 PM by Adrian Brock

    Pass InputStream among servlet, session and entity beans

    Jinpeng Xie Newbie

      For multipart/form-data request, a servlet can get a java.io.InputStream if com.oreilly.servlet.multipart package is used. If I want to use the InputStream to store data into database, do I have to use jdbc from this web tier? Can I pass the InputStream into stateless session tier in another jvm? Can I pass InputSteam among web, session entity tiers in this case because InputSteam is just a connection to web-client in this case although InputSteam is not serializable?

      I appreciate it if You can make me clear on this issue.