[jboss-dev-forums] [Design of POJO Server] - Re: JBMICROCONT-288 - Invalid feature request and invalid pr

adrian@jboss.org do-not-reply at jboss.com
Fri May 16 11:23:41 EDT 2008


"wolfc" wrote : 
  | In actuality I should create a seriailizable object which has both the serializable kernel reference and the name of the service I want to invoke upon. Then after deserialization I can invoke that service via the kernel bus.
  | 
  | But I would still need a serializable kernel reference to be able to do that.
  | 
  | Maybe a KernelReferenceRegistry which functions similar to the NonSerializableFactory? So I can do KernelReferenceRegistry.getKernelReference(kernel)? But then why not make the Kernel externalizable with it's own lookup map?

Because people will (ab)use it (see Al's post in the MC forum).

I don't understand why you need to "serialize" a reference to the KernelBus
so I can't explain what you are doing wrong.

One of my laws of programming/debugging;
"Don't confuse the user's chosen solution with the problem"


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151450#4151450

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151450



More information about the jboss-dev-forums mailing list