This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

You must use RMI over JRMP (do not use IIOP) ?

 
joe lin
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
in my specification,there is an restriction on rmi:
You must use RMI over JRMP (do not use IIOP).
but,how do i known i am using rmi over jrmp or
over iiop?
pls help!!
thanks
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dont worried. The RMI package comes along with J2SE is already RMI over JRMP. RMI over IIOP is used by EJB.

Nick
 
Dieskun Koper
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To create your stubs you use rmic. If you specify its '-iiop' option, you'll get RMI over IIOP. So all you need to do is to NOT specify this option.

Regards,
Dies
 
Nicholas Cheung
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just if you use all RMI stuff with default value, you won't encounter any issues for violating the instructions.

Nick
 
joe lin
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks all of you!now i will use rmi securely.
thanks again.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!