Hi Paul,
Yes, I'm referring to the NetBeans plugin.
Do you expect the following support to be incorporated in the plugin or
Jersey runtime and then utilized by the plugin ?
-Arun
Paul Sandoz wrote:
> Hi Arun,
>
> I assume you are referring to the NetBeans RESTful database plugin?
>
> I do not know of such an option.
>
> If such a feature were supported i think it would also require a paging
> mechanism, for example using a query parameter (with a default number of
> entries embedded in the representation so that the size of the
> representation does not become too large). Potentially another feature
> is to only return a partial set of informtion for each entry rather than
> a complete embedded representation i.e. just enough important
> information for a client to make a decision whether they need to get the
> whole representation from the URI.
>
> Note that HTTP pipelining and caching can make also things reasonably
> efficient, but it will still involve a latency to report not modified
> responses. But IIRC caching support is yet to be implemented.
>
> Paul.
>
> Arun Gupta wrote:
>> A Jersey endpoint return results like:
>>
>> -- cut here --
>> -
>> <events
>> uri="http://localhost:8080/WebApplication2/resources/events/">
>> -
>> <eventRef
>> uri="http://localhost:8080/WebApplication2/resources/events/1/">
>> <id>1</id>
>> </eventRef>
>> -
>> <eventRef
>> uri="http://localhost:8080/WebApplication2/resources/events/2/">
>> <id>2</id>
>> </eventRef>
>> -
>> <eventRef
>> uri="http://localhost:8080/WebApplication2/resources/events/3/">
>> <id>3</id>
>> </eventRef>
>> -
>> <eventRef
>> uri="http://localhost:8080/WebApplication2/resources/events/4/">
>> <id>4</id>
>> -- cut here --
>>
>> Is there an option (that can be configured on the endpoint or passed
>> as parameters to the URL) such that the result contains all the
>> resources instead of reference to the resources ?
>>
>> -Arun
>
--
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta