Results 1 to 9 of 9
Thread: Paging WebService response.
- 06-07-2011, 07:06 PM #1
Member
- Join Date
- Jun 2011
- Posts
- 5
- Rep Power
- 0
Paging WebService response.
Hi, this time am working in a webservice for a national company in my country, so the web service calls a method and this query goes to the server bringing a litlle more than 50.000 registries in one only response, it happens in asincronohus method, so am pretty sure no new data will be loaded while am showing the 50.000 registries, of course the browser freeze when try to load so many registries, my main question is what can I do to paging al those record and only show 300 registries per page.. and of course, the 4 ussual buttons, Start, Back, Forward,Last. please any help would be good, some people have already told me that I must load this registry in a temporal memory, I am pretty sure, I don´t know how to do that?, am working with java 1.5 and my sdk is jdeveloper 10.1.3.5
- 06-07-2011, 07:58 PM #2
If sending the full number of "registries" makes for too large a file to view, then it would seem you need some software to break it up into smaller pieces.
Perhaps you could use an applet to display the pieces and have the applet communicate with code on the server to move the "view" around on the underlying "registries"
- 06-07-2011, 09:17 PM #3
Member
- Join Date
- Jun 2011
- Posts
- 5
- Rep Power
- 0
the client does not allowed
the client does not wish to use applet.. (#$")#
- 06-07-2011, 09:38 PM #4
Then its special code on the server to send the browser pieces of the whole. I don't know how the browser tells this code to move to the next or the previous view. That would require links within the page with the current piece.
- 06-07-2011, 09:51 PM #5
Member
- Join Date
- Jun 2011
- Posts
- 5
- Rep Power
- 0
thanks for your quick response, the matter here is the browser reads from the server, but no matter wich browser the client use, all of them freeze trying to read all the registries, my question is ... will be a good idea to load all this data by http into a heap or something like that or is there any way to for example, execute a first query than request 10.000 registrys and if the client press. next then send another request for the next 10.000 and so on, or wich could be the best way to handle this.. please give me a suggest because this is my first time dealing with some thing like it.
- 06-07-2011, 09:54 PM #6
Don't let the browser directly read the whole of the registries. Have it go to some other code that will be able to pick up the part that the user wants to see next. This could involve servlets or cgi-bin or PHP or ???
- 06-07-2011, 09:57 PM #7
Member
- Join Date
- Jun 2011
- Posts
- 5
- Rep Power
- 0
the question is .. "Have it go to some other code " that is what I want" to Find
- 06-07-2011, 09:58 PM #8
That could be the part that you have to write.
- 06-08-2011, 10:13 AM #9
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
SOAP|Java Response - IOException| Server response - a:System.Net.WebException
By bornster in forum XMLReplies: 0Last Post: 04-07-2011, 03:09 PM -
Reg:How to write xsl for an response soap object of webservice and then transver to h
By narayana@gmail.com in forum New To JavaReplies: 0Last Post: 03-02-2010, 08:07 AM -
Paging in swing when using MS-SQL
By Java.child in forum AWT / SwingReplies: 0Last Post: 11-17-2008, 09:04 PM -
Paging Problem
By jazz2k8 in forum Advanced JavaReplies: 3Last Post: 11-05-2008, 02:29 PM -
How to set a max response time in webservice client
By sudheerbasu.k@gmail.com in forum Advanced JavaReplies: 1Last Post: 05-11-2008, 02:25 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks