Re: JSR311: Java mime type

From: Bill Burke <>
Date: Fri, 22 May 2009 07:15:43 -0400

Paul Sandoz wrote:
> On May 22, 2009, at 3:39 AM, Bill Burke wrote:
>> I didn't see any Java mime types registered with Iana. Maybe this is
>> something we should think about, define in JAX-RS, and register with
>> Iana?
> Yes, JAX-RS would be a reasonable place to specify any such media type
> declarations.
>> First thoughts are something like:
>> application/*+java;version=x
> For Java source, classes, jars, wars, web start stuff?
> Does it make sense for individual classes?

My though would be for serialized objects. I know there is one defined
somewhere in Java SE javadocs:


But, I was hoping for the *+ and version property as well (and have it
registered with IANA.

I guess we could define a application/war, application/ear,
application/jar, etc... too

Bill Burke
JBoss, a division of Red Hat