This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Files from EJB" Watch "Files from EJB" New topic

Files from EJB

Angelino Dolce

Joined: Jul 26, 2005
Posts: 24
Hi all!
One of the restrictions of EJB is:
An enterprise bean must not use the 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

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.
Don't get me started about those stupid light bulbs.
subject: Files from EJB
Similar Threads
difference btn Jar, War and Ear File
Deploying Multiple ejb.jar files
stateless session
Please help me out