This content has been marked as final.
Show 1 reply
-
1. Re: Uploading/Download files using JBoss and MySQL
fender_rules Jan 27, 2003 12:38 AM (in response to tbauer)How did you workaround the OutOfMemoryError problem when you download/upload big files through CMP bean? I've just implemented similar application but had to use direct JDBC to retrieve binary stream, since I couldn't find any other method to get BLOB data in stream format using CMP bean.
BTW, I've put oscache filter in front of the download servlet which helps to reduce database hit so reading BLOB column in database does not occur everytime users send download request.
If you have found any useful tips/workarounds regarding EJB download/upload component implementation, I'd very appreciate your comment.
Thanks
Xavier