Actually, I have most of the business logic already available as EJBs.
Hence J2ee as back end is already there.
I need to use these EJBs and am trying to avoid RMI calls through another home-made
server.
And then I also thought IF JBoss can manage multiple sockets/threads/clients on its
own
It's possible to write non-http servlet, but you need an
appropriate servlet container that can handle it.
Are you sure you want to use J2EE?
As I see, all you need is a plain TCP/IP socket.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852871#3852871
Repl
Thanx robisz.
Understood this connector thing now.
But about using HttpURLConnection, in my case, this will not be possible - my client
is a pos terminal which dials on to a modem and which then passes on to some server's
specific port. Including a URL is not possible in this scenario.
I am
You can configure a connector on port 7001.
Check your_jboss_conf/deploy/jbossweb-tomcat50.sar/server.xml.
But if you want to use HttpServlet you must access it through
http protocol, of course. But it can't be a problem. See URL and
HttpURLConnection classes in J2SE API documentation.
View the