Page tree
Skip to end of metadata
Go to start of metadata

When setting up a new application for use with CrossWorlds remember to:

  • If wanting to load via Maven, add Maven snippet for j2eeenabler to pom.xml (see j2eeenabler and Installing Local Maven Repo)
  • In all cases, ensure j2eeenabler is in WEB-INF/lib folder
  • Review Filter Mappings, Filters and Listener areas for CrossWorlds links

If you wish to set it up manually, just add the following markup to the web.xml:

 <listener>
     <display-name>XWorldsApplicationListener</display-name>
     <listener-class>org.openntf.xworlds.appservers.webapp.XWorldsApplicationListener</listener-class>
 </listener> 
 <filter>
     <filter-name>XWorldsRequestsFilter</filter-name>
     <filter-class>
         org.openntf.xworlds.appservers.webapp.XWorldsRequestsFilter
     </filter-class>
     <async-supported>true</async-supported>
 </filter>
 <filter-mapping>
     <filter-name>XWorldsRequestsFilter</filter-name>
     <url-pattern>/*</url-pattern>
     <dispatcher>REQUEST</dispatcher>
 </filter-mapping>
  • No labels