marko.miettinen | 30 Mar 14:09 2011

Legal issue clarification


After unsuccessfully searching the forum and mailing lists, I decided
to post my questions here:

1) Does JRS311 contain/make use of any encryption?
2) If yes, is anyone aware if an ECCN code has been assigned?

From source code, I would think that answer to question #1 would be no.

Thanks in advance for any answers.


Edward Bratt | 10 Dec 21:39 2010

Kenai migration complete: Documents & Files are imported

One final blast e-mail

All Documents and Files are now uploaded for all projects which were recently migrated to the Kenai hosting suite.
Your project administrators will determine how these should be presented in your project pages. Please address your queries to your project aliases. If you aren't sure which alias to use, try users <at> <project>

Ed Bratt (& the Glassfish & Kenai migration team)

Ed Bratt | Senior Software Development Manager
Phone: +1 408 2764170 | Fax: +1 408 2767191 | Skype ID: edbratt
Oracle GlassFish Server
4220 Network Circle | MS USCA22-102 | Santa Clara, CA 95054
Oracle is committed to developing practices and products that help protect the environment

Ed Bratt | 19 Nov 20:38 2010

Please Read: This project will be migrated to Kenai, starting 10 PM, 11/21/2010 (PST)

This project will be migrated to Kenai in the wave-2 migration effort. This project will be locked, starting at 10 PM Pacific Standard Time, Sunday November. 21. We will work to unlock this project as soon as possible however, we cannot predict the exact schedule for importing projects into Kenai. The whole effort is expected to take about two weeks, possibly three. Projects will be activated at [project] as soon as all data are imported into Kenai.

Please watch
for updates regarding progress.
If you have any questions about the projects which are going to be migrated, please review the complete list, here.

Actions you should take

User Credentials
If you have not activated your new user credentials, please do that now. (, select login. If you did not receive your welcome e-mail, click "lost password.")
Sync your local source copy
You should take action now to Sync. your source code copies.
Projects from Collabnet servers will be read-only, once they are locked. However we will be switching projects over to Kenai, as they become ready so we cannot give a precise target date for this, for each project. Once they are switched, you will not be able to access the old repository from Collabnet.
Starting, this Sunday, e-mail to this project will cease since that is part of the migrated data. Once the project is re-enabled, the same set of project lists will be at [List] <at> (remove the .dev).
Learn about the new Java.Net
Familiarize yourself with the new Browse to and read the help documentation. Or, you can read the orientation and other information we have compiled at the GlassFish Migration WIki.
Getting Started
Migrating your GlassFish site
Prepare to update your web-site files
Project Site Managers and Administrators should look for instructions that you'll need to follow, to update your web-site. You can review the migration procedure at the GlassFish Migration Wiki "Guide for Migrating Your Site".
CVS will migrate to SVN
Reminder -- The migration effort will attempt to migrate all CVS archives to SVN. If this cannot be done without error, the original CVS archive will be attached to your project. SVN has stronger integration with Kenai so this will be your best option. If there are errors and your repository is not switched, we can discuss options for additional conversion methods.
Repository Archives
Repository archives, exported by Collabnet will be saved indefinitely so, if your project determines a need for this, you can request it. However, do not expect to receive these before Mid. January (unless there is an urgent issue).

Thank you,
-- Ed Bratt

Reto Bachmann-Gmuer | 7 Nov 14:03 2010

Fall back to root resource with the broader uri-space


Assume there is a root resource with <at> Path("/") with a resource method for <at> Path("{path:.*}") and a root resource for <at> Path("/foo") with no method matching the subpath "bar". Is it ok for an implementation to forward the request for /foo/bar to the method of the first root resource or is it necessary to answer with 404?


Grazi, Victor | 20 Oct 05:52 2010

Who is managing the JSR 311/Jersey work?

It looks like Marc Hadley has left Oracle.
Is Paul Sandoz still there?
We would like to have someone do a large scale presentation for Credit Suisse NY, such as the presentations that Marc and Paul used to do at JavaOne.
Is there any potential for that?
Thanks, Victor Grazi

