From bdelav@hotmail.com Wed Nov 18 21:51:33 1998 Received: from hotmail.com (f20.hotmail.com [207.82.251.200]) by amber.ccs.neu.edu (8.9.1a/8.9.1) with SMTP id VAA28765 for ; Wed, 18 Nov 1998 21:51:30 -0500 (EST) Received: (qmail 12154 invoked by uid 0); 19 Nov 1998 02:50:59 -0000 Message-ID: <19981119025059.12153.qmail@hotmail.com> Received: from 204.215.172.135 by www.hotmail.com with HTTP; Wed, 18 Nov 1998 18:50:58 PST X-Originating-IP: [204.215.172.135] From: "Bill de la Vega" To: mira@informatik.uni-siegen.de Cc: lieber@ccs.neu.edu Subject: colaboration entry point? MIME-Version: 1.0 Content-Type: text/plain Date: Wed, 18 Nov 1998 18:50:58 PST Status: R Where does the colaboration begin? I was expecting be able to write something like: Composite c = Composite.parse(...); SummingBean s = SummingBean(...); s.getTotal(c); or Composite c = Composite.parse(...); SummingBean s = SummingBean(c, ...); s.getTotal(); Also, I have changed the XXXEventObjects to be just XXXEvents per the Beans specification and posted again to http://www.ccs.neu.edu/home/bdelaveg/APPC/rev-eng2 PS. If I'm taking too much of your time, let me know. Perhaps I can meet with Prof. Lieberherr to discuss these questions instead. Thanks, Bill. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com From mira@informatik.uni-siegen.de Thu Nov 19 10:06:15 1998 Received: from aretha.informatik.uni-siegen.de (aretha.informatik.uni-siegen.de [141.99.92.8]) by amber.ccs.neu.edu (8.9.1a/8.9.1) with ESMTP id KAA18558 for ; Thu, 19 Nov 1998 10:06:12 -0500 (EST) Received: from doors.informatik.uni-siegen.de (doors [141.99.92.1]) by aretha.informatik.uni-siegen.de (Mailhost) with ESMTP id QAA02971; Thu, 19 Nov 1998 16:06:09 +0100 (MET) Received: (from mira@localhost) by doors.informatik.uni-siegen.de (Mailhost) id QAA08140; Thu, 19 Nov 1998 16:06:03 +0100 (MET) Message-Id: <199811191506.QAA08140@doors.informatik.uni-siegen.de> Subject: Re: colaboration entry point? To: bdelav@hotmail.com (Bill de la Vega) Date: Thu, 19 Nov 1998 16:06:03 +0100 (MET) From: "Mira Mezini" Cc: mira@informatik.uni-siegen.de, lieber@ccs.neu.edu In-Reply-To: <19981119025059.12153.qmail@hotmail.com> from "Bill de la Vega" at Nov 18, 98 06:50:58 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Status: R > Where does the colaboration begin? > I was expecting be able to write something like: > Composite c = Composite.parse(...); > SummingBean s = SummingBean(...); > s.getTotal(c); > or > Composite c = Composite.parse(...); > SummingBean s = SummingBean(c, ...); > s.getTotal(); We will have "connection statements" for connecting several APPCs together as well as for attaching the collaboration to a CCG (Composite above). The connection will be specified at the APPC level and not at the level of the beans to which APPCs get translated. The syntax for the connections is not fixed yet. It is going to be something like what you have written above (maybe a bit more complex). There is a very preliminary example for connections somewhere on the web. Karl would you give Bill the link please? in the process of translating connection statements (what translate means will depend on the syntax we chose. The near to plain Java the les we need to translate) : (a) the information for MapObjects will be extracted (b) interface match checks will be performed But, this is something that will be built on top of the infrastructure you and I-Chen are working on. Does the above give you some more insight? If no, please don't hesitate to ask as much as you want to. > Also, I have changed the XXXEventObjects to be just XXXEvents per the > Beans specification and posted again to > http://www.ccs.neu.edu/home/bdelaveg/APPC/rev-eng2 Thank you. > PS. If I'm taking too much of your time, let me know. Perhaps I can meet > with Prof. Lieberherr to discuss these questions instead. Not at all. Answering your questions is valuable time: it helps clarifying the ideas. You are welcome to ask any time and any question you want. - Mira From lieber@ccs.neu.edu Thu Nov 19 10:30:53 1998 Received: from stockberg.ccs.neu.edu (lieber@stockberg.ccs.neu.edu [129.10.116.114]) by amber.ccs.neu.edu (8.9.1a/8.9.1) with ESMTP id KAA20113; Thu, 19 Nov 1998 10:29:30 -0500 (EST) Received: (from lieber@localhost) by stockberg.ccs.neu.edu (8.9.1a/8.9.1) id KAA15518; Thu, 19 Nov 1998 10:29:30 -0500 (EST) Date: Thu, 19 Nov 1998 10:29:30 -0500 (EST) From: Karl Lieberherr Message-Id: <199811191529.KAA15518@stockberg.ccs.neu.edu> To: bdelav@hotmail.com, mira@informatik.uni-siegen.de Subject: Re: colaboration entry point? Cc: lieber@ccs.neu.edu Status: R Hi Bill: I just read Mira's response. Please ask also me as many questions as you want. I find them always interesting. I like the idea that you embed this example into Demeter/Java so that you can use the parser etc. Is that your plan? If so, lets ask Doug about the best way to do this. Mira mentions the connect statements. Her paper on that with my annotations is at: /proj/adaptive/www/course/f98/projects/APPCs-Beans/iterator-composite.PDF Read it on-line so that you get all the annotations. As Mira say: that is all at the APPC level. Currently you show the result of the translation in your summing example. To run the example, there needs to be the instances you already have: c and s but we also need a traversal bean t and an adapter bean a. And they need to be wired so that a hears t and s hears a. -- Karl >From bdelav@hotmail.com Wed Nov 18 21:51:33 1998 >From: "Bill de la Vega" >To: mira@informatik.uni-siegen.de >Cc: lieber@ccs.neu.edu >Subject: colaboration entry point? > >Where does the colaboration begin? >I was expecting be able to write something like: > Composite c = Composite.parse(...); > SummingBean s = SummingBean(...); > s.getTotal(c); >or > Composite c = Composite.parse(...); > SummingBean s = SummingBean(c, ...); > s.getTotal(); > > >Also, I have changed the XXXEventObjects to be just XXXEvents per the >Beans specification and posted again to >http://www.ccs.neu.edu/home/bdelaveg/APPC/rev-eng2 > > >PS. If I'm taking too much of your time, let me know. Perhaps I can meet >with Prof. Lieberherr to discuss these questions instead. > >Thanks, Bill. > > >______________________________________________________ >Get Your Private, Free Email at http://www.hotmail.com >