Originally posted by Roger Chung-Wee:
Can I make a suggestion ... check out the java.util.zip API doc and see which package is used for reading and writing.
"An enterprise bean must not use the java.io package to attempt to access files and directories in the file system."
Here I think the spec emphasize on file system not the java.io package. For example, it's ok to use the java.net.Socket in EJB where definitely we can use the java.io.InputStream and java.io.OutputStream.
And java.util.zip API is based on java.io.In/OutputStream, so my understanding is it's Ok to use java.util.zip package in EJB.
Did I miss sth here? Please correct me.