CS311 Introduction to Web Services Development GDB Fall 2019 Solution & Discussion
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
Share the GDB Question & Discuss Here....
Careem and Uber are widely used by the people for traveling from one place to another in intra city travelling. After the success of these two big giants Online Bus Riding booking companies are investing their products in Pakistan like Airlift, SWVL etc. Suppose you are hired as a developer by any of these companies to write web services for their application. You are assigned a task to write web services for notifications i.e. users may receive notifications whenever an event occurs e.g. bus arrival notification, booking cancellation notification etc.
Which method you will choose for developing web services for above scenario among the "DOM Parser" and "SAX Parser" and why. Support your answers with some solid reason
lets discuss solution
In the following cases, using DOM parser is advantageous than using SAX parser.
We will choose SAX parser for developing web services because sax parser creates no parse tree it is a streaming phase for XML, which means that applications using SAX receive event notification about the XML document being an attribute, at a time in sequential order starting at the top of the document and ending with the closing of root element.
ais ma sa correct konsa h first ya second