上面的代碼在意義上類似于前面討論的 EJB 環境參數。注釋掉的 Web 部署描述符部分后面將需要用于分離容器(Separate Containers)拓撲。The Web deployment descriptor section that is commented out will be needed later for the Separate Containers topology. 假如這三個附加的參數沒有注釋掉,在與此體系結構有關的邏輯將通過該 Servlet 的 init() 方法進行調用。(稍后將對此進行更多的介紹。)第二個代碼片段描述了需要用來建立 Servlet 與 EJB 通信的引用: