Originally posted by James McLean:
I probably should have stated that my problem has more to due with handling IO in session beans...
Where is this file located?
You can still ask your classloader to get an InputStream of a resource (file) located in your classpath.
You can still use a Client Socket to retrieve whatever resource via network.
Using file IO directly is still possible, if the AppServer allows it. But it's considered as bad practise, because it reduces the portability of your EJB. But if you don't care about portability simply
test it, it might work.
Hmm, I shouldn't propagate bad practise :roll: