hi,

we wrote a very complex unmarshaller implementation and so far couldn't find any performance degradation. as long as you don't do any reflection stuff your code will be very fast, jibx doesn't do any magic, it just overcomes reflection by doing code manipulation.

anyway, you can ruin your performance easily as you can do with all other java code.

br,
günther


Am 09.06.2008 um 11:58 schrieb Mahen Perera:

Hi all,

I am going to basically write a custom marshaller and unmarshaller for the root object/top level XML element. By doing so, I am trying to achieve 100% flexibility and decoupling/independance between the object model and the XML which is used to represent it.

I am doing this because, the constructs available in Bindings file cannot be used to model some scenarios that I have. I tried using Structure mappings, abstract mapping etc etc. But , my XML representation does not resemble the object model in a way which can be represented using these binding constructs. That is why I am going to write custom stuff.

However, I am a bit concerned whether I will compromise any performance advantages in doing so. I hope not, since I will be using the underlying Marshalling and Unmarshalling context implementations provided by jibx. Anyway, thought of asking what you guys think abt this. Are there any guidelines to be aware of when writing this sort of custom marshalling and unmarshalling stuff.

Thanks



The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone (+44 (0)20 7896 0011) and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Index plc is a company registered in England and Wales under number 01190902. VAT registration number 761 2978 07. Registered Office: Friars House, 157-168 Blackfriars Road, London SE1 8EZ. Authorised and regulated by the Financial Services Authority. FSA Register number 114059.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users



--
Günther Wieser
creative-it
Guglgasse 6/1/11/1
A-1110 Wien
[EMAIL PROTECTED]
http://www.creative-it.com



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to