File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes   create UDP server with ejb Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "  create UDP server with ejb " Watch "  create UDP server with ejb " New topic

create UDP server with ejb

ivan matavulj

Joined: Aug 30, 2007
Posts: 1
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 or any other app server.
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 !!

It is sorta covered in the JavaRanch Style Guide.
subject: create UDP server with ejb
Similar Threads
JMS Question
Processing UDP (Radius) and (TCP) SOAP packets
JMS messages not consumed after consuming some messages
listen to events from a servlet in an embedded tomcat
Invoke a seperate application from my Application server