Re: Re: POA Progress
David Forslund <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
The problem I'm having with client generated requesters is that the server complains that it doesn't exist: "Can't find CORBA external requester for process, but then it proceeds to create it but it seems that it is too late. I still trying to figure out what is going on here. Dave Sasa Bojanic wrote: >Hi Dave, > >CORBA layer in shark is just a wrapper for POJO interface. It does not have almost any logic (except the one for collecting CORBA >object to release them after disconnect action or doneWith method call, starting threads for deadline and limit check, requesting >authorization for all admin interfaces, ...), holds only references to POJO classes, and just propagates user's request to them. >Shark has several layer structure, because even the POJO classes objects that are referenced by CORBA wrapper objects are only >proxys to the real shark kernel objects, and thus shark is never giving it's own kernel(working) memory to the client. >So, shark's CORBA object is generally only proxy of the POJO proxy, and if i.e. two CORBA client application ask for some >WfActivity, they will get different CORBA proxy objects that are both having reference to different POJO proxy WfActivity, and POJO >proxy WfActivity is only holding Ids necessary to access real kernel WfActivity object. > >I'm not sure what you think by: > >"... This can be utilized to properly activate the POA objects. In fact, there probably should be hierarchy of POA adapters for >the variety of complex objects in Shark..." > >but we certainly don't want to include anything from CORBA into the kernel or POJO wrappers. This must stay clean, and idea is only >to make CORBA, EJB, RMI, WEB Service, ... wrappers over shark POJO interface if we want shark to be deployed in any of these >environments. > >I hope this helps. > >Thanks so much for your effort, >Sasa. > >----- Original Message ----- >From: "David Forslund" <[email protected]> >To: <[email protected]> >Sent: Wednesday, June 22, 2005 10:27 PM >Subject: [shark] Re: POA Progress > > > > >>I've made some progress on the POA implementation (replacing the BOA) in >>Shark. However, the right way to do this may require rethinking >>some aspects of what is in the CORBA interface for Shark. The POA >>provides lifecycle management capabilities which probably should be used >>to replace >>the code snippets used in the current implementation to control memory >>utilization. It seems to me that the Shark CORBA layer is just a window >>into the objects >>that are created underneath in the Shark Kernel. This can be utilized >>to properly activate the POA objects. In fact, there probably should >>be hierarchy of POA adapters for the variety of complex objects in >>Shark. I will make some stab at getting this done in my POA >>implementation, but I don't know if I know enough about the workings of >>Shark to get it all right. Any suggestions in this area would be >>greatly appreciated. The javaworld articles on the "new" CORBA POA >>capabilities (2002) are helpful in this regard. >> >>Thanks, >> >>Dave >> >> >> >> >>
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws