users@glassfish.java.net

May a session bean access local files?

From: Markus Karg <karg_at_quipsy.de>
Date: Thu, 15 Apr 2010 21:37:09 +0200

Back in the EJB 1.x and 2.x days an EJB was not allowed to access local
files (the reason was (a) that this is a blocking API and (b) this a
potential security risk).

 

What about EJB 3.x? Is that restriction gone or does the specification
still disallow it?

 

Thanks

Markus