Thursday, February 23, 2006

JAIN-SIP and 1 SipListener

After doing a huge Google search I think I've found my answer. There is 1 SipStack per IP. There is 1 SipListener per SipStack (for ALL SipProviders, not EACH SipProvider). So, for SipUnit to work, we need it to listen on 127.0.0.1 and the module to run on the external address.

I don't know why JAIN-SIP was architected this way but it makes me feel uneasy.

Friday, December 09, 2005

APP-INF, WEB-INF, META-INF

I can never remember how these things work so i'm writing them down here.

EAR/
  • APP-INF/ - whatever is in here is in the classpath
    • lib/ - jar files
    • classes/ - class files & log4j.xml
  • META-INF/ - deployment descriptors
  • wars and ejb-jars - but teh META-INF/application.xml is what knows about it

WAR
  • WEB-INF/ - like APP-INF and META-INF combined
    • lib/ -jar files
    • classes/ - class files & log4j.xml?
    • web.xml and othe rdeployment descriptors