• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

file upload

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any1 tell me how do I do a file upload in ejb
thanks
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think we need a little more context, as "file upload" can mean many things, most of them not the sort of thing usually done by EJBs. Please tell us more about what you need to do.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There r two things u need to know.
First, file is uploaded using MultipartRequest class on ur server.
Second, It is converted into byte Array which is stored as BLOB object in Oracle database.
u can use TOPLink for this mapping. otherwise it is bit complex.
Now i think u would be much more confused. But only after I come to know of ur confusion i can assess ur level of understanding of the subject.. Hope to hear big questions from u soon
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
u first let know what ejb are they are executed on server and not at clinet side whereas file upload is to upload the file from client side toserver side so implement it in clinet code at client side and not at server
reply
    Bookmark Topic Watch Topic
  • New Topic