• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
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
 
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
Boost this thread!