| Author |
You must use RMI over JRMP (do not use IIOP) ?
|
joe lin
Greenhorn
Joined: Dec 07, 2004
Posts: 28
|
|
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
|
Looking for better solution...<br />SCJP1.4
|
 |
Nicholas Cheung
Ranch Hand
Joined: Nov 07, 2003
Posts: 4982
|
|
Dont worried. The RMI package comes along with J2SE is already RMI over JRMP. RMI over IIOP is used by EJB. Nick
|
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
|
 |
Dieskun Koper
Ranch Hand
Joined: Aug 15, 2004
Posts: 85
|
|
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
Joined: Nov 07, 2003
Posts: 4982
|
|
Just if you use all RMI stuff with default value, you won't encounter any issues for violating the instructions. Nick
|
 |
joe lin
Greenhorn
Joined: Dec 07, 2004
Posts: 28
|
|
thanks all of you!now i will use rmi securely. thanks again.
|
 |
 |
|
|
subject: You must use RMI over JRMP (do not use IIOP) ?
|
|
|