https://github.com/dgroup/servlets_demo_3.x
[On hold]
https://github.com/dgroup/servlets_demo_3.x
Last synced: over 1 year ago
JSON representation
[On hold]
- Host: GitHub
- URL: https://github.com/dgroup/servlets_demo_3.x
- Owner: dgroup
- Created: 2015-02-26T20:57:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-26T12:49:30.000Z (about 11 years ago)
- Last Synced: 2025-02-06T08:45:56.545Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Servlet 3.x learning
This is simple example of servlet & jsp technologies.
If you want to run this example, please perform steps below:
1. Download [demo project](https://github.com/dgroup/Servlets_demo_3.x/archive/master.zip);
2. Install [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html);
2. Install [gradle](https://www.gradle.org/downloads). For **Linux OS** you can use this [guide](https://github.com/dgroup/Servlets_demo/wiki/%5BOS-Linux-Ubuntu%5D-Java-&-Gradle-installation-notes);
3. Call `run.bat`;
4. Browser: [http://localhost:8080](http://localhost:8080).
### Tech overview
| Tech | Why |
| ---------------------------------- |:--------------------------------------------------|
| [Jetty](http://eclipse.org/jetty/) | Lightweight web server. |
| [H2](http://www.h2database.com/html/main.html) | Lightweight in-memory database. |
| [PMD](http://pmd.sourceforge.net/) | Code quality validation. |
| [Bootstrap](https://github.com/twbs/bootstrap) | CSS layouts. Read [more](http://www.w3schools.com/bootstrap/).|
### TODO list (will be updated as appropriate)
- [x] Enable Gradle
- [x] Configuration Jetty + H2
- [x] Enable PMD
- [x] Enable Scala for EE project
- [x] Enable Scalastyle
- [ ] Inject CDI for Logging
- [ ] Activate [Serenity](http://thucydides.info/docs/serenity-staging/) for UI testing
- [ ] Implement simple chat (for feedback) via [WebSocket mechanism](https://docs.oracle.com/javaee/7/tutorial/websocket002.htm)
- [ ] Activate JPA instead of deprecated DriverManager
- [x] Activation of Persistence Unit
- [ ] Integrate CDI with EntityManager
- [ ] Learning [JEE7 documentation](https://docs.oracle.com/javaee/7/tutorial/index.html)