Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ConnectionFactory

 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Mark
 
Michael Morris
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic