RMI little problem

G

Gianlukino!

Hi I'm developing an application using RMI Technology but now I've a
little logical problem.
The structure of my application as a Server and two type of client: a
ManagerClient and a UserClient.
I want to publish two interface:

pbulic interface Manager extends Remote{ ...method for manager }
public interface User extends Remote{... method for client}

My problem is that I want that ONLY a ManagerClient can import Manager
object and can use Manager methods and not a ClientUser.
How can I do? Thank You!
 
P

pccslawrencechan

Gianlukino! ¼g¹D¡G
Hi I'm developing an application using RMI Technology but now I've a
little logical problem.
The structure of my application as a Server and two type of client: a
ManagerClient and a UserClient.
I want to publish two interface:

pbulic interface Manager extends Remote{ ...method for manager }
public interface User extends Remote{... method for client}

My problem is that I want that ONLY a ManagerClient can import Manager
object and can use Manager methods and not a ClientUser.
How can I do? Thank You!

PCCW Solutionx¤»¼Ó - Lawrence Chan (Âq¤H) ³Ì¥{­I«á¸Ü¤H³J´²,
³Ì¥{­I«á°µ¤p°Ê§@, ¤j®a¤p¤ß
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top