Hi Fabrizio, When I wrote this entry on local message buses<http://beust.com/weblog/2010/07/26/local-message-bus/>, somebody posted a comment saying that they had implemented some of these ideas in a github project. Maybe this will be a good starting point.
-- Cédric On Thu, Jul 28, 2011 at 11:58 PM, Fabrizio Giudici < [email protected]> wrote: > Dear JavaPossians, > > I've been using eventbuses for years, but in Swing / NetBeans Platform > applications. Now I need to use one for my webapps (and those of my > customer). There are a few choices around, but so far I can't make a final > choice. My needs are: > > 1. a very simple thing: publish(myObject) and notify(MyClass myObject). The > topic is the class. No more than this. > 2. the capability of having two distinct buses, one in the application > scope and one in the session scope. > 3. Simple integration with Spring. > 4. And possibly the CDI annotations of javax.enterprise.event, that I like. > > CDI's eventbus would be fine for me, but for what I've seen there's no way > to take only that part out of CDI and integrating it in Spring. I think I > could fix point #4 by writing my own Spring annotationprocessor to have a > wrapper around an existing eventbus (but I'm surprised nobody else did that > so far). > > For the rest, so far I haven't found anything simple as I need. I'm tempted > to write my own stuff, which would be just a few lines of code, I bet. But I > can't believe there's nothing like the thing I need out there. > > -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere."vapos > java.net/blog/fabriziogiudici - www.tidalwave.it/people > [email protected] > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to javaposse+unsubscribe@** > googlegroups.com <javaposse%[email protected]>. > For more options, visit this group at http://groups.google.com/** > group/javaposse?hl=en <http://groups.google.com/group/javaposse?hl=en>. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
