Title page for ETD etd-09212005-122031

Document Type Master's Dissertation
Author Rimer, Suvendi Chinnappen
URN etd-09212005-122031
Document Title Design of a generic client-server messaging interface using XML
Degree M Eng (Computer Engineering)
Department Electrical, Electronic and Computer Engineering
Advisor Name Title
Prof G P Hancke
  • Directory services computer network technology
  • XML document markup language
  • Directory services computer network technology
  • Client/server computing
Date 2003-09-01
Availability unrestricted
Applications that use directory services or relational databases operate in client-server mode where a client requests information from a server, and the server returns a response to the client. Communication between each client-server application is achieved by using separate custom built front-ends with non-portable data formats. A need exists to access information from different heterogeneous client-server systems in a standard message request-response format.

This research proposes a generic XML document that presents a common request-response interface to the client from which they can access network protocol or database information. The XML component is easily adaptable to accessing any new client-server type protocol or database data that may be added to a server.

The approach in determining the XML elements is, firstly review each systems command and data structure separately, and then determine if there are any commonalities within each protocol that would allow for a common representation of both the data and command structure.

For the purposes of this project, three different data sources that are typically used in an Internet application were analysed, namely:

-- a TCP based server program;

-- a relational type database; and

-- a directory service.

The solution was implemented using Linux as the operating system, Java as the programming language, MySQL as the relational database, openLDAP as the directory server and a proprietary TCP based server application. Initially the complete system was developed for the proprietary TCP-based application. The other systems were added with minimum additional work.

The result of the implementation was that it is relatively easy to add new protocols (for e.g. LDAP) on an as needed basis with minimal changes required on the server side. A client will receive XML responses that the client can either adapt (typically using a separate style-sheet) to their specific needs or use the existing front-ends if they are suitable.

After the design was implemented and tested, the performance of XML and non-XML messages was evaluated. As expected the increased verbosity of XML results in a larger footprint that requires more processing time and resources. This means that any implementation using XML has to carefully weight the benefits of flexibility, extensibility and standard message formats against reduced performance.

After evaluating XML type messages in an Internet type environment that involved human-computer interaction, it was concluded that the slower response times is not that significant to negate the benefits of a common message interface provided by using XML.

  Filename       Size       Approximate Download Time (Hours:Minutes:Seconds) 
 28.8 Modem   56K Modem   ISDN (64 Kb)   ISDN (128 Kb)   Higher-speed Access 
  00front.pdf 1.81 Mb 00:08:22 00:04:18 00:03:46 00:01:53 00:00:09
  01chapter1.pdf 880.20 Kb 00:04:04 00:02:05 00:01:50 00:00:55 00:00:04
  02chapter2.pdf 3.66 Mb 00:16:56 00:08:42 00:07:37 00:03:48 00:00:19
  03chapter3-4.pdf 1.30 Mb 00:06:00 00:03:05 00:02:42 00:01:21 00:00:06
  04chapter5-6.pdf 1.28 Mb 00:05:56 00:03:03 00:02:40 00:01:20 00:00:06
  05chapter7.pdf 1.83 Mb 00:08:27 00:04:20 00:03:48 00:01:54 00:00:09
  06chapter8-9.pdf 1.55 Mb 00:07:09 00:03:40 00:03:13 00:01:36 00:00:08
  07back.pdf 608.87 Kb 00:02:49 00:01:26 00:01:16 00:00:38 00:00:03

Browse All Available ETDs by ( Author | Department )

If you have more questions or technical problems, please Contact UPeTD.