Skip to content

wangxu-alvin/web_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpLite

Introduction

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.

Main tools and respective division of work

  1. Spring, dependency injection and inversion of control, web(Spring MVC)
  2. ORMLite, data persistence, namely Object Relational Mapping
  3. Logback, log
  4. JUnit, test framework
  5. JQuery, javascript framework
  6. Gradle, a build tool that can be considered as a substitution of ANT
  7. Eclipse WTP, the IDE
  8. 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)
  9. 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)

splite

How to use

Quick Demonstration

For a quick demonstration, SpLite uses embedded Jetty and H2 instead of Tomcat and MySQL so that the user does not have to install application server and database.
  1. Configure Gradle
    Download Gradle and configure gradle/bin location to system 'path' environment variable.
  2. 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.
  3. 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:
    sample

Eclipse WTP Development Environment

TODO.

License

Released under the MIT license.

Project Status

Currently the project is still in progress

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors