This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Does RMI protocol open a new TCP connection?  RSS feed

avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have an eclipse client that runs on computer A,
And JBoss as a server that run on machine B.
The client initials the initial context and work against a stateless session bean.

When I ran sniffer I noticed in a strange behavior- a lot of new TCP connection and wait for a 3 seconds for each connection.

It seems strange; does RMI need to open a new TCP connection for each call?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!