WEB-INF/web.xml
<web-app xmlns="http://caucho.com/ns/resin"> <!-- - Instantiates the resource. The resource will have its - setData called for the value parameter. - - The resource will be registered with JMX with the test:type=Basic - name. --> <resource mbean-name="example:name=basic" type="example.Basic"> <init> <data>Tutorial Example</data> </init> </resource> </web-app>