As I understand it, a web container communicates with an ejb container through JNDI. However, I have seen downloads that "make Tomcat/Jetty work with JBoss". What kind of functionality does this code provide? Is there something more to getting web containers to talk to app servers other than JNDI?