Hi Niles, Thanks for answering my questions. As I said I'm a beginner, I have few more questions related to previous one.
(1) When exactly do we use Binding frameworks (JIBX, ADB or XMLBeans) ? For instance, the examples given in Axis2 website (i.e. StockQuoteService) referring to simple method call, client calling WS for "getPrice/update" operations but there's no XSD involved, I think this kind of operations can be easily accomplished using POJO option. But I'm confused when to use POJO or anyother Binding framework(JIBX). (2) What is the difference between "XML Processing Model" and "SOAP Processing Model", when do we use these models independently. To my understanding, this is the typical flow of Axis2 services, Client ----calls---> Stub (generated by wsdl2java) ----calls[SOAP request]---> Skeleton Interface (generated by wsdl2java) -->Business Logic And this SOAP request can be handled using any transport (eg. TCP, JMS etc.) Please correct me if I'm wrong. Thanks. - Anil Nilesh Ghorpade wrote: > > Hi, > > As per my understanding AXIS 2 uses AXIOM API's internally for any XML > related activities. Hence as you have mentioned that you are confused to > choose between POJO, AXIOM, JIBX, ADB or XMLBeans, the AXIOM is an invalid > option here. > > Secondly in AXIS 2 you can create web services using either the Spring > Framework or POJO. > > JiBX, XMLBeans and ADB are more related to the data binding frameworks > which AXIS 2 supports. Hence it depends on your schema on which data > binding framework you would want to select. As per my knowledge XMLBeans > is the best when it comes to complex schemas. This is because XMLBeans > implementation can understand all the XSD (i.e. schema) constructs. > > To answer your second question, the answer is YES. If you want to use the > wsdl2java command from AXIS2 for generating your stubs and skeletons you > will need the WSDL. Generating a WSDL is also not a diccficult task. YOu > can have your SEI defined i.e. the Service Endpoint Interface with all the > method signatures which you want to expose as web service operations. On > executing the java2wsdl command from AXIS2 you would be able to get the > WSDL. And using this WSDL you can generate the remaining artifacts of your > web service. WSDL is nothing but an interface and hence even if you have > defined an interface in Java, you can generate a WSDL from it. > > > Hope that answers your queries. > > > Regards > > Niles > > ----- Original Message ---- > From: Martin Gainty <[EMAIL PROTECTED]> > To: [email protected] > Sent: Monday, March 26, 2007 3:15:01 AM > Subject: Re: [Axis2] AXIOM or JBIX > > > Anil- > > I found this whitepaper quite informative > SAX2 processes fastest..with DOM bein > http://www.mail-archive.com/[email protected]/msg01044.html > > FWIW, > M-- > --------------------------------------------------------------------------- > This e-mail message (including attachments, if any) is intended for the > use of the individual or entity to which it is addressed and may contain > information that is privileged, proprietary , confidential and exempt from > disclosure. If you are not the intended recipient, you are notified that > any dissemination, distribution or copying of this communication is > strictly prohibited. > --------------------------------------------------------------------------- > Le présent message électronique (y compris les pièces qui y sont annexées, > le cas échéant) s'adresse au destinataire indiqué et peut contenir des > renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le > destinataire de ce document, nous vous signalons qu'il est strictement > interdit de le diffuser, de le distribuer ou de le reproduire. > ----- Original Message ----- > From: "Anil" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Sunday, March 25, 2007 4:37 PM > Subject: [Axis2] AXIOM or JBIX > > >> Hi, >> >> I'm new to Axis2, what is the criteria to choose >> between POJO, AXIOM, JIBX, ADB or XMLBeans. How do we >> decide architecture wise. >> >> My second question is, is wsdl file mandatory to >> create stub and skeleton interfaces or can we use just >> skeleton file to create wsdl file. >> >> Thanks. >> >> >> >> ____________________________________________________________________________________ >> Bored stiff? Loosen up... >> Download and play hundreds of games for free on Yahoo! Games. >> http://games.yahoo.com/games/front >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > > ____________________________________________________________________________________ > The fish are biting. > Get more visitors on your site using Yahoo! Search Marketing. > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php > -- View this message in context: http://www.nabble.com/-Axis2--AXIOM-or-JBIX-tf3463792.html#a9674209 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
