Added comments and example usage for tomcat and solr integrations.