SpLite provides a lightweight, integrated and easy-use J2EE development environment with typical use case samples such as basic database manipulation, paginated representation, log, internationalization, uploading, test and so on. The so-called 'SpLite' is a simple combination of two open source project name's abbreviations, Spring and ORMLite which are the backbones of this project.
- Spring, dependency injection and inversion of control, web(Spring MVC)
- ORMLite, data persistence, namely Object Relational Mapping
- Logback, log
- JUnit, test framework
- JQuery, javascript framework
- Gradle, a build tool that can be considered as a substitution of ANT
- Eclipse WTP, the IDE
- MySQL, it is the database the project uses by default that can be replaced by other free databases, e.g. PostgreSQL.(MySQL default charset setting, refer to this)
- Tomcat, it is the application server the project uses by default that can be replaced by other servers, e.g. glassfish.(Tomcat charset setting also needs to be considered)
- Configure Gradle
Download Gradle and configure gradle/bin location to system 'path' environment variable. - Prepare SpLite
Download SpLite zip file and unzip it to anywhere you like.
If you are accessing web via a proxy, please copy **/web_template/metadata/gradle.properties to **/web_template/splite and adapt it to your proxy settings. - Run SpLite
Run Windows command or Linux terminal, that depends on your system, cd to **/web_template/splite
Execute the command: gradle jettyRun
At last, you will see some output information like
> Building > :jettyRun > Running at http://localhost:8080/splite
Open your web browser and input the address. You can see the page like below:
Released under the MIT license.
Currently the project is still in progress
