[jboss-user] [EJB 3.0] - Access a file resource from EJB3.0
skymic
do-not-reply at jboss.com
Thu Oct 25 05:09:37 EDT 2007
Hi all,
I am using a jboss-4.0.5.GA app server.
I have a SLSB from which I want to access a file resource.
Simply using java.io.File and java.io.FileInputStream does not seem to be allowed in EJB.
I browsed through the forum and I think I have to define a URL resource but I could not find an example.
Can anyone provide me with a working example of how to access a file in EJB3.0?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098726#4098726
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098726
More information about the jboss-user
mailing list