[ http://jira.jboss.com/jira/browse/JBREM-51?page=comments#action_12315563 
]
     
Tom  Elrod commented on JBREM-51:
---------------------------------

This configuration is fine if the classes are present within the client's 
classpath.  If they are not, can provide configuration for allowing clients to 
dynamically load the classes from the server.  To do this, can use the 
parameter 'loaderport' with the value of the port you would like your marshall 
loader to run on.  For example:  

           <invoker transport="socket">
              <attribute name="dataType" isParam="true">invocation</attribute>
              <attribute name="marshaller" 
isParam="true">org.jboss.invocation.unified.marshall.InvocationMarshaller</attribute>
              <attribute name="unmarshaller" 
isParam="true">org.jboss.invocation.unified.marshall.InvocationUnMarshaller</attribute>
              <attribute name="loaderport" isParam="true">5401</attribute>
           </invoker>

When this parameter is supplied, the Connector will recognize this at startup 
and create a marshall loader connector automatically, which will run on the 
port specified.  The locator url will be exactly the same as the original 
invoker locator, except will be using the socket transport protocol and will 
have all marshalling parameters removed (except the dataType).  When the 
remoting client can not load the marshaller/unmarshaller for the specified data 
type, it will try to load them from the marshall loader service running on the 
loader port, including any classes it depends on.  This will happen 
automatically and not coding is required (only the ability for the client to 
access the server on the specified loader port, so must provide access if 
running through firewall).


> defining marshaller on remoting client
> --------------------------------------
>
>          Key: JBREM-51
>          URL: http://jira.jboss.com/jira/browse/JBREM-51
>      Project: JBoss Remoting
>         Type: Reactor Event
>   Components: marshall
>     Versions: 1.0.1 beta
>     Reporter: Tom  Elrod
>     Assignee: Tom  Elrod
>      Fix For: 1.0.1 final

>
>
> Need to be able to somehow declare and load marshallers dynamically on 
> remoting client based on just locator url.
> See forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=59358 for 
> details.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to