File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
joe lin
Greenhorn
Posts: 28
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks all of you!now i will use rmi securely.
thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic