This content has been marked as final.
Show 2 replies
-
1. Re: Session Bean reads a XML file
fabcipriano Jan 28, 2006 2:17 PM (in response to morenito9000)Read files in EJB is not J2EE compliant, see EJB 2.1 doc item 25.1.2
But if this is necessary only God can stop from read files. -
2. Re: Session Bean reads a XML file
morenito9000 Jan 30, 2006 3:11 AM (in response to morenito9000)"An enterprise bean must not use the java.io package
to attempt to access files and directories in the file system"
This EJB spec. sounds like a "condemnation" :-)
The problem is that I can't directly manage
infos I need (they are passed to me by other people
in my company and they don't allow a direct access
to "their" DB. They prepare every day a XML version
of DB infos).
Thank you fabcipriano.
Moreno