VP - Application Development
Tel: 212-538-5703 

Please follow the attached hyperlink to an important disclosure:


Please access the attached hyperlink for an important electronic communications disclaimer:

Sergey Beryozkin | 23 Sep 22:37 2010

Queries,, UriBuilder.buildFromEncoded()

Hello -

Can someone please give me an authoritative answer about the differences between and UriBuilder.buildFromEncoded() and they way they have to deal with quieries containing percent-encoded data.

1. UriBuilder.fromUri("http://localhost:8080").queryParam("name", "%20").build();
2. UriBuilder.fromUri("http://localhost:8080").queryParam("name", "%20").buildFromEncoded();
3. UriBuilder.fromUri("http://localhost:8080").replaceQuery("name=%20").build();
4. UriBuilder.fromUri("http://localhost:8080").replaceQuery("name=%20").buildFromEncoded();

I'm seriously confused. Specifically, it seems totally wrong that the way '%' is dealt with depends on how a query is built (i.e, from individual parameters or from a ready string).

I'd appreciate if you can give the answers to 1-4 above.
Besides, what is the way in UriBuilder to have a literal '%' passed on ? Example, should it be :

UriBuilder.fromUri("http://localhost:8080").queryParam("name", "%2520").buildFromEncoded();



How about




Thanks !


Sergey Beryozkin | 23 Aug 23:55 2010

How to encode ' ' and decode '+' in the query component

Hi All

I have to fix a couple of disabled UriBuilder tests which are going to block the next CXF release unless fixed and I'm looking at these tests and feeling confused :-) given that it's been awhile since I was looking into the relevant code.

The question is about dealing with ' ' and '+' in the query component of URI.
I can see two UriBuilder tests adapted from the similar JAXRS TCK 1.1 tests, one using the replaceQuery method and the other one - queryParam.

One test does uriBuilder.queryParam(name, "x y").build() and expects : name=x+y.
The other one does uriBuilder.replaceQuery("name=x y").build() and expects :  name=x%20y

I think something is wrong there. Irrespectively of which method is used to create a query component, the end result, as far as UriBuilder is concerned, should be the same.

Now, I can see another test requirement where we do


and expect


Given the build() leads to encoding % to %25, we need to decode "name=x+y&name=%20" first, otherwise we'd get %2520 for the 2nd value of name.

Clearly we can not decode '+' to ' ' here otherwise we'd not be able to reproduce the original query. Which makes me think that the test which expects "x y" be encoded as "x+y" is wrong.

So I'm thinking :

- test that does uriBuilder.queryParam(name, "x y").build() and expects : 'name=x+y' is wrong
- decoding 'x+y' to 'x y' is not required

Is it correct ?

Any clarifications will be appreciated
cheers, Sergey

Reto Bachmann-Gmuer | 8 Jun 12:53 2010

Getting client X509Certificate


Is there a standard way (i.e. one that doesn't just work on servlet based implementations) to get client certificates (X509Certificate) in a jax-rs root resource?


Stephen Bhadran | 2 May 01:11 2010

a super critical question: what's the X for in JAX-RS ?

I was reading the JAX-RS spec and I had a quick question.

I couldn’t find the meaning of X in JAX-RS ==> Java API for RESTful Web Services. Seriously, what does the X stand for?

My only guess is – it got carried over from JAX-WS ==>Java API for XML Web Services. Am I right?


André Dietisheim | 13 Apr 17:32 2010

remove double slashes from URI?


we currently use jax-rs in our product and I came across the pretty 
frequent case where I expected an URI with double slashes to be 
equivalent to an URI with a single slash


Jersey currently does not treat both URI to be equivalent.
Reading the jax-rs specs I got redirected to RFC3986 
( I tend to pretend that URI 
normalization (specially section 6.2.3) is to be read that // may be 
normalized to /.
I'd highly appreciate any inputs, corrections to this topic.

Thanks in advance
Archer Yongjian Liu | 24 Mar 04:15 2010

How to use regex pattern on url path and query params ?

It seams that the specification has talked  about that. But Could you give me a concrete  example?

Thank you.