Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

J2EE: How to Transfer String of size > 3MB from EJB Server to Web Client

Thread view: 
Lalit - 07 Sep 2006 10:01 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.