Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Upload/download a file using EJB in middleware.  RSS feed

 
Sandeep Kumar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give me the architecture for Uploading/downloading of file using middleware like EJB (statefull session Bean).
*(My appplication is a frame installed in the local/client machine and browser is not in use.)And bean will communicate to server where the file will get stored.
thanks in advance.
 
pavi kavi
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
As far as my knowledge is concerened we cannot use java.io. * in EJB so u better think of uploading in servlets
pavithra
Originally posted by Sandeep Kumar:
Please give me the architecture for Uploading/downloading of file using middleware like EJB (statefull session Bean).
*(My appplication is a frame installed in the local/client machine and browser is not in use.)And bean will communicate to server where the file will get stored.
thanks in advance.

 
Lakshmi Anantharaman
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess there is an option of using fileSystem (for uploads )
In the case of weblogic in the properties file we have the option weblogic.fileSystems that can be set to a particular directory in your web server .
Using t3 file system we can upload files to the directory .If you are using weblogic ,I guess going through the examples provided in welogic.io shall help you

Hope this Helps
Lakshmi -
Originally posted by Sandeep Kumar:
Please give me the architecture for Uploading/downloading of file using middleware like EJB (statefull session Bean).
*(My appplication is a frame installed in the local/client machine and browser is not in use.)And bean will communicate to server where the file will get stored.
thanks in advance.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!