users@jersey.java.net

Re: [Jersey] Re: how to post objects using Jersey Client ?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Mon, 10 Aug 2009 09:31:57 +0200

ok, I will review this option..

perhaps:

PUT - insert (create)
POST - update
GETs.. - select

for thsi project I guess I won't have several POSTs and PUTs in a same
resource.......

2009/8/10 Felipe Gaúcho <fgaucho_at_gmail.com>:
>> but why require the "create" ? unless you require POST on "user" to mean
>> other things.
>
> humm.. yes, I can do like that - to follow the strict rest style.. but:
>
> I am exposing my domain model through the service interface, so my
> Java classes contains several resources at once - each class regarding
> each entity... so a same Java class may contains several POSTs and
> PUTs methods..
>
> several times I tought about that and finally I realize that creating
> a new resource just to split business logic from entity crud was
> perhaps too pedantic..
>
> but I don't have a strong position about this..
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl