[infinispan-dev] Quick fix for ISPN-7710
Adrian Nistor
anistor at redhat.com
Thu Jun 15 05:05:31 EDT 2017
Hi Galder,
this fix is acceptable for now as it quickly enables users to use
CompatibilityProtoStreamMarshaller (provided by Infinispan), but in the
long run we would want users to be able to specify a custom marshaller
class that comes from a user supplied module or even a deployment - the
general case.
With the introduction of encoders and deprecation of compat mode we
still have the same class loading issue in the general case. So I
propose to refine a bit our approach and instead of specifying just a
class name we should use a naming schema like "moduleId:slot:className",
giving users the ability to specify a class that comes from a different
module or deployment. I'm currently experimenting with this. I'll come
back with results soon.
There are also other code bits that need to be deployed in the server
ASAP: protostream entity marshallers, lucene analyzers. I'm thinking
these could all benefit from the same solution.
Btw, what is the relation between ISPN-7814 and ISPN-7710 ?
Adrian
On 06/14/2017 06:35 PM, Galder ZamarreƱo wrote:
> Hi all,
>
> I'm seeing more and more people trying to do stuff like I did in [1] WRT to running server tasks in server.
>
> One of the blockers is [2]. I know we have transcoding coming up but I wondered if we could implement the quick hack of referencing remote-query.server module from root org.infinispan module.
>
> So, in essence, adding the following to org/infinispan/main/module.xml:
>
> <module name="org.infinispan.remote-query.server" optional="true"/>
>
> Once ISPN-7710 is in place, along with ISPN-7814, users can run the demos in [1] without a custom server build.
>
> Cheers,
>
> [1] https://github.com/infinispan-demos/swiss-transport-datagrid
> [2] https://issues.jboss.org/browse/ISPN-7710
> --
> Galder ZamarreƱo
> Infinispan, Red Hat
>
>
> _______________________________________________
> 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