Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic