CORBA DynamicImplementation and RMI/IIOP?
Esmond Pitt FACS <[email protected]> Fri, 13 Feb 2009 15:48:10 +1100
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Organization | Melbourne Software Company |
| Message-ID | <20090213044635.MQT19114.nskntotgx01p.mx.bigpond.com@toshibakx1wgjb> |
I'm not sure if this is the right place to ask the question, but ... I'm trying to figure out how to get a DynamicImplementation-based RMI/IIOP server to work. I'm running into difficulties with the ServerRequest object that's passed to the DynamicImplementation.invoke() method, and getting it to recognize the argument list correctly. This is because RMI/IIOP seems to do some wrapping. Even in the simple case of a single String argument, it is passed as an RMI-wrapper around a WStringValue around a wstring. I can tell ServerRequest.arguments() to expect a WStringValue around a wstring but it barfs reading the 0x7ffff02 header on the RMI thing. (At this point I am deep in the guts of com.sun.corba.se.impl.util.RepositoryId.kPreComputed_StandardRMIChunked_NoRe p, not where I want to be at all, just following my nose to figure out the encoding). If this isn't the right place my apologies but where is it? Esmond Pitt =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html