Advantages and Disadvantages

stizzahaddockSoftware and s/w Development

Dec 14, 2013 (3 years and 5 months ago)

66 views










































Advantages and Disadvantages



















Option 1 :



1) Passing a string to which the contents of QTI file are assigned. For example String str
= mew String("<xml.... </assessmentItem>"


Advantages :


a)Str
ing supported by Jax
-
RPC


b) Easy& striaght forward to implement


Disadvantages:


a) Max size of string could be around 65,536 characters(my guess) or so... If QTI file
contents are bigger than this number, implementation could break.


Option 2 :















































2)Client passing the location of QTI file to the server as a String. The QTI file can be
stored on the client or the server.


Advantages :


a)String supported by Jax
-
RPC



b) Easy& striaght forward to implement


Disad
vantages:



a) If the QTI file is stored on the client location, then it requires each client to have a
unique URL. Since there will be many clients, It's not fair to assume that they have a
unique location























b) If the QTI file is sto
red on the server location, then it requires each client to store the
file on remote server before making a call. This is not good either from clients point of
view


Option 3 :


3) Client passing the QTI file as a binary file using "SOAP Attachment". So as

part of the
webservice call, the client send the QTI file as an attachment to the soap message


Advantages:


a) Since the file is transfered as a binary file, the QTI file can be of any size


Disadvantages :



a) SOAP attachment is fairly new when it come
s to support by implementation platforms


b) Reasonably complex to implement compared to the above 2 options