<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8553642737291298841.post7326791458112067153..comments</id><updated>2011-06-24T10:09:55.327-05:00</updated><category term='logging'/><category term='swing'/><category term='web'/><category term='netbeans 7.0'/><category term='bug'/><category term='seguridad'/><category term='junit'/><category term='articulos'/><category term='netbeans 6.5'/><category term='presentacion'/><category term='scjp'/><category term='firefox'/><category term='liferay'/><category term='concurso'/><category term='facelets'/><category term='libros'/><category term='ejb'/><category term='spring'/><category term='ejb 3.1'/><category term='tips'/><category term='tiles'/><category term='sun'/><category term='video'/><category term='eclipse'/><category term='errores'/><category term='conferencias'/><category term='chiste'/><category term='xml'/><category term='jsf'/><category term='mysql'/><category term='java'/><category term='portalpack'/><category term='java 7'/><category term='webservices'/><category term='jdk'/><category term='webinar'/><category term='formateo'/><category term='restful'/><category term='aop'/><category term='jstl'/><category term='oracle'/><category term='curso'/><category term='java ee 6'/><category term='RCP'/><category term='jasperreports'/><category term='struts'/><category term='desktop'/><category term='opinion'/><category term='jpa'/><category term='groovy'/><category term='weblogic'/><category term='ubuntu'/><category term='plugins'/><category term='comentarios'/><category term='error'/><category term='base de datos'/><category term='bugzilla'/><category term='reportes'/><category term='juegos'/><category term='encuesta'/><category term='jsf 2.0'/><category term='datasource'/><category term='wiki'/><category term='portlets'/><category term='jdbc'/><category term='netbeans 6.8'/><category term='javascript'/><category term='jfreechart'/><category term='glassfish'/><category term='tomcat'/><category term='netbeans 6.1'/><category term='youtube'/><category term='NetBeans Platform'/><category term='trucos'/><category term='commons'/><category term='ICEfaces'/><category term='netbeans 6.7'/><category term='ireport'/><category term='internet'/><category term='windows'/><category term='cdi'/><category term='java ee'/><category term='off topic'/><category term='java se6'/><category term='linux'/><category term='apache'/><category term='ibatis'/><category term='javafx'/><category term='ant'/><category term='php'/><category term='ajax'/><category term='tutorial'/><category term='jsp'/><category term='jdk 7'/><category term='documentacion'/><category term='jpa 2.0'/><category term='libraries'/><category term='netbeans'/><category term='glassfish v3'/><category term='log4j'/><category term='jquery'/><category term='noticias NetBeans'/><category term='tutorial java'/><category term='sql'/><category term='servlets'/><category term='noticias'/><category term='dao'/><category term='server'/><category term='eventos'/><category term='programador'/><category term='netbeans 6.9'/><title type='text'>Comments on Apuntes de Java: RESTful parte 3: Manejando colecciones de objetos ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.apuntesdejava.com/feeds/7326791458112067153/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html'/><author><name>Diego Silva</name><uri>https://profiles.google.com/107299481207026512440</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8553642737291298841.post-7818993199466778636</id><published>2011-04-14T14:19:01.328-05:00</published><updated>2011-04-14T14:19:01.328-05:00</updated><title type='text'>Saludos... le agradecería si me indica donde puedo...</title><content type='html'>Saludos... le agradecería si me indica donde puedo encontrar un cliente para consumir este tipo de servicios que retorna una lista de objetos muchas gracias.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/7818993199466778636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/7818993199466778636'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html?showComment=1302808741328#c7818993199466778636' title=''/><author><name>Marco Aurelio Gonzalez Reyes</name><uri>http://www.blogger.com/profile/14564897125039830566</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html' ref='tag:blogger.com,1999:blog-8553642737291298841.post-7326791458112067153' source='http://www.blogger.com/feeds/8553642737291298841/posts/default/7326791458112067153' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1234805221'/></entry><entry><id>tag:blogger.com,1999:blog-8553642737291298841.post-6288896507889763198</id><published>2011-01-09T06:56:28.463-05:00</published><updated>2011-01-09T06:56:28.463-05:00</updated><title type='text'>Ya he encontrado la solución navegando un poco, po...</title><content type='html'>Ya he encontrado la solución navegando un poco, por si a alguien le interesa: http://docs.jboss.org/resteasy/docs/1.0.0.GA/userguide/pdf/RESTEasy_Reference_Guide.pdf</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/6288896507889763198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/6288896507889763198'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html?showComment=1294574188463#c6288896507889763198' title=''/><author><name>Laura</name><uri>http://www.blogger.com/profile/00857715717407911201</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10227025701373154901'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_ftB9h7sL3lA/TCB38fnVqnI/AAAAAAAAAWk/wxv4gMP4aL0/S220/laucamara.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html' ref='tag:blogger.com,1999:blog-8553642737291298841.post-7326791458112067153' source='http://www.blogger.com/feeds/8553642737291298841/posts/default/7326791458112067153' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1753366356'/></entry><entry><id>tag:blogger.com,1999:blog-8553642737291298841.post-7210436344748838935</id><published>2011-01-09T05:30:45.682-05:00</published><updated>2011-01-09T05:30:45.682-05:00</updated><title type='text'>De acuerdo, entonces esperaré de momento :)</title><content type='html'>De acuerdo, entonces esperaré de momento :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/7210436344748838935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/7210436344748838935'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html?showComment=1294569045682#c7210436344748838935' title=''/><author><name>Laura</name><uri>http://www.blogger.com/profile/00857715717407911201</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10227025701373154901'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_ftB9h7sL3lA/TCB38fnVqnI/AAAAAAAAAWk/wxv4gMP4aL0/S220/laucamara.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html' ref='tag:blogger.com,1999:blog-8553642737291298841.post-7326791458112067153' source='http://www.blogger.com/feeds/8553642737291298841/posts/default/7326791458112067153' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1753366356'/></entry><entry><id>tag:blogger.com,1999:blog-8553642737291298841.post-5216512887834176678</id><published>2011-01-07T09:56:12.834-05:00</published><updated>2011-01-07T09:56:12.834-05:00</updated><title type='text'>Hola Laura
falta una parte que quiero llegar (pero...</title><content type='html'>Hola Laura&lt;br /&gt;falta una parte que quiero llegar (pero te adelantaste) que cada objeto puede ser accedido desde un url unico, sin parametros query (de esos con ?param1=val1&amp;amp;param2=val2...) algo así como http://... /rest/producto/01&lt;br /&gt;&lt;br /&gt;El método @DELETE se hace a ese url unico. Creo que el siguiente post trataré de este url unico y cómo manejar los @DELETE.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/5216512887834176678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/5216512887834176678'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html?showComment=1294412172834#c5216512887834176678' title=''/><author><name>Diego Silva</name><uri>http://www.blogger.com/profile/04931472375833223136</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://4.bp.blogspot.com/_kyNzamSrUI0/TPmm_o16msI/AAAAAAAAABg/obdLJ_wgWcw/S220/apuntes_de_java-logo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html' ref='tag:blogger.com,1999:blog-8553642737291298841.post-7326791458112067153' source='http://www.blogger.com/feeds/8553642737291298841/posts/default/7326791458112067153' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1284790941'/></entry><entry><id>tag:blogger.com,1999:blog-8553642737291298841.post-3941050508299494458</id><published>2011-01-07T07:45:02.615-05:00</published><updated>2011-01-07T07:45:02.615-05:00</updated><title type='text'>Hola! Excelente este post de restful, me ha servid...</title><content type='html'>Hola! Excelente este post de restful, me ha servido enormemente, pero tengo un predicamente, ya cree todos los ws que necesito, con los GET no tengo problema, envio un String y me retornan los objetos que necesito en formato JSON y los recibo bien en el cliente. Pero tengo problema con el POST, deseo enviar a el ws un objeto, yo cree el ws y lo pruebo con el testeador que me genera NetBeans, tomo el objeto, lo convierto en json con la libreria flexJson y la salida la copio y la pego en la interfaz del tester que genera Netbeans y bien, pero no he podido crear un cliente que le envie este objeto al ws, lo envio como objeto y marca error, y lo envio como json (el mismo que pego en el test) y me marca este error.&lt;br /&gt;&lt;br /&gt;Exception in thread &amp;quot;main&amp;quot; com.sun.jersey.api.client.UniformInterfaceException: POST http://localhost:8080/GashTest/resources/auditoria?auditoria=%7B%22class%22:%22com.gash.entidades.Auditoria%22,%... 5%7D returned a response status of 500&lt;br /&gt;        at com.sun.jersey.api.client.WebResource.handle(WebResource.java:563)&lt;br /&gt;        at com.sun.jersey.api.client.WebResource.post(WebResource.java:219)&lt;br /&gt;        at werest.ClienteAuditoria.registrar(ClienteAuditoria.java:46)&lt;br /&gt;        at gashagenttest.Main.main(Main.java:57)&lt;br /&gt;&lt;br /&gt;Me puedes regalar una indicación de que puede ser o un link donde encuentre como crear un cliente en java que  envíe objetos por post. Muchas gracias, exitos y que sigas creciendo tu blog, mantengo pendiente de él. Pablo</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/3941050508299494458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/3941050508299494458'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html?showComment=1294404302615#c3941050508299494458' title=''/><author><name>pabava</name><uri>http://www.blogger.com/profile/15622913839570953023</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18032265183140492948'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html' ref='tag:blogger.com,1999:blog-8553642737291298841.post-7326791458112067153' source='http://www.blogger.com/feeds/8553642737291298841/posts/default/7326791458112067153' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1063552555'/></entry><entry><id>tag:blogger.com,1999:blog-8553642737291298841.post-8943940948751716873</id><published>2011-01-07T05:25:31.340-05:00</published><updated>2011-01-07T05:25:31.340-05:00</updated><title type='text'>Hola! muchas gracias por tu nuevo post sobre RESTF...</title><content type='html'>Hola! muchas gracias por tu nuevo post sobre RESTFul. La verdad es que yo tengo problemas con @DELETE, ya que aunque le indique como parámetro un @QueryParam para indicar el ID del objeto que quiero borrar, siempre toma el valor de 0 y nunca el que le paso realmente. Tengo una &amp;quot;solución&amp;quot; usando @PUT y haciendo un borrado lógico (indicando una fecha de borrado en vez de borrar el objeto de bbdd), pero no sé si hay una solución fácil para el @DELETE que no estoy viendo. Muchas gracias y un saludo! Laura</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/8943940948751716873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8553642737291298841/7326791458112067153/comments/default/8943940948751716873'/><link rel='alternate' type='text/html' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html?showComment=1294395931340#c8943940948751716873' title=''/><author><name>Laura</name><uri>http://www.blogger.com/profile/00857715717407911201</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10227025701373154901'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_ftB9h7sL3lA/TCB38fnVqnI/AAAAAAAAAWk/wxv4gMP4aL0/S220/laucamara.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.apuntesdejava.com/2011/01/restful-parte-3-manejando-colecciones.html' ref='tag:blogger.com,1999:blog-8553642737291298841.post-7326791458112067153' source='http://www.blogger.com/feeds/8553642737291298841/posts/default/7326791458112067153' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1753366356'/></entry></feed>
