The sun-resources.xml file configures application-scoped resources. The element hierarchy is as follows:
resources . custom-resource . . description . . property (with attributes) . . . description . external-jndi-resource . . description . . property (with attributes) . . . description . jdbc-resource . . description . . property (with attributes) . . . description . mail-resource . . description . . property (with attributes) . . . description . admin-object-resource . . description . . property (with attributes) . . . description . connector-resource . . description . . property (with attributes) . . . description . resource-adapter-config . . property (with attributes) . . . description . jdbc-connection-pool . . description . . property (with attributes) . . . description . connector-connection-pool . . description . . security-map . . . principal . . . user-group . . . backend-principal . . property (with attributes) . . . description . work-security-map . . description . . principal-map . . group-map