[jboss-user] [EJB 3.0] - Re: Access a file resource from EJB3.0

skymic do-not-reply at jboss.com
Tue Oct 30 09:52:19 EDT 2007


Thanks gmuzzillo and JUnkie,

I know that using java.io.File and java.io.InputStream (and subclasses) for file access work, however I get a warning from by IDE (which is IntelliJ IDEA V6.0) which says "usage of java.io.File not allowed in EJB".
Same for FileInputStream.

Again, the code compiles and works well.

Does anyone know about the "correct" rules of how to access files from inside an EJB?

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

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



More information about the jboss-user mailing list