Hi Koluwa,
Welcome to JavaRanch and this forum!
You're right that, among other programming restrictions, the
EJB specs state (bottom of page 494):
An enterprise bean must not use the java.io package to attempt to access files and directories
in the file system.
The file system APIs are not well-suited for business components to access data. Business components should use a resource manager API, such as JDBC, to store data.
Now using other APIs than the java.io package may lead you - indirectly - to access the file system anyway.
But the same specs on page 496 lists the APIs that the container must make available to the enterprise bean instances at runtime. And among them you find ... JAXP 1.0!
So I guess that what you need is achievable without breaking any EJB rule.
Regards,
Olivier.
[ August 25, 2004: Message edited by: Olivier Dumont ]