File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Files from EJB

 
Angelino Dolce
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
jay akhawri
Ranch Hand
Posts: 47
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic