users@jersey.java.net

Re: [Jersey] Jersey on app engine

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 14 Apr 2009 11:58:31 +0200

On Apr 14, 2009, at 11:53 AM, Erdinc Yilmazel wrote:

> Do you know any other framework that will play well in app engine
> environment as a replacement to JAXB?
>

XMLBeans? JiBX?

After the 1.0.3 release i will work on making the javax.naming/WADL
dependencies components that will not be loaded if an error results.
Thus it should work smoothly with GAE if one does not require JAXB.

Paul.

>
>
> On Tue, Apr 14, 2009 at 10:30 AM, Paul Sandoz <Paul.Sandoz_at_sun.com>
> wrote:
>>
>> On Apr 14, 2009, at 11:10 AM, Walter Chang wrote:
>>
>> this is my understanding and i could be wrong:
>>
>> first of all, gae supports java 1.5 which does not have jaxb by
>> default.
>>
>>
>> See here:
>> http://code.google.com/appengine/docs/java/overview.html
>> "The Java environment provides a Java 6 JVM"
>>
>> secondly, i think they are using a real java vm. its just that
>> they slap on
>> a security manager to make things tough on all of us (for good
>> reason, i
>> presume).
>>
>>
>> They restrict what classes are available in the JDK,
>> essentially sub-setting Java:
>> http://code.google.com/appengine/docs/java/jrewhitelist.html
>> There is also a disparity between what is run locally for testing
>> and what
>> is run remotely (where the sub-set is enforced).
>> This is all still early days so things might change. But it ain't
>> currently
>> Java IMHO. It is a Java-like environment, a Guava environment if
>> you like
>> :-)
>> Paul.
>>
>> On Tue, Apr 14, 2009 at 4:55 PM, Paul Sandoz <Paul.Sandoz_at_sun.com>
>> wrote:
>>>
>>> On Apr 10, 2009, at 6:16 PM, Tatu Saloranta wrote:
>>>
>>>> On Thu, Apr 9, 2009 at 11:08 PM, Paul Sandoz
>>>> <Paul.Sandoz_at_sun.com> wrote:
>>>>>
>>>>> Hi Erdinc,
>>>>>
>>>>> It seems like GAE subsets JDK 6. I wonder why?
>>>>
>>>> I could be wrong, but based on my observations of Android platform
>>>> (...yuck), it seems as if they had some sort of attitude regarding
>>>> knowing better what to include, what not. And not being worried but
>>>> following some subset (standard or de facto). Sort of like
>>>> attitude I
>>>> usually attributed to Microsoft SDK development teams. Or maybe
>>>> it's
>>>> just me. It could also be that developers in question are bit
>>>> junior
>>>> and ignorant of what's out there.
>>>>
>>>> It was frustrating trying to find rhyme or reason for Android's
>>>> inclusion or exclusion of some parts of JDK. Some very strange
>>>> external packages are, for example, included in their SDK, and many
>>>> from regular JDK (esp. within areas of basic XML APIs,
>>>> javax.xml.transfrom.stream to get Source objects used by JAXP) are
>>>> omitted.
>>>
>>> I agree it is frustrating.
>>>
>>> IMHO GAE does not currently support Java and it is irresponsible
>>> to say
>>> that it does.
>>>
>>> Call it something else, call it Guava, but please do not call it
>>> Java.
>>>
>>> Paul.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>
>>
>>
>> --
>> .......__o
>> .......\<,
>> ....( )/ ( )...
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>