aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes file upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "file upload" Watch "file upload" New topic
Author

file upload

Bing Lu
Ranch Hand

Joined: Oct 10, 2000
Posts: 42
can any1 tell me how do I do a file upload in ejb
thanks
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Adeeshwar Singhal
Greenhorn

Joined: Oct 18, 2000
Posts: 28
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


Hey guys!! come and have some cups of HOT JAVA........<BR>Adeesh
hanumanth reddy
Ranch Hand

Joined: Jun 12, 2000
Posts: 118
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


<a href="http://www.jobklub.com" target="_blank" rel="nofollow">http://www.jobklub.com</a><br /> 'Add Job To Life'
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: file upload