File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Transfering Large Data from server to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Transfering Large Data from server to client " Watch "Transfering Large Data from server to client " New topic

Transfering Large Data from server to client

Sivakumar Nachimuthu
Ranch Hand

Joined: Aug 10, 2004
Posts: 52
Hi ,
I have the large amount of data in the database. It is approximately 2 lakh 80 thousand records in the dynamically created tables. I have the method in session bean which query the database and get the values and put in a hash table in 30 seconds. I am calling this method from java client which takes 10 minutes to complete.So tranferring the huge amount of data in hash table takes so much time. Is there any way to reduce this data transfer time ?

Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Sivakuma,

In my opinion using ejbs for transferring large amount of data is not the best choice. You can use third-party software tools for that and I�d recommend you looking at openadaptor:

The beauty of it is that you don�t need to write any code for that, providing an appropriate configuration file will suffice. Another advantage is that you can configure the tool to transfer several smaller chunks of data at a time, rather than a giant load. It has also other nice features like message hospitals, etc.

I think, therefore I exist -- Rene Descartes
It is sorta covered in the JavaRanch Style Guide.
subject: Transfering Large Data from server to client
Similar Threads
preparedStatement.executeQuery() not returning , not even showing any error
amount of text - performance
Decrpytion Using SHA-1
xml rpc and setGzipRequesting
Synchronization approach