We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

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)


Views: 288

Replies to This Discussion

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.

  • Your application needs to access widely separately parts of the document at the same time.
  • Your application may probably use a internal data structure which is almost as complicated as the document itself.
  • Your application has to modify the document repeatedly.
  • Your application has to store the document for a significant amount of time through many method calls.

Answer:
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

RSS

Latest Activity

Profile IconNews Spotify, gulshan, Tasmia Ittba and 16 more joined Virtual University of Pakistan
4 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS508 Assignment 01 Fall 2020 Solution / Discussion in the group CS508 Modern Programming Languages
5 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion IT430 Assignment 01 Fall 2020 Solution / Discussion in the group IT430 E-Commerce
8 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH302 Business Mathematics & Statistics
10 minutes ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH302 Business Mathematics & Statistics Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH302 Business Mathematics & Statistics
10 minutes ago
+M.Tariq Malik replied to shifa arshad's discussion MCM301 Assignment No 01 Fall 2020 Solution / Discussion Due Date: 04-dec-2020 in the group MCM301 Communication skills
18 minutes ago
+M.Tariq Malik liked A_Q's discussion Online Shopping System - Final Year Project
21 minutes ago
Mcs updated their profile
1 hour ago
Miss. Churhail liked A_Q's discussion Online Shopping System - Final Year Project
2 hours ago
A_Q posted a discussion
2 hours ago
Miss. Churhail liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
2 hours ago
Miss. Churhail posted discussions
2 hours ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.