[infinispan-dev] Fwd: [jboss-as7-dev] Serializing Data in the Modular World

Pete Muir pmuir at redhat.com
Wed Oct 12 15:48:26 EDT 2011


Yup, this would be the way to do it :-)

We do have a jira for this (not online right now, so can't find the no ;-) - could you attach this comment to it?

On 10 Oct 2011, at 08:17, Galder Zamarreño wrote:

> Pete et al, for your interest. This is related to the chat we had in Lisbon about adding deployment info to the marshalling payload.
> 
> Begin forwarded message:
> 
>> From: "Jason T. Greene" <jason.greene at redhat.com>
>> Subject: Re: [jboss-as7-dev] Serializing Data in the Modular World
>> Date: October 10, 2011 5:07:24 PM GMT+02:00
>> To: Galder Zamarreño <galder at jboss.org>
>> Cc: "jboss-as7-dev at lists.jboss.org" <jboss-as7-dev at lists.jboss.org>
>> 
>> On 10/10/11 9:33 AM, Galder Zamarreño wrote:
>>> Interesting article Jason.
>>> 
>>> This might be handy for Infinispan because in the discussions we had
>>> in Lisbon, we're talking about being able to have the module
>>> identifier included in the payload for AS envs. Your solution would
>>> make our lifes easier.
>>> 
>>> Couple of questions:
>>> 
>>> - Is ModularClassResolver a class of JBoss Marshalling or AS?
>> 
>> It's in JBoss Marshalling.
>> 
>>> 
>>> - What happens if you use ModularClassResolver in a non-AS
>>> environment? Could it delegate to a backup class resolver? I think
>>> this could be useful.
>> 
>> It currently requires that both communication peers use JBoss Modules, not necessarily both be AS7. For EJB3 we were going to write a variant that filtered the module information and loaded classes on the classpath to support embedded client usage in a non-modularized client. Not sure if that was done yet or not, its not much work though.
>> 
>>> 
>>> Cheers,
>>> 
>>> On Sep 27, 2011, at 11:03 PM, Jason T. Greene wrote:
>>> 
>>>> Hi Everyone,
>>>> 
>>>> I wrote up an article today that talks about the issues (and
>>>> solutions) of serializing in a modular (or any multi-classloader)
>>>> environment:
>>>> 
>>>> http://community.jboss.org/wiki/ModularSerialization
>>>> 
>>>> If you are developing any kind of component that sends data on AS7,
>>>> then please give this a read.
>>>> 
>>>> As an example of the application of this information, ejb3 remote
>>>> communication is being developed to follow solution 3.
>>>> 
>>>> -- Jason T. Greene JBoss AS Lead / EAP Platform Architect JBoss, a
>>>> division of Red Hat
>>>> _______________________________________________ jboss-as7-dev
>>>> mailing list jboss-as7-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>>> 
>>> -- Galder Zamarreño Sr. Software Engineer Infinispan, JBoss Cache
>>> 
>> 
>> 
>> -- 
>> Jason T. Greene
>> JBoss AS Lead / EAP Platform Architect
>> JBoss, a division of Red Hat
> 
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list