B
Bogus Exception
If I'm using a J2EE container, how can I write a server like a UDP
port 515 syslog server that would run in the container? I am guessing
a servlet might be needed, but I don't know how to write a servlet as
a stateless bean.
And besides, a pool of beans all listening to the same port doesn't
sound feasible, either!
So do I need to write a J2SE app that points to a stateless bean, or
use JCA, or? The server and container would be on the same machine, so
I'm hoping to find an elegant example. Perhaps the solution is to find
a way to tell the container to ensure one-and only one-instance are
running at a time?
There are lots of examples of web services, but nothing I've found
(books or online) shows how to accomplish this utilizing J2EE.
If it helps, EJB3 and JBoss....
TIA!
port 515 syslog server that would run in the container? I am guessing
a servlet might be needed, but I don't know how to write a servlet as
a stateless bean.
And besides, a pool of beans all listening to the same port doesn't
sound feasible, either!
So do I need to write a J2SE app that points to a stateless bean, or
use JCA, or? The server and container would be on the same machine, so
I'm hoping to find an elegant example. Perhaps the solution is to find
a way to tell the container to ensure one-and only one-instance are
running at a time?
There are lots of examples of web services, but nothing I've found
(books or online) shows how to accomplish this utilizing J2EE.
If it helps, EJB3 and JBoss....
TIA!