-
Article: Introducing Axiom (7 messages)
- Posted by: Regina Lynch
- Posted on: July 17 2006 13:54 EDT
The Apache Web services community introduced AXIOM (Apache aXIs Object Model) as a fast-performing and memory-efficient object model for their Web service engine, Axis2. In this article, Eran Chinthaka describes the architecture of Axiom and explains how it works with StAX. Read Introducing Axiom and tell us what you think.Threaded Messages (7)
- AXIOM = writing SOAP msg by hand? by Ken Yee on July 18 2006 18:29 EDT
- Re: AXIOM = writing SOAP msg by hand? by Dan Diephouse on July 20 2006 00:09 EDT
- Re : AXIOM = writing SOAP msg by hand? by Eran Chinthaka on July 20 2006 03:05 EDT
-
40% speed improvement for AXIOM vs. XMLBeans/POJOs by Ken Yee on July 20 2006 01:26 EDT
- Re: 40% speed improvement for AXIOM vs. XMLBeans/POJOs by B C on July 21 2006 03:07 EDT
-
40% speed improvement for AXIOM vs. XMLBeans/POJOs by Ken Yee on July 20 2006 01:26 EDT
- Re: Article: Introducing Axiom by Pushpinder Singh on July 19 2006 19:32 EDT
- Re: Article: Introducing Axiom by Eran Chinthaka on July 20 2006 03:34 EDT
-
AXIOM = writing SOAP msg by hand?[ Go to top ]
- Posted by: Ken Yee
- Posted on: July 18 2006 18:29 EDT
- in response to Regina Lynch
I'm going to miss the POJO approach of Axis 1.x. While I understand AXIOM makes things more efficient, I don't understand why we have to do the createelemement, etc. stuff that makes it feel like we're walking XML documents instead of POJOs. XFire seems to get similar performance while sticking w/ the more readable (IMHO) approach of making the XML docs look like object calls... -
Re: AXIOM = writing SOAP msg by hand?[ Go to top ]
- Posted by: Dan Diephouse
- Posted on: July 20 2006 00:09 EDT
- in response to Ken Yee
Just wanted to chime in to say that XFire actually allows both approaches. Anywhere in your service or POJOs you can stick a Document object and send/receive the XML infoset. So something like: public Document getAccountingData(Date start, Date end); is completely valid. -
Re : AXIOM = writing SOAP msg by hand?[ Go to top ]
- Posted by: Eran Chinthaka
- Posted on: July 20 2006 03:05 EDT
- in response to Ken Yee
You will not, by any means, miss the POJO approach. AXIOM is just the XML object model inside Axis2. Data binding will still be there and you can still deploy your POJOs. But AXIOM will give you high performance without compromising memory for that. If you do care about performance, just look here to get an idea about Axis2 performance. -
40% speed improvement for AXIOM vs. XMLBeans/POJOs[ Go to top ]
- Posted by: Ken Yee
- Posted on: July 20 2006 13:26 EDT
- in response to Eran Chinthaka
Thanks for the pointer and the clarification. All the articles I've seen on Axis2 have been about how to write your client/services using AXIOM/ADB, so I assumed you had to use AXIOM to get decent performance. Looks like AXIOM will give you another 40% vs. the POJO approach. Even the old POJO looks like it's 4.2X faster than Axis 1.x so that's also a pretty nice improvement :-) -
Re: 40% speed improvement for AXIOM vs. XMLBeans/POJOs[ Go to top ]
- Posted by: B C
- Posted on: July 21 2006 03:07 EDT
- in response to Ken Yee
yeah speed improvement over complete unusability. AWESOME! -
Re: Article: Introducing Axiom[ Go to top ]
- Posted by: Pushpinder Singh
- Posted on: July 19 2006 19:32 EDT
- in response to Regina Lynch
What this framework offering over JAXB? -
Re: Article: Introducing Axiom[ Go to top ]
- Posted by: Eran Chinthaka
- Posted on: July 20 2006 03:34 EDT
- in response to Pushpinder Singh
JAXB is a data binding framework (XML --> Java --> XML). Axiom is an XML Object model, just like DOM, jDOM, but better than them in terms of memory and perfomance. We use JAXB, together with Axiom and StAX, as one of the data binding frameworks within Axis2.