dev@jsr311.java.net

Re: JSR311: Java mime type

From: <larry.cable_at_oracle.com>
Date: Tue, 26 May 2009 08:19:04 -0700

+1 for this, we should have done this about 97-98 timeframe ... "our" bad!

- Larry

On 5/22/2009 12:55 PM, Roy T. Fielding wrote:
> On May 22, 2009, at 4:15 AM, Bill Burke wrote:
>
>> 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:
>>
>> application/x-java-serialized-object
>>
>> 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
>>
>
> The ones in common use (mostly unregistered):
>
> % egrep '(java|jcp|j2me|j2se)' mime.types
> application/java-archive jar
> application/java-serialized-object ser
> application/java-vm class
> application/javascript js
> application/vnd.jcp.javame.midlet-rms rms
> application/x-java-jnlp-file jnlp
> text/javascript
> text/vnd.sun.j2me.app-descriptor jad
> text/x-java-source java
>
> ....Roy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>
>
> Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
>