users@glassfish.java.net

Re: create UDP server with glassfish/ejb

From: Daniel H. Cavalcanti <dhcavalcanti_at_gmail.com>
Date: Thu, 30 Aug 2007 09:10:36 -0400

If you'd like to perform this inside GlassFish, I think you could do it
with Lifecycle modules, which gets started and shutdown with glassfish
and runs in its context, so you could send JMS messages.
Or you could do just as you suggested, as a standalone program.

glassfish_at_javadesktop.org wrote:
> Hi,
> I have a mobile application that's using GPRS to send UDP messages to an IP address - wast amount of ~1K text messages every second.
> I want to create a UDP server app using the JAVA EE technology.After getting the messages over UDP, I would like to convert them to JMS messages and place them in a queue for message-driven beans to pick them up one by one.
> Now, I'm not sure if I can do this with Glassfish .
> Can I somehow open a UDP port and listen for messages ?
> Or should I rather make a Java SE app which receives messages from client and passes them into the application server message queue?
>
> Thanks a lot !!
>
> Ivan
> [Message sent by forum member 'cyvan' (cyvan)]
>
> http://forums.java.net/jive/thread.jspa?messageID=233179
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>