{"id":16570313,"url":"https://github.com/hadisfr/tomcatsqlite","last_synced_at":"2026-05-07T20:32:28.338Z","repository":{"id":46589650,"uuid":"140197778","full_name":"hadisfr/TomcatSQLite","owner":"hadisfr","description":"a simple example of using SQLite database management system with Apache Tomcat","archived":false,"fork":false,"pushed_at":"2018-07-08T19:48:14.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T01:38:39.806Z","etag":null,"topics":["java","jdbc","sqlite","tomcat"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hadisfr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-08T19:46:48.000Z","updated_at":"2024-05-09T14:23:28.000Z","dependencies_parsed_at":"2022-09-13T17:40:43.372Z","dependency_job_id":null,"html_url":"https://github.com/hadisfr/TomcatSQLite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadisfr%2FTomcatSQLite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadisfr%2FTomcatSQLite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadisfr%2FTomcatSQLite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hadisfr%2FTomcatSQLite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hadisfr","download_url":"https://codeload.github.com/hadisfr/TomcatSQLite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242031301,"owners_count":20060579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jdbc","sqlite","tomcat"],"created_at":"2024-10-11T21:18:23.358Z","updated_at":"2026-05-07T20:32:23.316Z","avatar_url":"https://github.com/hadisfr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tomcat SQLite\n===\na simple example of using SQLite DataBase Management System (DBMS) with Apache Tomcat\n\nThis project uses Apache Maven 2 to manage dependencies, [xerial's SQLite JDBC Driver](https://github.com/xerial/sqlite-jdbc) to communicate with database, and SQLite as DBMS to run a servlet on Apache Tomcat.\n\nIt's possible to make a new tomcat project using maven with running `create.sh`, or:\n\n```\nmvn archetype:generate -D groupId=ir.hadisafari.tomcatSqlite -D artifactId=tomcatSqlite -D archetypeArtifactId=maven-archetype-webapp -D interactiveMode=false\n```\n\nTo run project, you can run `deploy.sh`, or simply use `mvn tomcat7:redeploy` after installation of sqlite. After that, the result may be available on [`http://localhost:8080/tomcatSqlite/`](http://localhost:8080/tomcatSqlite/) based on the configurations of your tomcat.\n\nAlso, you may need to add these lines to your `$CATALINA_HOME/conf/tomcat-users.xml`:\n```xml\n\u003crole rolename=\"manager-script\"/\u003e\n\u003cuser username=\"admin\" password=\"\" roles=\"manager-script\"/\u003e\n```\n\nThe database file (`sample.db`) will be create in `$CATALINA_HOME/webapps/tomcatSqlite/WEB-INF/sample.db` after the first run. You may want to use graphical apps like [phpLiteAdmin](https://www.phpliteadmin.org/) to read or edit it.\n\nIt's recommended to read [Using SQLiteJDBC with Maven2](https://github.com/xerial/sqlite-jdbc#using-sqlitejdbc-with-maven2) in documentations of xerial's SQLite JDBC Driver.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadisfr%2Ftomcatsqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhadisfr%2Ftomcatsqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhadisfr%2Ftomcatsqlite/lists"}