users@jersey.java.net

Re: [Jersey] UriInfo mishandling port numbers

From: Craig McClanahan <Craig.McClanahan_at_Sun.COM>
Date: Mon, 17 Nov 2008 13:37:47 -0800

Gili wrote:
> Craig McClanahan (via Nabble) wrote:
> > You give up the code generators doing it this
> > way, but by now I've got enough real resource classes that I just
> > cut-n-paste one of those when I need to start a new one.
>
> Code generators?! Does Netbeans have in support for JAX-RS
> that I don't
> know about? I thought you're supposed to just create a new Java
> application and import the JAX-RS library...?
>
I have the module turned off now, so I can't confirm the actual details
... but there used to be (for me) a File -> New File -> RESTful Web
Services option that lets you create either a basic JAX-RS resource
file, or one customized to a set of JPA classes for CRUD operations
against a database table. I'm not a particular fan of the style of code
that is created, and it will lock you into the 0.8 version of Jersey.

If you want to investigate this, I'd go grab the 6.5 final release (when
it happens), which will have Jersey 1.0 in it.
> Gili
>
Craig
> ------------------------------------------------------------------------
> View this message in context: Re: [Jersey] UriInfo mishandling port
> numbers
> <http://n2.nabble.com/UriInfo-mishandling-port-numbers-tp1508438p1511258.html>
> Sent from the Jersey mailing list archive
> <http://n2.nabble.com/Jersey-f576304.html> at Nabble.com.