Please see documentation about how to write custom webapps

dkuWebAppResource()