"poojac20" wrote : Hello 
  | 
  | I intend to write a port listener (Which will listen on lets say 7001) . The 
incoming data does not follow any protocol, its just a stream of bytes. After 
analyzing the bytes I need to call EJBs etc. 
  | I can write this listener as an independent daemon and call EJBs on RMI. But I 
want it to be integerated with JBoss so i can use its infra. 
  | 
  | After a lot of research on how to write such a servlet, I gave up. (my data is 
coming from NAC and only server IP and port can be configured there, not url text)  It 
seems, the best approach wud be to copy the way WebService/NamingService etc work? 
Packaged as MBean and listening to another port. Is this line of thinking correct?
  | 
  | I had a look at org.jboss.web.WebService code, If I go with this decision, I'll be 
following its way of functioning/Coding. Again, is this line of thinking correct?
  | 
  | 2 specific questions
  | 1. It IS possible to write a custom service to listen on a port integratedw  with 
JBoss? Right?
  | 2. The Thread Management - Will I have to do it? Or can I use container Thread? 
  | 
  | I'll appreciate any pointers. 
  | 
  | Thank You
  | --- Pooja. 

Where are you in implementing your port listener using MBeans? I'm basically trying to 
do the same. Still struggling with using MBeans since there is no mention of the 
service actually running when JBoss starts up. I've done startup classes in Weblogic 
but cannot get definite way to do it in JBoss.

Thanks,
NF

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848828#3848828

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848828


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to