Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

file upload

 
Bing Lu
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can any1 tell me how do I do a file upload in ejb
thanks
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • 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.
 
Adeeshwar Singhal
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • 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
 
hanumanth reddy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic