users@jms-spec.java.net

[jms-spec users] Fwd: [jsr343-experts] Re: Slides from Devoxx 2011

From: Pete Muir <pmuir_at_bleepbleep.org.uk>
Date: Tue, 6 Dec 2011 09:30:20 +0000

A message from Jurgen on this topic.

AIUI his primary concern is be able to switch from intra-VM -> interVM and vs versa observer/observable pattern without adjusting his business code, simply through configuration. I would tend to agree with him, this is one reason why John, Gavin and I were interested in developing the JMS backend for the CDI event bus.

Begin forwarded message:

> From: Jürgen Krey <juergenkrey_at_yahoo.de>
> Subject: Re: [jms-spec users] [jsr343-experts] Re: Slides from Devoxx 2011
> Date: 6 December 2011 09:03:05 GMT
> To: Pete Muir <pmuir_at_bleepbleep.org.uk>
>
> Hi Pete,
>
> sorry for answering so/too late - due to a stressful client and
> two lessons I'm preparing.
>
> Well, my main point was
> to be able to transparently leverage the intra-VM @Observer model
> to some kind of ipc-based event-/message-passing only by configuration.
>
> Yes throttling may be one aspect of ipc to load-balance workload.
>
> A perfect solution for me includes the ability to switch from intra-vm communication
> to ipc (via jms/ampq) during operation by simply add extra VMs and
> re-route the events to additional (external) processors.
>
> Of course this requires the application to be desgined in a event-based style - which is quite
> different from a rather functional / imperative style. The ideas and principles are
> published as EDA/SEDA architectures...
>
> best regards
> Juergen
>
> ps: what is the EG observers list?
>
>
>
> Am 02.12.2011 13:15, schrieb Pete Muir:
>> Jurgen, could you comment?
>>
>> If you don't want to join the EG observers list, I can forward your reply for you!
>>
>> On 25 Nov 2011, at 17:28, Nigel Deakin wrote:
>>
>>> On 24/11/2011 08:27, Pete Muir wrote:
>>>> On 24 November 2011 00:31, John D. Ament<john.d.ament_at_gmail.com> wrote:
>>>>
>>>>>> * It should be possible to build modular applications in a Java EE
>>>>>> environment which use JMS to distribute work from one module to another.
>>>>>> SEDA-style, perhaps. (This was mentioned at the Java EE BOF)
>>>>>>
>>>>> If you look at my old email regarding integrating CDI's event model, this
>>>>> would be one of the capabilities.
>>>> I chatted to Jurgen, who made this request, after the BOF, and
>>>> suggested he look at this support in Seam JMS as it sound like exactly
>>>> what he was after :-)
>>> He also asked for some kind of "throttling" mechanism (his word) to control the rate at which work was delivered from one component to another. JMS doesn't define throttling or flow control, of course, but it's the kind of thing that JMS might cover in the future.
>>>
>>> It wasn't clear to me what was stopping existing JMS support in Java EE being sufficient for his purposes. Was he looking for more control over the flow of messages (flow control, throttling, load balancing etc) or was he simply looking for a different API? (Jurgen is welcome to join this discussion).
>>>
>>> Nigel
>>