The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: Web Service Events

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Last Post: Apr 8, 2008 5:53 AM by: manjuka
Markus KARG
Web Service Events
Posted: Apr 6, 2008 9:07 AM
  Click to reply to this thread Reply

I am using JMS quite heavily in my application to be able to push events
asynchronously from server to clients. This prevents a lot of polling.
Now with the advent of WS-* support in GlassFish, I was wondering
whether there is a WS-* based replacement for JMS. My idea is to just
write some kind of annotation like "@WebServiceEventListener" to mark a
client as beeing interested in getting asynchronous events. In the end,
even a MDB could become WebService-triggered instead of JMS-triggered.
Is something like that existing in GlassFish, or at least planned for
the future?

Thanks
Markus

--
http://www.xing.com/go/invita/58469

[smime.p7s]


jwenting

Posts: 478
Re: Web Service Events
Posted: Apr 7, 2008 7:16 AM   in response to: Markus KARG
  Click to reply to this thread Reply

JMS and web services are 2 different and separate entities, serving different and separate purposes.

WS is NOT a replacement for JMS.

sauvage

Posts: 65
Re: Web Service Events
Posted: Apr 7, 2008 7:31 AM   in response to: jwenting
  Click to reply to this thread Reply

WS-Notification http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsn provides similar features in the WS landscape. The only implementation I heard about is in Apache ServiceMix.

Markus KARG
Re: Web Service Events
Posted: Apr 7, 2008 9:13 AM   in response to: sauvage
  Click to reply to this thread Reply

So is there any activity (at least planned) in GlassFish to support
WS-Notification?

glassfish@javadesktop.org schrieb:
> WS-Notification http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsn provides similar features in the WS landscape. The only implementation I heard about is in Apache ServiceMix.
> [Message sent by forum member 'sauvage' (sauvage)]
>
> http://forums.java.net/jive/thread.jspa?messageID=267986
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>


--
http://www.xing.com/go/invita/58469

[smime.p7s]


Eduardo Pelegri...
Re: Web Service Events
Posted: Apr 7, 2008 5:18 PM   in response to: Markus KARG
  Click to reply to this thread Reply

wiseman.dev.java.net supports this. But ask the question to the USERS @
Metro.dev.java.net or Wiseman.dev.java.net for the details

Markus KARG wrote:
> So is there any activity (at least planned) in GlassFish to support
> WS-Notification?
>
> glassfish@javadesktop.org schrieb:
>> WS-Notification
>> http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=wsn
>> provides similar features in the WS landscape. The only implementation
>> I heard about is in Apache ServiceMix.
>> [Message sent by forum member 'sauvage' (sauvage)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=267986
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net


Markus KARG
Re: Web Service Events
Posted: Apr 7, 2008 9:12 AM   in response to: jwenting
  Click to reply to this thread Reply

See it from the perspective of the high level application designer: I
want a technology for pushing information from server to client
asynchronously. Currently the only standard way is JMS. WS-Eventing
seems to be something targeting in the same direction. So despite the
technical details, it serves a similar purpose.

glassfish@javadesktop.org schrieb:
> JMS and web services are 2 different and separate entities, serving different and separate purposes.
>
> WS is NOT a replacement for JMS.
> [Message sent by forum member 'jwenting' (jwenting)]
>
> http://forums.java.net/jive/thread.jspa?messageID=267982
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>


--
http://www.xing.com/go/invita/58469

[smime.p7s]


manjuka

Posts: 18
Re: Web Service Events
Posted: Apr 8, 2008 2:03 AM   in response to: Markus KARG
  Click to reply to this thread Reply

WS-Addressing allows you to specify a 'reply-to' address in the message. Not sure abuot the implementation status in Metro or Glassfish.




 XML java.net RSS