Mark,
I may be completely missing something here but as it stands today, I don't
think that the bean instance itself can "be a JMS client" and receive
messages directly from JMS (i.e., bypassing the EJB Object) and I don't
know of any way to "make the EJB Object" the JMS client. To have JMS "send
messages to a bean", I think that you would need some "intermediate object"
to act as the JMS client and invoke the method on the bean (through the EJB
Object). If there is a better way, please enlighten me!
Hopefully, Sun will eventually work this out in a future version of the
specification so that we can eliminate the need for the intermediate object
(unless you already have a way to do this)...
Thanks,
Robert
At 06:59 PM 5/21/99 -0700, you wrote:
>Any Java program or component can be a JMS client and receive messages from
>EJBs or send messages to EJBs (assuming the EJB containers are integrated with
>the JMS provider used by the program).
>
>Chamberlain Steve wrote:
>
>> This example relates to inter-bean communications. Can you comment on
>> whether JMS is also the approved means of passing event notification to
>> non-bean clients? I am surprised that the EJB spec does not prescribe here
>> (I have not read 1.1 yet). I have seen statements to the effect that
>> enterprise beans (unlike non-enterprise beans) do not generally send or
>> receive events; but that is manifestly not true: you only need think of
>> online trading etc.
>>
>> Certainly, attempting to implement the standard Java event model on EJBs
>> does not work too well. Some EJB server providers (e.g. Weblogic) provide
>> their own event services, but presumably not portably. If not JMS, then
>> what?
>>
>> Thanks
>>
>> Steve Chamberlain
>> Schneider Electric
>>
>> ===========================================================================
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>> of the message "signoff EJB-INTEREST". For general help, send email to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".