Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About file access and resource manager.

 
rui lin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,everybody!
We all know it is not allowed to access file one the server hosting the ejb container throug java.io .
But it is said:
Although an enterprise bean must not use the java.io package to attempt to access files and directories in the file
system,components should use a resource manager API(Class.getResourceAsStream() returns a InputStream), such as JDBC,
to store data.

I wonder which resource manager we can use and how to use.
 
rui lin
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would you please post some example codes?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic