4 Replies Latest reply on Oct 30, 2007 12:09 PM by wayne baylor

    Access a file resource from EJB3.0

    Michael Eibeck Newbie

      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