jsr345-experts@ejb-spec.java.net

[jsr345-experts] Re: [ejb-spec users] Re: MDB improvements?

From: Antonio Goncalves <antonio.goncalves_at_gmail.com>
Date: Sun, 25 Sep 2011 20:36:53 +0200

Coming back to this topic, I'd like to ask a question to Pete (as I'm not
part of CDI 1.1 EG). Is the EG thinking/talking about reliable event
handling (eg. will the event be stored if the node goes down and then fired
as soon as the node goes up) ? Because that's one strenght JMS has and
that's the API to use if you want realiable messages. So the CDI 1.1 (or
1.x) is thinking about that, that could bring CDI and JMS closer and closer.

On Fri, Sep 16, 2011 at 03:10, Reza Rahman <reza_rahman_at_lycos.com> wrote:

> Pete,
>
> I think you'll find that we might be more or less talking about exactly the
> same thing :-). I am still trying to write this up ASAP (might not be done
> until the weekend). Even if we can't get it done this time around, it could
> be a good discussion for when the EJB EG is convened next. The fundamental
> concepts are something I'm discussing in the "The Future of EJB" chapter in
> the current revision of EJB 3 in Action (with no expectations as to future
> standardization).
>
> Cheers,
> Reza
>
>
>
> On 9/15/2011 1:30 PM, Pete Muir wrote:
>
>> Yes, certainly don't want to shut down discussion, I just feel strongly
>> about this ;-)
>>
>> On 15 Sep 2011, at 12:44, Rick Hightower wrote:
>>
>> Regardless of it is a bad way to go or not, it seems worth tabling for
>>> discussion. At least I am interested in hearing about it and how it would be
>>> different/better/worse than CDI events. MDBs are in EJB so improving them
>>> and making them easier to use is in scope IMO.
>>>
>>>
>>> On Wed, Sep 14, 2011 at 7:38 PM, Pete Muir<pmuir_at_bleepbleep.org.uk>
>>> wrote:
>>> I think this would be a bad direction to go in. I think concentrating on
>>> bridging JMS to CDI events would be far more powerful. I'm happy to bring a
>>> proposal to the group if that helps, though I think this is a topic better
>>> for the JMS EG.
>>>
>>> On 12 Sep 2011, at 20:07, Reza Rahman wrote:
>>>
>>> Marina,
>>>>
>>>> I'm a bit tied up at the moment and this could be a lengthy discussion.
>>>> I'll get a detailed proposal to you by tomorrow evening at the latest.
>>>>
>>>> The gist of it is basically decoupling message listeners from
>>>> @MessageDriven so that messages may be consumed by any managed bean method
>>>> (perhaps even a Servlet). I'd also like to see two distinct types of
>>>> listeners -- one specific to JMS and another more generic for JCA. Each
>>>> listener type would also have some powerful DI based features (such as
>>>> automatically unwrapping message payloads, mapping headers to method
>>>> parameters and so on). This is something we designed for Resin but have not
>>>> yet implemented. We do feel is very doable and would be a good
>>>> "modernization" of MDB.
>>>>
>>>> Cheers,
>>>> Reza
>>>>
>>>>
>>>> On 9/12/2011 6:21 PM, Marina Vatkina wrote:
>>>>
>>>>> Reza,
>>>>>
>>>>> There is a plan (stay tuned) to make CMTs available outside EJBs. But
>>>>> how does it affect MDBs in the EJB container?
>>>>>
>>>>> thanks,
>>>>> -marina
>>>>>
>>>>> Reza Rahman wrote:
>>>>>
>>>>>> Marina,
>>>>>>
>>>>>> I think it's hard to have this discussion without starting to talk
>>>>>> about decoupling transactions (and other services) from the EJB component
>>>>>> model. Did you still want to have this discussion now?
>>>>>>
>>>>>> Cheers,
>>>>>> Reza
>>>>>>
>>>>>>
>>>>>> On 9/9/2011 9:11 PM, Marina Vatkina wrote:
>>>>>>
>>>>>>> Experts,
>>>>>>>
>>>>>>> Does any of you have a wish-list for the MDB improvements in the EJB
>>>>>>> spec? This should be a purely EJB related changes, as the JMS 2.0 EG is
>>>>>>> looking carefully at the overall JMS revamp.
>>>>>>>
>>>>>>> thanks,
>>>>>>> -marina
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----
>>>>>>> No virus found in this message.
>>>>>>> Checked by AVG - www.avg.com
>>>>>>> Version: 10.0.1392 / Virus Database: 1520/3886 - Release Date:
>>>>>>> 09/09/11
>>>>>>>
>>>>>>>
>>>>>>>
>>>>> -----
>>>>> No virus found in this message.
>>>>> Checked by AVG - www.avg.com
>>>>> Version: 10.0.1392 / Virus Database: 1520/3893 - Release Date: 09/12/11
>>>>>
>>>>>
>>>>>
>>>
>>>
>>> --
>>> Rick Hightower
>>> (415) 968-9037
>>> Profile
>>>
>>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 10.0.1410 / Virus Database: 1520/3899 - Release Date: 09/15/11
>>
>>
>>
>>
>


-- 
Antonio Goncalves
Software architect and Java Champion
Web site <http://www.antoniogoncalves.org> |
Twitter<http://twitter.com/agoncal>|
Blog <http://feeds.feedburner.com/AntonioGoncalves> |
LinkedIn<http://www.linkedin.com/in/agoncal>| Paris
JUG <http://www.parisjug.org>