Assignment title: Information
1
The Assignment-1 Specification and Marking Criteria
Java Interface, Java Object Serialization, Java multi-threading model and client/server model are very
useful and important Java components to build distributed applications. In this assignment, you are
to research the Java APIs on Java Interface, Object Serialization, multi-threading model and
client/server model and write a technical report. The report is to be structured as an academic
report and must be appropriately referenced using the Author-Date style. The length of the report
should be about 2,500 words. You are not required to provide an executive summary for the report,
but your report must be organised into the format of an introduction section, a body (multiple
sections) and a conclusion section. An Exemplar for Writing a Simple Academic Technical Report is
available on the course web site. You should read this exemplar before writing your report.
Note: thorough review and understanding of these Java APIs or models are also important for the
assignment-2, where you need to use these APIs and models to implement a distributed application.
To prepare your report, you will need to research widely on these Java APIs and models. Your report
must cover the issues that are detailed as follows.
Introduction
Give your introduction to these Java APIs and models.
Present the organisation of your report.
Review of Java Interface
Use an example to describe
1. What is Java Interface?
2. What is the use of a Java interface?
3. What is the implementation of a Java interface?
Review of Java Object Serialization
Use an example to describe
1. What is Java Object Serialization?
2. What is the use of object serialization?
3. How to make a Java object serializable?
Review of Java multi-threading model
Use an example to describe
1. What is multi-threading?
2. The difference between a process and a thread
3. The two ways to create a Java thread
4. How to start running a Java thread
Note: to show your understanding you should compose your own examples. You are not to use the
examples from this course textbook or the course online materials.
2
Review of client/server model
1. What is client/server model?
2. Why must the server be multi-threaded?
Conclusion
Conclude why these APIs and models are the components to build distributed applications.
Submission
The assignment must be submitted as a single Microsoft Word document. You must submit your
assignment via the course web site. Any hardcopy or email submission will not be accepted. After
the marked assignments are returned, any late submissions will not be accepted.
Marking Criteria
Criteria Available Marks
Introduction 3
1. Introduce Java Interface, Object Serialization, multithreading model and client/server model
2
2. What are covered in the report? 1
Review of Java Interface 3
1. What is Java Interface? 1
2. What is the use of a Java interface? 1
3. What is the implementation of a Java interface? 1
Review of Java Object Serialization 4
1. What is Java Object Serialization 1
2. What is the use of object serialization 2
3. How to make a Java object serializable 1
Review of Java multi-threading model 5
1. What is multi-threading? 1
2. The difference between a process and a thread 1
3. The two ways to create a Java thread 2
4. How to start running a Java thread 1
Review of client/server model 3
1. What is client/server model? 1
2. Why must the server be multi-threaded? 2
Conclusion 2
Why are these APIs and models the components to build 2
3
distributed applications?
Sub Total for Assignment-1 20.0
Late Penalty -1 (5%) each calendar
day(either full or part)
Plagiarism Penalty
Total for Assignment-1