File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Files from EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Files from EJB" Watch "Files from EJB" New topic
Author

Files from EJB

Angelino Dolce
Greenhorn

Joined: Jul 26, 2005
Posts: 24
Hi all!
One of the restrictions of EJB is:
------------------------------------------------------------------------
An enterprise bean must not use the java.io package to attempt to access files and directories in the file system.
------------------------------------------------------------------------
But i've the necessity of writing temporarily a file on disc,reread it and then cancel. What is a recommended solution for this problem?
Thank You very much!
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have a look at the Java Connector Architecture (JCA). This is the mechanism used to get at resources like the File System from an EJB.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
jay akhawri
Ranch Hand

Joined: Nov 28, 2004
Posts: 47
hi angelino and paul,

i am pretty much interested in doing such stuff....can i learn about some basic such applications you might have created...or a link for lerning this.
 
jQuery in Action, 2nd edition
 
subject: Files from EJB