Posted By:
Rakesh_PN
Posted On:
Tuesday, January 31, 2012 04:34 AM
Hi, I am a newbie to CORBA technologies. I have a corba server application running at one end. Many client applications running at other end. The server application is developed using Java. My requirement is to identify/track the client which is making remote calls to the server. I have two methods in the server connect() disConnect() Suppose the life time of the client is from the time it calls the connect() method till it calls the disConnect() method. I need to maintain the state of connection of the client between these two method calls If a client calls the disConnect() first, I will have to return an error since it has not made the connect()
More>>
Hi, I am a newbie to CORBA technologies. I have a corba server application running at one end. Many client applications running at other end. The server application is developed using Java. My requirement is to identify/track the client which is making remote calls to the server.
I have two methods in the server
-
connect()
-
disConnect()
Suppose the life time of the client is from the time
it calls the
connect()
method till it calls the
disConnect()
method. I need to maintain the state of connection of the client between these two method calls
If a client calls the
disConnect()
first, I will have to return an error since it has not made the
connect()
call yet. Similarly if more than one client is connecting to the server, I will have to maintain the state of each client.
I tried using
PortableInterceptor
, but it seemed to complex. Can somebody suggest me a simple approach for my requirement ?
Thanks
<<Less