Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/06/2011, 10:05
san_marcus
 
Fecha de Ingreso: junio-2011
Mensajes: 1
Antigüedad: 12 años, 10 meses
Puntos: 0
Pregunta Paginacion en WEb Service

buenos dias tengo un tema que quiero comentar, estoy trabajando con un servicio web para una compañia de la nacional y sucede que el servicio web invoca un metodo que arroja un resultado de mas de 50 mil registros, en una sola respuesta, sucede que cuando el navegador trata de traer todo ese lote de registros se guinda y no se puede visualizar ninguno porque obviamente no hay un navegador que soporte eso, por lo tanto la solicitud del cliente es PAGINAR, pero alli viene mi primer problema, como pagino un metodo de un servicio web? sera que cargo toda la info en una pila en memoria y luego voy leyendo esa pila y cargando las nuevas paginas, me gustaria mostrar los cuatro botones basicos, anterior, siguiente inicio y ultimo, lo bueno es que el proceso es asincrono, osea mientras estoy leyendo estoy seguro que no habran actualizaciones de ningun tipo sobre el registro. estoy usando java 1.5 y el entorno es jdeveloper 10.1.3.5

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