Search the web
Sign In
New User? Sign Up
aalto-xml-interest · Aalto XML Parser (stax)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
WS testing (was Re: [aalto-xml-interest] Re: Interesting Aalto refer   Message List  
Reply | Forward Message #28 of 61 |
Re: WS testing (was Re: [aalto-xml-interest] Re: Interesting Aalto reference, linux+jibx+aalto...)

On Mon, Feb 2, 2009 at 8:56 AM, lfs_neves <lfs_neves@...> wrote:
> --- In aalto-xml-interest@yahoogroups.com, Tatu Saloranta
>
> <tsaloranta@...> wrote:
>
>> Given above, it might be quite easy to implement json-based web
>> service, where data binding is done using Jackson instead of JAXB. I
>> would expect such a service to be still faster than Jibx
>>
>> What do you think?
>
> It sounds cool, I was thinking something similar but using Google
> Protocol Buffers, I might as well test json.
> It would make a nice comparison.

Cool! I have tested PB earlier, and it's quite easy. The main
challenge was that it's a bit of apples & oranges, given how tightly
coupled PB is. Messages are not self-contained (without schema you
have little idea what data is about, since integer codes are used for
message types), and you can't really bind data to other objects,
AFAIK you must use objects PB generates.
That's ok as long as test framework doesn't have problems with it --
in my case it was bit problematic, but I was able to try it out by
refactoring code. Or you can wrap PB objects with beans, although
that's akin to writing a data binding lib of your own. :-)

But it would be very interesting to see how different formats & libs compare!
So let me know how things work.

-+ Tatu +-



Mon Feb 2, 2009 5:53 pm

cowtowncoder
Offline Offline
Send Email Send Email

Forward
Message #28 of 61 |
Expand Messages Author Sort by Date

Hi Luis! One idea occured to me today: I don't know how easy it would be to do, but looking at wstest home page, it might be doable, depending on how tightly...
Tatu Saloranta
cowtowncoder
Offline Send Email
Jan 31, 2009
6:03 am

... It sounds cool, I was thinking something similar but using Google Protocol Buffers, I might as well test json. It would make a nice comparison. I will try...
lfs_neves
Offline Send Email
Feb 2, 2009
4:56 pm

... Cool! I have tested PB earlier, and it's quite easy. The main challenge was that it's a bit of apples & oranges, given how tightly coupled PB is. Messages...
Tatu Saloranta
cowtowncoder
Offline Send Email
Feb 2, 2009
5:53 pm

... I've just posted my test results with JSON as an alternative serialization mechanism using the Jackson Processor... yes it is fast: ...
lfs_neves
Offline Send Email
Feb 8, 2009
6:51 pm

... Great! ... Ah, thanks, that sounds like a bug -- I think it may be due to my misunderstanding some of constants in Float/Double classes (MIN_VALUE is...
Tatu Saloranta
cowtowncoder
Offline Send Email
Feb 9, 2009
4:47 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help