R
Rowland
Hi all,
I've written a server program in Java that allows clients to transmit
commands and recieve an appropriate response (e.g. some data from a
database, etc.). There will be several different clients, designed for
people with different roles within the company. These different clients will
share a number of forms, with maybe one or two role specific forms being
added, and certain buttons being disabled within each client.
What would be the best way to go about implementing this in terms of
code-reuse, modularity, etc.
My original idea was a BasicClient superclass with most of the forms
contained within that.
This would then be extended to an AdminClient, UserClient, ManagerClient
(for example), which would enable / disable specific forms/buttons. Would
this work well, or is there a better suggestion?
Many thanks,
Rowland.
I've written a server program in Java that allows clients to transmit
commands and recieve an appropriate response (e.g. some data from a
database, etc.). There will be several different clients, designed for
people with different roles within the company. These different clients will
share a number of forms, with maybe one or two role specific forms being
added, and certain buttons being disabled within each client.
What would be the best way to go about implementing this in terms of
code-reuse, modularity, etc.
My original idea was a BasicClient superclass with most of the forms
contained within that.
This would then be extended to an AdminClient, UserClient, ManagerClient
(for example), which would enable / disable specific forms/buttons. Would
this work well, or is there a better suggestion?
Many thanks,
Rowland.