Hi there,
If EJB 2.0 doesn't supports File I/O, then how can we upload a file to oracle database through BMP bean and Swing Client..explaination please!!!
Thanks and Regards
-
Swing/EJB/ File uploading.. (1 messages)
- Posted by: Rahul ..
- Posted on: June 24 2001 20:55 EDT
Threaded Messages (1)
- Swing/EJB/ File uploading.. by Wojciech Ozimek on June 25 2001 04:36 EDT
-
Swing/EJB/ File uploading..[ Go to top ]
- Posted by: Wojciech Ozimek
- Posted on: June 25 2001 04:36 EDT
- in response to Rahul ..
You cannot do the IO operations from EJB, but you can load the file at Swing client and then send the data to the server (for example as an array of bytes). The Swing application will operate on files and server-side application will use the database. In EJB's you may be forced to create some streams, but they should not be connected to any files.
Regards
Wojtek