[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread poojac20
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

[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread robisz
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=bbop=viewtopicp=3852871#3852871 Reply

[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-27 Thread poojac20
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

[JBoss-user] [HTTPD, Servlets JSP] - Re: Posting Again: Can Servlet automatically listen to user-

2004-10-26 Thread robisz
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