7.4. Wicket DEPLOYMENT mode

Finally, you'll also want to switch into Wicket deployment mode (ie for production). This is done in the normal way, by modifying web.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app ... >

  ...

  <filter>
    <filter-name>wicket.app</filter-name>
    <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
    <init-param>
      <param-name>applicationClassName</param-name>
      <param-value>org.starobjects.wicket.viewer.app.WicketObjectsApplication</param-value>
    </init-param>
    <init-param>
      <param-name>configuration</param-name>
      <param-value>deployment</param-value>
    </init-param>
  </filter>

</web-app>

Doing this also disables Naked Objects "exploration" actions (any action annotated with @Exploration will no longer be visible).