You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Nader Aeinehchi <na...@aeinehchi.com> on 2004/04/09 11:00:05 UTC

Event mechanism in Merlin

Hi

- I wonder if any special approach has been taken in Merlin to handle events?
- Are events handled based on usual Java event mechanism? 
- Observer and Observable pattern?
- Are alternative even mechanisms been discussed/used like Hub and Spoke or Event Bus?

Thanks.


Best Regards
 
--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com


RE: Event mechanism in Merlin

Posted by Andreas Oberhack <de...@softwarefabrik.biz>.
Nader,

do you want to install the eclipse plugin from cvs (source) or as binary
installation?

Note: it's not tested with M8 yet.

Andreas

> -----Original Message-----
> From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> Sent: Mittwoch, 21. April 2004 23:41
> To: Avalon Developers List
> Subject: Re: Event mechanism in Merlin
> 
> Thanks
> 
> But I am trying from eClipse CVS client to check out the code.  How do
I
> do
> it?
> Best Regards
> 
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com
> 
> ----- Original Message -----
> From: "peter royal" <pr...@pace2020.com>
> To: "Avalon Developers List" <de...@avalon.apache.org>
> Sent: Wednesday, April 21, 2004 11:27 PM
> Subject: Re: Event mechanism in Merlin
> 
> 
> > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > Over on the directory side we're actually using subversion but
> > > here's the link to the repo:
> > >
> > > http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > frontend/eve
> > > nt/?root=Apache-SVN
> > >
> > > Oh and BTW this is just another component - although I'd like to
> > > explore
> > > the use of it as a facility.  Just don't seem to have the time at
the
> > > moment
> > > while working to get Eve out of the incubator.
> >
> > That's also pretty similar to the event package that was part of
> > cornerstone..
> >
> > http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> >
apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > rev=1.9&hideattic=0&view=auto
> >
> > -pete
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Thursday 22 April 2004 13:03, Andreas Oberhack wrote:
> To install the binaray installation see:
>
> http://www.apache.org/~oberhack/eclipse/docs/index.htm

In Merlin 3.0M8, the update doesn't work, it gives me
"MerlinDeveloper Feature (0.0.3) operating system does not match current 
environment."

Is there anything in it tying it to Windows?


Niclas
-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Thursday 22 April 2004 13:03, Andreas Oberhack wrote:
> To install the binaray installation see:
>
> http://www.apache.org/~oberhack/eclipse/docs/index.htm

Under 2.1.0, I don't get any error message, just that the "Feature Updates" 
window contains;
> MerlinDeveloper
    Eclipse (2.x and 3.0)


So I suspect that it filters out due to OS as well.


Niclas
-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Nader Aeinehchi <na...@aeinehchi.com>.
Hi Andreas

I have already installed Merlin plugin for eClipse, and it is working fine.

Thanks

Best Regards
 
--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com

----- Original Message ----- 
From: "Andreas Oberhack" <de...@softwarefabrik.biz>
To: "'Avalon Developers List'" <de...@avalon.apache.org>
Sent: Thursday, April 22, 2004 7:03 AM
Subject: RE: Event mechanism in Merlin


> To install the binaray installation see:
> 
> http://www.apache.org/~oberhack/eclipse/docs/index.htm
> 
> Andreas
> 
> > -----Original Message-----
> > From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> > Sent: Mittwoch, 21. April 2004 23:41
> > To: Avalon Developers List
> > Subject: Re: Event mechanism in Merlin
> > 
> > Thanks
> > 
> > But I am trying from eClipse CVS client to check out the code.  How do
> I
> > do
> > it?
> > Best Regards
> > 
> > --
> > Nader Aeinehchi
> > Aasenhagen 66 E
> > 2020 Skedsmokorset
> > NORWAY
> > Direct and Mobile +47 41 44 29 57
> > Tel (private): +47 64 83 09 08
> > Fax +47 64 83 08 07
> > www.aeinehchi.com
> > 
> > ----- Original Message -----
> > From: "peter royal" <pr...@pace2020.com>
> > To: "Avalon Developers List" <de...@avalon.apache.org>
> > Sent: Wednesday, April 21, 2004 11:27 PM
> > Subject: Re: Event mechanism in Merlin
> > 
> > 
> > > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > > Over on the directory side we're actually using subversion but
> > > > here's the link to the repo:
> > > >
> > > > http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > > frontend/eve
> > > > nt/?root=Apache-SVN
> > > >
> > > > Oh and BTW this is just another component - although I'd like to
> > > > explore
> > > > the use of it as a facility.  Just don't seem to have the time at
> the
> > > > moment
> > > > while working to get Eve out of the incubator.
> > >
> > > That's also pretty similar to the event package that was part of
> > > cornerstone..
> > >
> > > http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> > >
> apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > > rev=1.9&hideattic=0&view=auto
> > >
> > > -pete
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Merlin Developer Plugin (was RE: Event mechanism in Merlin)

Posted by Alex Karasulu <ao...@bellsouth.net>.
Wow silly me I should have followed the links DOH! 

I see them now.
Alex

> -----Original Message-----
> From: Andreas Oberhack [mailto:develop@softwarefabrik.biz]
> Sent: Thursday, April 22, 2004 3:46 PM
> To: 'Avalon Developers List'
> Subject: RE: Merlin Developer Plugin (was RE: Event mechanism in Merlin)
> 
> Hi Alex,
> 
> which kind of screenshots do you need? Did you read the doc at
> http://www.apache.org/~oberhack/eclipse/docs/index.htm ?
> 
> Doc about persistence / Hibernate integration will follow this weekend.
> 
> Andreas
> 
> > -----Original Message-----
> > From: Alex Karasulu [mailto:aok123@bellsouth.net]
> > Sent: Donnerstag, 22. April 2004 16:50
> > To: 'Avalon Developers List'; develop@softwarefabrik.biz
> > Subject: Merlin Developer Plugin (was RE: Event mechanism in Merlin)
> >
> > Andreas do you have any screenshots of it.  I need to get off my butt
> and
> > install this however for now I can just look at it.
> >
> > FYI I think Nader was looking for a subversion plugin.
> >
> > Alex
> >
> > > -----Original Message-----
> > > From: Andreas Oberhack [mailto:develop@softwarefabrik.biz]
> > > Sent: Thursday, April 22, 2004 1:04 AM
> > > To: 'Avalon Developers List'
> > > Subject: RE: Event mechanism in Merlin
> > >
> > > To install the binaray installation see:
> > >
> > > http://www.apache.org/~oberhack/eclipse/docs/index.htm
> > >
> > > Andreas
> > >
> > > > -----Original Message-----
> > > > From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> > > > Sent: Mittwoch, 21. April 2004 23:41
> > > > To: Avalon Developers List
> > > > Subject: Re: Event mechanism in Merlin
> > > >
> > > > Thanks
> > > >
> > > > But I am trying from eClipse CVS client to check out the code.
> How do
> > > I
> > > > do
> > > > it?
> > > > Best Regards
> > > >
> > > > --
> > > > Nader Aeinehchi
> > > > Aasenhagen 66 E
> > > > 2020 Skedsmokorset
> > > > NORWAY
> > > > Direct and Mobile +47 41 44 29 57
> > > > Tel (private): +47 64 83 09 08
> > > > Fax +47 64 83 08 07
> > > > www.aeinehchi.com
> > > >
> > > > ----- Original Message -----
> > > > From: "peter royal" <pr...@pace2020.com>
> > > > To: "Avalon Developers List" <de...@avalon.apache.org>
> > > > Sent: Wednesday, April 21, 2004 11:27 PM
> > > > Subject: Re: Event mechanism in Merlin
> > > >
> > > >
> > > > > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > > > > Over on the directory side we're actually using subversion but
> > > > > > here's the link to the repo:
> > > > > >
> > > > > >
> http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > > > > frontend/eve
> > > > > > nt/?root=Apache-SVN
> > > > > >
> > > > > > Oh and BTW this is just another component - although I'd like
> to
> > > > > > explore
> > > > > > the use of it as a facility.  Just don't seem to have the time
> at
> > > the
> > > > > > moment
> > > > > > while working to get Eve out of the incubator.
> > > > >
> > > > > That's also pretty similar to the event package that was part of
> > > > > cornerstone..
> > > > >
> > > > >
> http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> > > > >
> > >
> apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > > > > rev=1.9&hideattic=0&view=auto
> > > > >
> > > > > -pete
> > > > >
> > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > > > For additional commands, e-mail: dev-help@avalon.apache.org
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > > For additional commands, e-mail: dev-help@avalon.apache.org
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Merlin Developer Plugin (was RE: Event mechanism in Merlin)

Posted by Andreas Oberhack <de...@softwarefabrik.biz>.
Hi Alex,

which kind of screenshots do you need? Did you read the doc at
http://www.apache.org/~oberhack/eclipse/docs/index.htm ?

Doc about persistence / Hibernate integration will follow this weekend.

Andreas

> -----Original Message-----
> From: Alex Karasulu [mailto:aok123@bellsouth.net]
> Sent: Donnerstag, 22. April 2004 16:50
> To: 'Avalon Developers List'; develop@softwarefabrik.biz
> Subject: Merlin Developer Plugin (was RE: Event mechanism in Merlin)
> 
> Andreas do you have any screenshots of it.  I need to get off my butt
and
> install this however for now I can just look at it.
> 
> FYI I think Nader was looking for a subversion plugin.
> 
> Alex
> 
> > -----Original Message-----
> > From: Andreas Oberhack [mailto:develop@softwarefabrik.biz]
> > Sent: Thursday, April 22, 2004 1:04 AM
> > To: 'Avalon Developers List'
> > Subject: RE: Event mechanism in Merlin
> >
> > To install the binaray installation see:
> >
> > http://www.apache.org/~oberhack/eclipse/docs/index.htm
> >
> > Andreas
> >
> > > -----Original Message-----
> > > From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> > > Sent: Mittwoch, 21. April 2004 23:41
> > > To: Avalon Developers List
> > > Subject: Re: Event mechanism in Merlin
> > >
> > > Thanks
> > >
> > > But I am trying from eClipse CVS client to check out the code.
How do
> > I
> > > do
> > > it?
> > > Best Regards
> > >
> > > --
> > > Nader Aeinehchi
> > > Aasenhagen 66 E
> > > 2020 Skedsmokorset
> > > NORWAY
> > > Direct and Mobile +47 41 44 29 57
> > > Tel (private): +47 64 83 09 08
> > > Fax +47 64 83 08 07
> > > www.aeinehchi.com
> > >
> > > ----- Original Message -----
> > > From: "peter royal" <pr...@pace2020.com>
> > > To: "Avalon Developers List" <de...@avalon.apache.org>
> > > Sent: Wednesday, April 21, 2004 11:27 PM
> > > Subject: Re: Event mechanism in Merlin
> > >
> > >
> > > > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > > > Over on the directory side we're actually using subversion but
> > > > > here's the link to the repo:
> > > > >
> > > > >
http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > > > frontend/eve
> > > > > nt/?root=Apache-SVN
> > > > >
> > > > > Oh and BTW this is just another component - although I'd like
to
> > > > > explore
> > > > > the use of it as a facility.  Just don't seem to have the time
at
> > the
> > > > > moment
> > > > > while working to get Eve out of the incubator.
> > > >
> > > > That's also pretty similar to the event package that was part of
> > > > cornerstone..
> > > >
> > > >
http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> > > >
> >
apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > > > rev=1.9&hideattic=0&view=auto
> > > >
> > > > -pete
> > > >
> > > >
> > > >
> >
---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > > For additional commands, e-mail: dev-help@avalon.apache.org
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Merlin Developer Plugin (was RE: Event mechanism in Merlin)

Posted by Alex Karasulu <ao...@bellsouth.net>.
Andreas do you have any screenshots of it.  I need to get off my butt and
install this however for now I can just look at it.  

FYI I think Nader was looking for a subversion plugin.

Alex

> -----Original Message-----
> From: Andreas Oberhack [mailto:develop@softwarefabrik.biz]
> Sent: Thursday, April 22, 2004 1:04 AM
> To: 'Avalon Developers List'
> Subject: RE: Event mechanism in Merlin
> 
> To install the binaray installation see:
> 
> http://www.apache.org/~oberhack/eclipse/docs/index.htm
> 
> Andreas
> 
> > -----Original Message-----
> > From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> > Sent: Mittwoch, 21. April 2004 23:41
> > To: Avalon Developers List
> > Subject: Re: Event mechanism in Merlin
> >
> > Thanks
> >
> > But I am trying from eClipse CVS client to check out the code.  How do
> I
> > do
> > it?
> > Best Regards
> >
> > --
> > Nader Aeinehchi
> > Aasenhagen 66 E
> > 2020 Skedsmokorset
> > NORWAY
> > Direct and Mobile +47 41 44 29 57
> > Tel (private): +47 64 83 09 08
> > Fax +47 64 83 08 07
> > www.aeinehchi.com
> >
> > ----- Original Message -----
> > From: "peter royal" <pr...@pace2020.com>
> > To: "Avalon Developers List" <de...@avalon.apache.org>
> > Sent: Wednesday, April 21, 2004 11:27 PM
> > Subject: Re: Event mechanism in Merlin
> >
> >
> > > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > > Over on the directory side we're actually using subversion but
> > > > here's the link to the repo:
> > > >
> > > > http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > > frontend/eve
> > > > nt/?root=Apache-SVN
> > > >
> > > > Oh and BTW this is just another component - although I'd like to
> > > > explore
> > > > the use of it as a facility.  Just don't seem to have the time at
> the
> > > > moment
> > > > while working to get Eve out of the incubator.
> > >
> > > That's also pretty similar to the event package that was part of
> > > cornerstone..
> > >
> > > http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> > >
> apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > > rev=1.9&hideattic=0&view=auto
> > >
> > > -pete
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Andreas Oberhack <de...@softwarefabrik.biz>.
To install the binaray installation see:

http://www.apache.org/~oberhack/eclipse/docs/index.htm

Andreas

> -----Original Message-----
> From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> Sent: Mittwoch, 21. April 2004 23:41
> To: Avalon Developers List
> Subject: Re: Event mechanism in Merlin
> 
> Thanks
> 
> But I am trying from eClipse CVS client to check out the code.  How do
I
> do
> it?
> Best Regards
> 
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com
> 
> ----- Original Message -----
> From: "peter royal" <pr...@pace2020.com>
> To: "Avalon Developers List" <de...@avalon.apache.org>
> Sent: Wednesday, April 21, 2004 11:27 PM
> Subject: Re: Event mechanism in Merlin
> 
> 
> > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > Over on the directory side we're actually using subversion but
> > > here's the link to the repo:
> > >
> > > http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > frontend/eve
> > > nt/?root=Apache-SVN
> > >
> > > Oh and BTW this is just another component - although I'd like to
> > > explore
> > > the use of it as a facility.  Just don't seem to have the time at
the
> > > moment
> > > while working to get Eve out of the incubator.
> >
> > That's also pretty similar to the event package that was part of
> > cornerstone..
> >
> > http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> >
apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > rev=1.9&hideattic=0&view=auto
> >
> > -pete
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Jim Bearce <ji...@bearce.us>.
You can also use the Subclipse plugin from:

http://subclipse.tigris.org/

You can set the repository to http://svn.apache.org/repos/asf/incubator 
and then from the Subversion perspective look at the repository, 
right-click on directory and check-out as project.

Alex Karasulu wrote:

>Nader,
>
>Don't think the CVS client for eclipse will work.  Your best bet is 
>to go command line or install that tortoise svn thingy.  I only trust
>the command line myself.
>
>Here's a link that explains how you could do that.  Plus Nader I 
>switched the mailing list on you so we don't take Avalon mailspace.
>
>http://incubator.apache.org/directory/svn.html
>
>Alex
>
>  
>
>>-----Original Message-----
>>From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
>>Sent: Wednesday, April 21, 2004 5:41 PM
>>To: Avalon Developers List
>>Subject: Re: Event mechanism in Merlin
>>
>>Thanks
>>
>>But I am trying from eClipse CVS client to check out the code.  How do I
>>do
>>it?
>>Best Regards
>>
>>--
>>Nader Aeinehchi
>>Aasenhagen 66 E
>>2020 Skedsmokorset
>>NORWAY
>>Direct and Mobile +47 41 44 29 57
>>Tel (private): +47 64 83 09 08
>>Fax +47 64 83 08 07
>>www.aeinehchi.com
>>
>>----- Original Message -----
>>From: "peter royal" <pr...@pace2020.com>
>>To: "Avalon Developers List" <de...@avalon.apache.org>
>>Sent: Wednesday, April 21, 2004 11:27 PM
>>Subject: Re: Event mechanism in Merlin
>>
>>
>>    
>>
>>>On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
>>>      
>>>
>>>>Over on the directory side we're actually using subversion but
>>>>here's the link to the repo:
>>>>
>>>>http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
>>>>frontend/eve
>>>>nt/?root=Apache-SVN
>>>>
>>>>Oh and BTW this is just another component - although I'd like to
>>>>explore
>>>>the use of it as a facility.  Just don't seem to have the time at the
>>>>moment
>>>>while working to get Eve out of the incubator.
>>>>        
>>>>
>>>That's also pretty similar to the event package that was part of
>>>cornerstone..
>>>
>>>http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
>>>apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
>>>rev=1.9&hideattic=0&view=auto
>>>
>>>-pete
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>>>For additional commands, e-mail: dev-help@avalon.apache.org
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>>For additional commands, e-mail: dev-help@avalon.apache.org
>>    
>>
>
>
>
>
>  
>

RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.
Nader,

Don't think the CVS client for eclipse will work.  Your best bet is 
to go command line or install that tortoise svn thingy.  I only trust
the command line myself.

Here's a link that explains how you could do that.  Plus Nader I 
switched the mailing list on you so we don't take Avalon mailspace.

http://incubator.apache.org/directory/svn.html

Alex

> -----Original Message-----
> From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> Sent: Wednesday, April 21, 2004 5:41 PM
> To: Avalon Developers List
> Subject: Re: Event mechanism in Merlin
> 
> Thanks
> 
> But I am trying from eClipse CVS client to check out the code.  How do I
> do
> it?
> Best Regards
> 
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com
> 
> ----- Original Message -----
> From: "peter royal" <pr...@pace2020.com>
> To: "Avalon Developers List" <de...@avalon.apache.org>
> Sent: Wednesday, April 21, 2004 11:27 PM
> Subject: Re: Event mechanism in Merlin
> 
> 
> > On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > > Over on the directory side we're actually using subversion but
> > > here's the link to the repo:
> > >
> > > http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > > frontend/eve
> > > nt/?root=Apache-SVN
> > >
> > > Oh and BTW this is just another component - although I'd like to
> > > explore
> > > the use of it as a facility.  Just don't seem to have the time at the
> > > moment
> > > while working to get Eve out of the incubator.
> >
> > That's also pretty similar to the event package that was part of
> > cornerstone..
> >
> > http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> > apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> > rev=1.9&hideattic=0&view=auto
> >
> > -pete
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org




Re: Event mechanism in Merlin

Posted by Nader Aeinehchi <na...@aeinehchi.com>.
Thanks

But I am trying from eClipse CVS client to check out the code.  How do I do
it?
Best Regards

--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com

----- Original Message -----
From: "peter royal" <pr...@pace2020.com>
To: "Avalon Developers List" <de...@avalon.apache.org>
Sent: Wednesday, April 21, 2004 11:27 PM
Subject: Re: Event mechanism in Merlin


> On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> > Over on the directory side we're actually using subversion but
> > here's the link to the repo:
> >
> > http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/
> > frontend/eve
> > nt/?root=Apache-SVN
> >
> > Oh and BTW this is just another component - although I'd like to
> > explore
> > the use of it as a facility.  Just don't seem to have the time at the
> > moment
> > while working to get Eve out of the incubator.
>
> That's also pretty similar to the event package that was part of
> cornerstone..
>
> http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/
> apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java?
> rev=1.9&hideattic=0&view=auto
>
> -pete
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by peter royal <pr...@pace2020.com>.
On Apr 21, 2004, at 5:22 PM, Alex Karasulu wrote:
> Over on the directory side we're actually using subversion but
> here's the link to the repo:
>
> http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/ 
> frontend/eve
> nt/?root=Apache-SVN
>
> Oh and BTW this is just another component - although I'd like to  
> explore
> the use of it as a facility.  Just don't seem to have the time at the  
> moment
> while working to get Eve out of the incubator.

That's also pretty similar to the event package that was part of  
cornerstone..

http://cvs.apache.org/viewcvs.cgi/avalon-components/src/java/org/ 
apache/avalon/cornerstone/blocks/event/Attic/DefaultEventManager.java? 
rev=1.9&hideattic=0&view=auto

-pete


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.
Nader,

Over on the directory side we're actually using subversion but 
here's the link to the repo:

http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/frontend/eve
nt/?root=Apache-SVN

Oh and BTW this is just another component - although I'd like to explore
the use of it as a facility.  Just don't seem to have the time at the moment
while working to get Eve out of the incubator.

Cheers,
Alex


> -----Original Message-----
> From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> Sent: Wednesday, April 21, 2004 5:15 PM
> To: Avalon Developers List
> Subject: Re: Event mechanism in Merlin
> 
> Hello
> 
> Could someone tell me the CVS location of the event component in eve
> project?
> 
> Thanks.
> 
> Best Regards
> 
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com
> 
> ----- Original Message -----
> From: "Nader Aeinehchi" <na...@aeinehchi.com>
> To: "Avalon Developers List" <de...@avalon.apache.org>
> Sent: Friday, April 09, 2004 11:18 PM
> Subject: Re: Event mechanism in Merlin
> 
> 
> > 1. Please forgive me for my ignorance, but is the difference facility
> and
> > custom lifecycle extension?  What is a facility?
> >
> >
> > > To me, an event-driven component
> > > is a kissing cousin to a message-driven component, so I think a merlin
> > > plug-in facility would handle this quite nicely.
> >
> > 2. Just for clarity, we are talking about asynchronous messages among
> > various objects and components? Are not we?
> >
> > 3. In Jini, there is Distributed Events.  Is this something that should
> be
> > taken into consideration to handle events among various JVMs?
> >
> >
> >
> >
> > Best Regards
> >
> > --
> > Nader Aeinehchi
> > Aasenhagen 66 E
> > 2020 Skedsmokorset
> > NORWAY
> > Direct and Mobile +47 41 44 29 57
> > Tel (private): +47 64 83 09 08
> > Fax +47 64 83 08 07
> > www.aeinehchi.com
> >
> > ----- Original Message -----
> > From: "Timothy Bennett" <ex...@comcast.net>
> > To: <de...@avalon.apache.org>
> > Sent: Friday, April 09, 2004 9:23 PM
> > Subject: Re: Event mechanism in Merlin
> >
> >
> > > Alex Karasulu wrote:
> > >
> > > >>-----Original Message-----
> > > >>From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
> > > >>Sent: Friday, April 09, 2004 2:59 PM
> > > >>To: dev@avalon.apache.org
> > > >>Subject: Re: Event mechanism in Merlin
> > > >>
> > > >>Alex Karasulu wrote:
> > > >>
> > > >>
> > > >>>What do you think about creating a custom lifecycle for the
> subscribe
> > > >>>Operation on this event router/bus concept.  BTW Berin has already
> done
> > > >>>this with GUIApp but I'd like to see this sort of thing make its
> way
> > > >>>into Merlin.
> > > >>>
> > > >>
> > > >>Alex, IMO I think this is better done as a facility instead of a
> custom
> > > >>lifecycle extension.  In the way that we are doing HTTP-driven
> > > >>components and (JMS) message-driven components using facilities, I
> think
> > > >>a facility to implement event-driven components is a good candidate.
> > > >
> > > >
> > > > Hmmm that does make more sense.  I think I agree with you.
> > > >
> > > > Alex
> > >
> > > This is basically the path that will be (is being) taken with Aaron's
> > > MDS (Message-Driven Service) stuff.  In it's first incarnation, MDS
> was
> > > an Avalon framework lifecycle extension that basically allowed you to
> > > define a special custom component that was *triggered* by a JMS
> message.
> > >   Good stuff and I used it some in the pre-3.2.x Merlin distros.
> > >
> > > With the advent of the facility capabilities in the more recent Merlin
> > > versions, Aaron has thrown the MDS stuff into the facilities arena,
> and
> > > we plan to implement an MDS facility.  To me, an event-driven
> component
> > > is a kissing cousin to a message-driven component, so I think a merlin
> > > plug-in facility would handle this quite nicely.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > > For additional commands, e-mail: dev-help@avalon.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Nader Aeinehchi <na...@aeinehchi.com>.
Hello

Could someone tell me the CVS location of the event component in eve
project?

Thanks.

Best Regards

--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com

----- Original Message -----
From: "Nader Aeinehchi" <na...@aeinehchi.com>
To: "Avalon Developers List" <de...@avalon.apache.org>
Sent: Friday, April 09, 2004 11:18 PM
Subject: Re: Event mechanism in Merlin


> 1. Please forgive me for my ignorance, but is the difference facility and
> custom lifecycle extension?  What is a facility?
>
>
> > To me, an event-driven component
> > is a kissing cousin to a message-driven component, so I think a merlin
> > plug-in facility would handle this quite nicely.
>
> 2. Just for clarity, we are talking about asynchronous messages among
> various objects and components? Are not we?
>
> 3. In Jini, there is Distributed Events.  Is this something that should be
> taken into consideration to handle events among various JVMs?
>
>
>
>
> Best Regards
>
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com
>
> ----- Original Message -----
> From: "Timothy Bennett" <ex...@comcast.net>
> To: <de...@avalon.apache.org>
> Sent: Friday, April 09, 2004 9:23 PM
> Subject: Re: Event mechanism in Merlin
>
>
> > Alex Karasulu wrote:
> >
> > >>-----Original Message-----
> > >>From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
> > >>Sent: Friday, April 09, 2004 2:59 PM
> > >>To: dev@avalon.apache.org
> > >>Subject: Re: Event mechanism in Merlin
> > >>
> > >>Alex Karasulu wrote:
> > >>
> > >>
> > >>>What do you think about creating a custom lifecycle for the subscribe
> > >>>Operation on this event router/bus concept.  BTW Berin has already
done
> > >>>this with GUIApp but I'd like to see this sort of thing make its way
> > >>>into Merlin.
> > >>>
> > >>
> > >>Alex, IMO I think this is better done as a facility instead of a
custom
> > >>lifecycle extension.  In the way that we are doing HTTP-driven
> > >>components and (JMS) message-driven components using facilities, I
think
> > >>a facility to implement event-driven components is a good candidate.
> > >
> > >
> > > Hmmm that does make more sense.  I think I agree with you.
> > >
> > > Alex
> >
> > This is basically the path that will be (is being) taken with Aaron's
> > MDS (Message-Driven Service) stuff.  In it's first incarnation, MDS was
> > an Avalon framework lifecycle extension that basically allowed you to
> > define a special custom component that was *triggered* by a JMS message.
> >   Good stuff and I used it some in the pre-3.2.x Merlin distros.
> >
> > With the advent of the facility capabilities in the more recent Merlin
> > versions, Aaron has thrown the MDS stuff into the facilities arena, and
> > we plan to implement an MDS facility.  To me, an event-driven component
> > is a kissing cousin to a message-driven component, so I think a merlin
> > plug-in facility would handle this quite nicely.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> > For additional commands, e-mail: dev-help@avalon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Stephen McConnell <mc...@apache.org>.
Nader Aeinehchi wrote:

> 1. Please forgive me for my ignorance, but is the difference facility and
> custom lifecycle extension?

A lifecycle extension is an addition plug-in stage that a component type 
can implement.  An extension interface must be declared and implemented 
by a component and the container locates another component to handle the 
stage during lifecycle processing.

> What is a facility?

A facility is a regular component that request access to the containment 
model (org.apache.avalon.composition.model.ContainmentModel).  With 
access to the model it is possible to all sorts of things - add new 
component models, inspect existing models, deploy components, shutdown 
components - reload entire containers, etc.

Basically a facility is a component that can totally change the behavior 
of the system.  For example the http facility dynamically scans the 
model looking for components that can handle http requests and 
automatically registers them with a http gateway.  The jmx facility 
scans component types for MBeans and registers them with a MBean server.

Here is an example that shows a component that access the containment model:

    /**
     * Creation of a new facility.
     *
     * @param context the supplied context
     * @avalon.entry key="urn:composition:containment.model"
     *    type="org.apache.avalon.composition.model.ContainmentModel"
     * @exception ContextException if a contextualization error occurs
     */
     public DemoFacility( final Logger logger, Context context )
       throws ContextException
     {
         m_logger = logger;
         m_model = (ContainmentModel) context.get(
            "urn:composition:containment.model" );
     }

Cheers, Steve.


> 
>>To me, an event-driven component
>>is a kissing cousin to a message-driven component, so I think a merlin
>>plug-in facility would handle this quite nicely.
> 
> 
> 2. Just for clarity, we are talking about asynchronous messages among
> various objects and components? Are not we?
> 
> 3. In Jini, there is Distributed Events.  Is this something that should be
> taken into consideration to handle events among various JVMs?
> 
> 
> 
> 
> Best Regards
> 
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com
> 
> ----- Original Message -----
> From: "Timothy Bennett" <ex...@comcast.net>
> To: <de...@avalon.apache.org>
> Sent: Friday, April 09, 2004 9:23 PM
> Subject: Re: Event mechanism in Merlin
> 
> 
> 
>>Alex Karasulu wrote:
>>
>>
>>>>-----Original Message-----
>>>>From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
>>>>Sent: Friday, April 09, 2004 2:59 PM
>>>>To: dev@avalon.apache.org
>>>>Subject: Re: Event mechanism in Merlin
>>>>
>>>>Alex Karasulu wrote:
>>>>
>>>>
>>>>
>>>>>What do you think about creating a custom lifecycle for the subscribe
>>>>>Operation on this event router/bus concept.  BTW Berin has already done
>>>>>this with GUIApp but I'd like to see this sort of thing make its way
>>>>>into Merlin.
>>>>>
>>>>
>>>>Alex, IMO I think this is better done as a facility instead of a custom
>>>>lifecycle extension.  In the way that we are doing HTTP-driven
>>>>components and (JMS) message-driven components using facilities, I think
>>>>a facility to implement event-driven components is a good candidate.
>>>
>>>
>>>Hmmm that does make more sense.  I think I agree with you.
>>>
>>>Alex
>>
>>This is basically the path that will be (is being) taken with Aaron's
>>MDS (Message-Driven Service) stuff.  In it's first incarnation, MDS was
>>an Avalon framework lifecycle extension that basically allowed you to
>>define a special custom component that was *triggered* by a JMS message.
>>  Good stuff and I used it some in the pre-3.2.x Merlin distros.
>>
>>With the advent of the facility capabilities in the more recent Merlin
>>versions, Aaron has thrown the MDS stuff into the facilities arena, and
>>we plan to implement an MDS facility.  To me, an event-driven component
>>is a kissing cousin to a message-driven component, so I think a merlin
>>plug-in facility would handle this quite nicely.
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
>>For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org
> 
> 


-- 

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/merlin/distributions/latest    |
|------------------------------------------------|

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.
I meant ComponentModel below sorry.

> -----Original Message-----
> From: Alex Karasulu [mailto:aok123@bellsouth.net]
> Sent: Saturday, April 10, 2004 12:14 PM
> To: 'Avalon Developers List'
> Subject: RE: Event mechanism in Merlin
> 
> 
> 
> > -----Original Message-----
> > From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> > Sent: Friday, April 09, 2004 5:18 PM
> > To: Avalon Developers List
> > Subject: Re: Event mechanism in Merlin
> >
> > 1. Please forgive me for my ignorance, but is the difference facility
> and
> > custom lifecycle extension?  What is a facility?
> 
> Steve explained this to me the other day.  It's a component that has
> access
> to the CompositionModel as a special Context.  So it can affect other
> components and provide services for other components.
> 
> > > To me, an event-driven component
> > > is a kissing cousin to a message-driven component, so I think a merlin
> > > plug-in facility would handle this quite nicely.
> >
> > 2. Just for clarity, we are talking about asynchronous messages among
> > various objects and components? Are not we?
> 
> I keep things synchronous with events while build SEDA stages that the
> events are enqueued on.  You can always do asynchronous from synchronous
> but
> going synchronous from asynchronous is harder.  I'd keep it simple and
> synchronous.
> 
> > 3. In Jini, there is Distributed Events.  Is this something that should
> be
> > taken into consideration to handle events among various JVMs?
> 
> Maybe but I have not thought that far yet.  I'm just using this for
> decoupling components so I can avoid cyclic dependencies.
> 
> Alex
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.

> -----Original Message-----
> From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> Sent: Friday, April 09, 2004 5:18 PM
> To: Avalon Developers List
> Subject: Re: Event mechanism in Merlin
> 
> 1. Please forgive me for my ignorance, but is the difference facility and
> custom lifecycle extension?  What is a facility?

Steve explained this to me the other day.  It's a component that has access
to the CompositionModel as a special Context.  So it can affect other
components and provide services for other components.

> > To me, an event-driven component
> > is a kissing cousin to a message-driven component, so I think a merlin
> > plug-in facility would handle this quite nicely.
> 
> 2. Just for clarity, we are talking about asynchronous messages among
> various objects and components? Are not we?

I keep things synchronous with events while build SEDA stages that the
events are enqueued on.  You can always do asynchronous from synchronous but
going synchronous from asynchronous is harder.  I'd keep it simple and
synchronous.

> 3. In Jini, there is Distributed Events.  Is this something that should be
> taken into consideration to handle events among various JVMs?

Maybe but I have not thought that far yet.  I'm just using this for
decoupling components so I can avoid cyclic dependencies.  

Alex




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Nader Aeinehchi <na...@aeinehchi.com>.
1. Please forgive me for my ignorance, but is the difference facility and
custom lifecycle extension?  What is a facility?


> To me, an event-driven component
> is a kissing cousin to a message-driven component, so I think a merlin
> plug-in facility would handle this quite nicely.

2. Just for clarity, we are talking about asynchronous messages among
various objects and components? Are not we?

3. In Jini, there is Distributed Events.  Is this something that should be
taken into consideration to handle events among various JVMs?




Best Regards

--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com

----- Original Message -----
From: "Timothy Bennett" <ex...@comcast.net>
To: <de...@avalon.apache.org>
Sent: Friday, April 09, 2004 9:23 PM
Subject: Re: Event mechanism in Merlin


> Alex Karasulu wrote:
>
> >>-----Original Message-----
> >>From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
> >>Sent: Friday, April 09, 2004 2:59 PM
> >>To: dev@avalon.apache.org
> >>Subject: Re: Event mechanism in Merlin
> >>
> >>Alex Karasulu wrote:
> >>
> >>
> >>>What do you think about creating a custom lifecycle for the subscribe
> >>>Operation on this event router/bus concept.  BTW Berin has already done
> >>>this with GUIApp but I'd like to see this sort of thing make its way
> >>>into Merlin.
> >>>
> >>
> >>Alex, IMO I think this is better done as a facility instead of a custom
> >>lifecycle extension.  In the way that we are doing HTTP-driven
> >>components and (JMS) message-driven components using facilities, I think
> >>a facility to implement event-driven components is a good candidate.
> >
> >
> > Hmmm that does make more sense.  I think I agree with you.
> >
> > Alex
>
> This is basically the path that will be (is being) taken with Aaron's
> MDS (Message-Driven Service) stuff.  In it's first incarnation, MDS was
> an Avalon framework lifecycle extension that basically allowed you to
> define a special custom component that was *triggered* by a JMS message.
>   Good stuff and I used it some in the pre-3.2.x Merlin distros.
>
> With the advent of the facility capabilities in the more recent Merlin
> versions, Aaron has thrown the MDS stuff into the facilities arena, and
> we plan to implement an MDS facility.  To me, an event-driven component
> is a kissing cousin to a message-driven component, so I think a merlin
> plug-in facility would handle this quite nicely.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Timothy Bennett <ex...@comcast.net>.
Alex Karasulu wrote:

>>-----Original Message-----
>>From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
>>Sent: Friday, April 09, 2004 2:59 PM
>>To: dev@avalon.apache.org
>>Subject: Re: Event mechanism in Merlin
>>
>>Alex Karasulu wrote:
>>
>>
>>>What do you think about creating a custom lifecycle for the subscribe
>>>Operation on this event router/bus concept.  BTW Berin has already done
>>>this with GUIApp but I'd like to see this sort of thing make its way
>>>into Merlin.
>>>
>>
>>Alex, IMO I think this is better done as a facility instead of a custom
>>lifecycle extension.  In the way that we are doing HTTP-driven
>>components and (JMS) message-driven components using facilities, I think
>>a facility to implement event-driven components is a good candidate.
> 
> 
> Hmmm that does make more sense.  I think I agree with you.
> 
> Alex

This is basically the path that will be (is being) taken with Aaron's 
MDS (Message-Driven Service) stuff.  In it's first incarnation, MDS was 
an Avalon framework lifecycle extension that basically allowed you to 
define a special custom component that was *triggered* by a JMS message. 
  Good stuff and I used it some in the pre-3.2.x Merlin distros.

With the advent of the facility capabilities in the more recent Merlin 
versions, Aaron has thrown the MDS stuff into the facilities arena, and 
we plan to implement an MDS facility.  To me, an event-driven component 
is a kissing cousin to a message-driven component, so I think a merlin 
plug-in facility would handle this quite nicely.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of Timothy Bennett
> Sent: Friday, April 09, 2004 2:59 PM
> To: dev@avalon.apache.org
> Subject: Re: Event mechanism in Merlin
> 
> Alex Karasulu wrote:
> 
> >
> > What do you think about creating a custom lifecycle for the subscribe
> > Operation on this event router/bus concept.  BTW Berin has already done
> > this with GUIApp but I'd like to see this sort of thing make its way
> > into Merlin.
> >
> 
> Alex, IMO I think this is better done as a facility instead of a custom
> lifecycle extension.  In the way that we are doing HTTP-driven
> components and (JMS) message-driven components using facilities, I think
> a facility to implement event-driven components is a good candidate.

Hmmm that does make more sense.  I think I agree with you.

Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Timothy Bennett <ex...@comcast.net>.
Alex Karasulu wrote:

> 
> What do you think about creating a custom lifecycle for the subscribe
> Operation on this event router/bus concept.  BTW Berin has already done 
> this with GUIApp but I'd like to see this sort of thing make its way 
> into Merlin.
> 

Alex, IMO I think this is better done as a facility instead of a custom 
lifecycle extension.  In the way that we are doing HTTP-driven 
components and (JMS) message-driven components using facilities, I think 
a facility to implement event-driven components is a good candidate.

Timothy


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.
> 3. By the way, a Router is a more appropriate word than Hub because of the
> filtering capability.

Hmmm I never thought about it like that.  A very good point.  

Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Re: Event mechanism in Merlin

Posted by Nader Aeinehchi <na...@aeinehchi.com>.
Hi Alex

I took a fast look at the interfaces and the implementation of EventRouter,
Subscriber, ....

1. Pretty interesting.  The way they have handled it is very similar to the
way we have done it in a customer project.
Basically, there is a Hub(here a Router) and a set of Spokes (nodes) around
the Hub.  Each spoke may be Subscriber and/or Publisher of events.
I guess the guys have made a simplification where each Publisher is also a
Subscriber, that is exactly the same experience we got in our customer
project.

This model offers these benefits:

a. scalability: you can almost add infinite number of Spokes to a Hub
b.loose coupling:  there is a loose coupling among Spokes in constrast to
Observer and Observable pattern where observers must know about know a
specific observable
c. fire and forget: events are fired into the Hub.  Publishers does not care
that which Subscribers are going to receive the event
d. type of event: Subscribers are notified about certain type of events that
they are interested in
d. filtering: additional filtering....
e. Hubs can connect to other Hubs (like network hubs).
f. Container wide Hubs: such Hubs can be created to handle events within a
container
g.  Local Hubs: can handle events for a cluster of related objects, e.g. a
panels within a Wizard may be interested in send events to each other in an
isolated environment
h. Security: it is possible to enforce security on all or certain event
types.  This is very highly interesting where the communication among
various objects must be secured.
E.g. consider a menu item that publishes an event into the Hub which in turn
is received by CommandManager.  Here Menu and CommandManager are Spokes.
Now, CommandManager may call a Command that makes a server call.  Suppose
the user were not allowed to use such an event.  Well, either Hub could
simply filter this event, or
CommandManager could ignore this event for this user.

2. I did not spend much time to really dig into their interfaces and
implementation.  At this moment, I am Newbie to Merlin and trying to
understand how to write a simple application with it....

3. By the way, a Router is a more appropriate word than Hub because of the
filtering capability.


Best Regards

--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com

----- Original Message -----
From: "Alex Karasulu" <ao...@bellsouth.net>
To: "'Avalon Developers List'" <de...@avalon.apache.org>
Sent: Friday, April 09, 2004 4:11 PM
Subject: RE: Event mechanism in Merlin


> Nader check this out:
>
>
http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/frontend/eve
> nt/?root=Apache-SVN
>
> namely look at the SPI for the service interfaces then the pojo impl.
> The merlin-impl is just a POJO wrapper for Merlin.
>
> What do you think about creating a custom lifecycle for the subscribe
> Operation on this event router/bus concept.  BTW Berin has already done
> this with GUIApp but I'd like to see this sort of thing make its way
> into Merlin.
>
> Cheers,
> Alex
>
> > -----Original Message-----
> > From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> > Sent: Friday, April 09, 2004 5:00 AM
> > To: Avalon Developers List
> > Subject: Event mechanism in Merlin
> >
> > Hi
> >
> > - I wonder if any special approach has been taken in Merlin to handle
> > events?
> > - Are events handled based on usual Java event mechanism?
> > - Observer and Observable pattern?
> > - Are alternative even mechanisms been discussed/used like Hub and Spoke
> > or Event Bus?
> >
> > Thanks.
> >
> >
> > Best Regards
> >
> > --
> > Nader Aeinehchi
> > Aasenhagen 66 E
> > 2020 Skedsmokorset
> > NORWAY
> > Direct and Mobile +47 41 44 29 57
> > Tel (private): +47 64 83 09 08
> > Fax +47 64 83 08 07
> > www.aeinehchi.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
> For additional commands, e-mail: dev-help@avalon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


RE: Event mechanism in Merlin

Posted by Alex Karasulu <ao...@bellsouth.net>.
Nader check this out:

http://cvs.apache.org/viewcvs.cgi/incubator/directory/eve/trunk/frontend/eve
nt/?root=Apache-SVN

namely look at the SPI for the service interfaces then the pojo impl.
The merlin-impl is just a POJO wrapper for Merlin.  

What do you think about creating a custom lifecycle for the subscribe
Operation on this event router/bus concept.  BTW Berin has already done 
this with GUIApp but I'd like to see this sort of thing make its way 
into Merlin.

Cheers,
Alex

> -----Original Message-----
> From: Nader Aeinehchi [mailto:nader@aeinehchi.com]
> Sent: Friday, April 09, 2004 5:00 AM
> To: Avalon Developers List
> Subject: Event mechanism in Merlin
> 
> Hi
> 
> - I wonder if any special approach has been taken in Merlin to handle
> events?
> - Are events handled based on usual Java event mechanism?
> - Observer and Observable pattern?
> - Are alternative even mechanisms been discussed/used like Hub and Spoke
> or Event Bus?
> 
> Thanks.
> 
> 
> Best Regards
> 
> --
> Nader Aeinehchi
> Aasenhagen 66 E
> 2020 Skedsmokorset
> NORWAY
> Direct and Mobile +47 41 44 29 57
> Tel (private): +47 64 83 09 08
> Fax +47 64 83 08 07
> www.aeinehchi.com




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org