users@jersey.java.net

Re: [Jersey] Client.create() is expensive,

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Fri, 5 Dec 2008 07:28:17 -0800 (PST)

        I've been asking for the same thing for years ;) Seriously, a spell
checker in Netbeans would be great!

Gili

Paul Sandoz (via Nabble) wrote:
>
> On Dec 4, 2008, at 7:54 PM, Gili wrote:
>
> >
> > The new Javadoc reads "The creation of a <code>Client</code>
> > instance is
> > expensive operation". I would suggest inserting "an" before the word
> > expensive. The result reads "The creation of a <code>Client</code>
> > instance
> > is an expensive operation"
> >
>
> Thanks, i write JavaDoc like i write email :-) i suspect there are
> spelling and grammatical errors in many places. Anyone know of a spell
> checker for JavaDoc with NetBeans ?
>
> Paul.
>
> > Gili
> >
> >
> > Paul Sandoz wrote:
> >>
> >>
> >> On Dec 1, 2008, at 10:58 AM, Gili wrote:
> >>
> >>> Paul Sandoz (via Nabble) wrote:
> >>>>> To put things in perspective, my application was spending 10x
> >>> more time in
> >>>>> Client.create() than retrieving data from the server. It was that
> >>> bad :) I
> >>>>> was creating one instance per resource instance.
> >>>>
> >>>> Having a clone operation might be useful. Also if using the Client
> >>> on
> >>>> the server side then it should be possible to share some state.
> >>>
> >>> For my purposes it wouldn't help much. I only use Client on
> >>> the client
> >>> end and there I create a single instance and share it across the
> >>> entire
> >>> application. clone() wouldn't help because I'd rather just reuse the
> >>> original instance... I am assuming it is thread-safe...? If not, I
> >>> am in
> >>> deep doo doo ;)
> >>>
> >>
> >> Tis ok it is safe.
> >>
> >> Paul.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1617579&i=0>
> >> For additional commands, e-mail: users-help@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1617579&i=1>
> >>
> >>
> >>
> >
> > --
> > View this message in context:
> http://n2.nabble.com/Client.create%28%29-is-expensive-tp1597931p1614816.html
> > Sent from the Jersey mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1617579&i=2>
> > For additional commands, e-mail: users-help@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1617579&i=3>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1617579&i=4>
> For additional commands, e-mail: users-help@...
> <http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1617579&i=5>
>
>
>
> ------------------------------------------------------------------------
> This email is a reply to your post @
> http://n2.nabble.com/Client.create%28%29-is-expensive-tp1597931p1617579.html
> You can reply by email or by visting the link above.
>

-- 
View this message in context: http://n2.nabble.com/Client.create%28%29-is-expensive-tp1597931p1618822.html
Sent from the Jersey mailing list archive at Nabble.com.