Tải bản đầy đủ (.pdf) (1 trang)

Distributed Computing in Java - Remote Method Invocation docx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (15.42 KB, 1 trang )

Distributed Computing in Java Assignments
© 2007 Aptech Ltd Version 1.0 Page 1 of 1
R
R
e
e
m
m
o
o
t
t
e
e


M
M
e
e
t
t
h
h
o
o
d
d


I


I
n
n
v
v
o
o
c
c
a
a
t
t
i
i
o
o
n
n







Sr. No Assignment Question
1. The University of Aberdeen conducts advanced technological research in various
fields of science. In a move to facilitate sharing of information and resources
amongst faculty members, the university has decided to implement an intranet

communication system. Each faculty member would be given a unique username
and password to log on to the intranet.

The Dean of the university and a team of experts have chosen your company to
provide a solution for the same. Consider yourself to be a part of the team that
implements the solution for the university.

Create an application using Remote Method Invocation to implement the
solution. The username and password entered by the faculty member is
encapsulated in an object and sent to the server for authentication. The GUI for
the client application is shown below.



The server extracts the username and password from the object and searches for
them in a file. If the username and password are authentic then the server sends
a corresponding confirmation message back to the client. For an invalid
username and/or password, the server sends an authentication failure message
back to the client. The client in turn displays this message to the user.

×