Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bibekaryal86/app-skeleton-nospringboot
This is a template Repository to create a new Java web server without spring framework. It uses Jetty, Servlets and GSON libraries.
https://github.com/bibekaryal86/app-skeleton-nospringboot
gson jetty servlets
Last synced: 1 day ago
JSON representation
This is a template Repository to create a new Java web server without spring framework. It uses Jetty, Servlets and GSON libraries.
- Host: GitHub
- URL: https://github.com/bibekaryal86/app-skeleton-nospringboot
- Owner: bibekaryal86
- Created: 2022-01-03T22:13:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-07T06:03:15.000Z (about 1 month ago)
- Last Synced: 2025-01-07T07:18:35.022Z (about 1 month ago)
- Topics: gson, jetty, servlets
- Language: Java
- Homepage:
- Size: 306 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nospring-service-skeleton
* This is a template Repository to create a new Java web server without spring framework
* Things to update:
* Refactor the package name from `nospring.service.skeleton.app` to as desired
* keep it 3 words if possible, eg: `xxx.xxx.xxx.app`
* `settings.gradle`
* `rootProject.name`
* `build.gradle`
* Add/Remove dependencies as necessary
* `archiveFileName` and `Main-Class` in `jar`
* `mainClass` in `application`
* gradle wrapper version as necessary
* `logback.xml` as necessary
* replace `nospring-service-skeleton` with application name in `LOG_PATTERN`
* `Dockerfile` as necessary
* esp `JAR_FILE`, `COPY` and environment variables in `ENTRYPOINT`
* `Util.java`
* Update `CONTEXT_PATH`
* add/update/remove other constants/helper-methods
* GCP configurations, in `gcp` folder as necessary
* esp `app-credentials.yaml` and `app-credentials_DUMMY.yaml`
* `README.md` i.e. this file to add the program's readme
* `.gitignore` if necessary
* `App.java`
* begin and end logs
* About `SPRING_PROFILES_ACTIVE`
* This environment variable is named as such to match the app's spring-boot counterpart if any
* Things to add:
* `Scheduler.java` and scheduled jobs for any scheduled tasks
* See: `router-usage-statistics-java` for Quartz scheduler example
* https://github.com/bibekaryal86/router-usage-statistics-java
* Things to remove:
* If not using cache
* Remove `AppReset` from servlet package and it's mapping from `ServerJetty.java` and `ServletFilter.java`
* GitHub workflows
* Remove `dependabot.yml` in the new app until automated merge is figured out