how to setup jdbc-realm security inside application by xml files. in tomcat we can use context.xml file to define realms but how can do it by glassfish similar glassfish-resources.xml for jdbc resources
RGDS
The GlassFish Documentation is your friend :-)
The JDBC Realm documentation is here.