Hi,
Really good. So, actually rST looks like RMI for Java. That's cool. What do you have plan to do next ?
The folowing steps are: 1) remote garbage collector (in progress) 2) replace the squeak serialization for other thing. I plan to port to others smalltalks and we need an serialization multi-smalltalk 3) I'll see
What do you want to do if you get instances from a server where the class does not exit on client ? And about migration.
The framework support pass objects by copy or by reference. The problem only occurrs with "by copy" option, becouse in the "by reference" all the messages are processed in the image where the objec lives. The final goal is to interoperate with diferents smalltalks, so the problem to send the class to the other side is a REAL problem.
I have works for a good while on a similar system for Java. So perhaps I can contribute to go further.
Of course! just tell me what do you want to do...
That is very nice, but better will certainly come.
Best regards, Alexandre
Thanks,
Diego Gomez Deck
[snipped]
The framework support pass objects by copy or by reference. The problem only occurrs with "by copy" option, becouse in the "by reference" all the messages are processed in the image where the objec lives. The final goal is to interoperate with diferents smalltalks, so the problem to send the class to the other side is a REAL problem.
[/snipped]
This problem may arise often. For example, if you have a reference for a remote object, and you perform a method call, if the result is an instance of a class not present in the system, there is some troubles.
I think modules can really help here. I mean, if an object has a class which not exists on the client system. We should provide a way for getting the module of this class, and then load up the module, and other dependent modules.
Also, for resolving new concept, as migration, I think we have to formulate *first* a problem. I mean, I have developed a Raytracer application. I have make RendererEngine as "Active Objects" (kind of remote object, as you have). Ok, very good. But I have build this application on the library given. This works, yes, but I am not sure if I have resolved any problem. But here, I am perhaps a little bit far from our case.
I have works for a good while on a similar system for Java. So perhaps I can contribute to go further.
Of course! just tell me what do you want to do...
I think module management for resolving the case if class is not present sound good. What do you and others think ?
Regards, Alexandre
Hi,
----- Original Message ----- From: "Diego Gomez Deck" DiegoGomezDeck@ConsultAr.com To: squeak-dev@lists.squeakfoundation.org Sent: Saturday, February 23, 2002 12:15 AM Subject: Re: [ANN] [GOODIE] rST - Remote Smalltalk
Hi,
Really good. So, actually rST looks like RMI for Java. That's cool. What do you have plan to do next ?
The folowing steps are:
- remote garbage collector (in progress)
- replace the squeak serialization for other thing. I plan to port to
others smalltalks and we need an serialization multi-smalltalk
If you are planning to replace squeak specific serialization with more interoperable one, just take a look at CampSmalltalk's SRP (State Replication Protocol).
http://wiki.cs.uiuc.edu/CampSmalltalk/About+State+Replication+Protocol+(SRP)
It defines standard way to serialize Smalltalk objects.
Implementations for many Smalltalks(including Squeak) are available at: http://www.effectnet.com/pbaumann/index.html
I will adopt this serialization protocol to my SOAP. (Currently SoapOpera supports Squeak specific encoding and SOAP Encoding, so SRP will be the third option).
Best regards, --- [:masashi | ^umezawa]
Yes, this is what you'll want to use, I think. I have attached a few subclasses to the framework that I used to prototype pass-by-reference. It is a DynamocMappingRule, and the associated configuration, Load and Save Contexts, and a new object stream which uses these. The Mapping Rule will allow you to specify custom mapping rules. For instance, you can create one that matches any Process objects and substitute a remote reference. The great thing about this framework, is that you do these transformations as you are encoding the graph of objects. In other words, you walk the graph once, and do in place substitutions.
I believe that Paul has a newer version he has been working on, which turns all the Load and Save rules into instance based rules, rather than using classes.
Cheers, Rob
At 02:17 AM 2/23/2002, you wrote:
Hi,
----- Original Message ----- From: "Diego Gomez Deck" DiegoGomezDeck@ConsultAr.com To: squeak-dev@lists.squeakfoundation.org Sent: Saturday, February 23, 2002 12:15 AM Subject: Re: [ANN] [GOODIE] rST - Remote Smalltalk
Hi,
Really good. So, actually rST looks like RMI for Java. That's cool. What do you have plan to do next ?
The folowing steps are:
- remote garbage collector (in progress)
- replace the squeak serialization for other thing. I plan to port to
others smalltalks and we need an serialization multi-smalltalk
If you are planning to replace squeak specific serialization with more interoperable one, just take a look at CampSmalltalk's SRP (State Replication Protocol).
http://wiki.cs.uiuc.edu/CampSmalltalk/About+State+Replication+Protocol+(SRP)
It defines standard way to serialize Smalltalk objects.
Implementations for many Smalltalks(including Squeak) are available at: http://www.effectnet.com/pbaumann/index.html
I will adopt this serialization protocol to my SOAP. (Currently SoapOpera supports Squeak specific encoding and SOAP Encoding, so SRP will be the third option).
Best regards,
[:masashi | ^umezawa]
I have 3.0 change set files that I want to import in the newest image (with modules)... How do I proceed ?
===== ------------------------- Benoit St-Jean bstjean@yahoo.com Yahoo! Messenger: bstjean http://cactus.swiki.net -------------------------
__________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards� http://movies.yahoo.com/
Benoit St-Jean wrote:
I have 3.0 change set files that I want to import in the newest image (with modules)... How do I proceed ?
http://minnow.cc.gatech.edu/squeak/2232
Henrik
squeak-dev@lists.squeakfoundation.org