permaculture playing cards
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes ConnectionFactory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "ConnectionFactory" Watch "ConnectionFactory" New topic


Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi All,
Is there any need to keep a mapping of remote clients to connections (assuming each client gets its own unique connection)? The only reason I can think of is so that you only create a connection object once per server session for any unique client.
Thanks for your opinions
Michael Morris

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

I don't see why you would need that. I always looked as the Connection Object as a client proxy, or a client stand-in. It represented a single client on the server. So the mapping was done for me by RMI and Remote, so I didn't have to do any kind of mapping.

Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Hi Mark,
Thanks for the responce (that's what I was hoping you would say.) I should be finishing up on the server this week. Get ready for a barage of client/GUI questions
Thanks againg
Michael Morris
I agree. Here's the link:
subject: ConnectionFactory
It's not a secret anymore!