Hi Dmirty,
thanks for replying.

I just realized that the p2p-classloading will behave differently, if I
create a remote filter using these two alternatives:
      qry.setRemoteFilterFactory( new MyRemoteFilterFactory() );
      qry.setRemoteFilterFactory(FactoryBuilder.factoryOf(
MyEntryEventFilter.class ));

(the MyRemoteFilterFactory class depends on the MyEntryEventFilter class.)

In the first case, the server p2p-loads the MyEntryEventFilter class. In the
second case, it doesn't; and when registering, will have a
ClassNotFoundException on the server side.

I understand that is related to the fact that using the javax builder we
lose some dependency information?

(altough this makes sense, it is easy to get confused- at least for me!)




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to