Hi All,
I have a problem regarding the amount of data i need to transfer from
App Server to Web Client. I have a String of size about 3-4 MB which i
need to transfer from EJB Server to my Web Client.
Can anyone suggest some solution or alternatives?
Marcin Zduniak - 07 Sep 2006 19:04 GMT
Strings usually compress well, so maybe try using classes from package
java.util.zip to squeeze your data ?
Regards,
Marcin Zduniak / http://zduniak.com
> Hi All,
> I have a problem regarding the amount of data i need to transfer from
> App Server to Web Client. I have a String of size about 3-4 MB which i
> need to transfer from EJB Server to my Web Client.
> Can anyone suggest some solution or alternatives?
Arne Vajhøj - 07 Sep 2006 23:24 GMT
> I have a problem regarding the amount of data i need to transfer from
> App Server to Web Client. I have a String of size about 3-4 MB which i
> need to transfer from EJB Server to my Web Client.
> Can anyone suggest some solution or alternatives?
It may actual work on some/most app servers.
But I assume that it is not since you are asking.
If it is a stateful session bean then you can
get multiple smaller chunks.
But there are probably not a perfect solution, because
EJB's are not really designed to handle LOB's.
Arne