Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMI : ConnectionFactory

 
Nagu Rathina
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
friends,
I am new to RMI. Going thru ranchers mails & RMI tutorial, I am little informed about it now. I did not understand ranchers talking about getconnection() method returning ConnectionFactory. what is this ConnectionFactory & getConnection()?
could u pl explain me?
Thanks
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nagu,
You can find a explanation here. Towards the end, I give some pointed advice on how to approach the RMI issue.
For a working example, think of any ejb you've ever worked with. Your factory would function like a home interface, and getConnection would function like create();
HTH,
M
The Sun Certified Java Developer Exam with J2SE 1.4
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic