Skip to content

Releases: Francis0121/Backend

Implement Controller Layer

11 May 10:12

Choose a tag to compare

Pre-release

1. Add Mockito Library

Available @Mock, @InjectMock Annotation
These annotation help to Junit mock Test

2. Implement Service Layer

Low service layer is connect to database and controller.
Controller class implement all validation and logical statement.
Service layer implement insert database entity object.

3. Maven Deploy package setting

Clean and War directory setting.

4. Category Implement ( ing )

@zerocool530 Implement Category

5. Available Hibernate Validator

Such as @NotNull, @Size .. Annotation.

6. Add @RestExceptionControllerAdvice

This help for handler RuntimeException

Avaliable Mybatis, Jdbc (sqlite, h2) , Jpa(h2)

24 Apr 08:51

Choose a tag to compare

1. Available Mybatis, JPA
  • Jpa Library not implement sqlite. So add h2 database.
  • Also Mybatis, Jdbc avaliable h2 database.
2. Add System Properties orm and database
  • Add Java vm option ( ex. -Dorm=sqlite, -Ddatabase=h2 )
  • These option choose orm and database category.
3. Code quality
  • Not use getter, setter, constructor So add Lombok library.
  • It is auto make getter, setter and etc..
  • Code is very simple
  • It use annotation processor at compile time.

Apply Spring Transaction Annotation

19 Apr 14:33

Choose a tag to compare

Pre-release
  1. Transcation
    Enabled @transactional Annotation.
    And apply AspectJ mode transactional
  2. Logback
    Spring log don't working.
    Solve this problem. Add jcl-over-slf4j library.
    And add groovy log setting.

Properties & Sqlite

19 Apr 14:23

Choose a tag to compare

Properties & Sqlite Pre-release
Pre-release
  1. Set Properties
  2. Implement Sqlite Jdbc Template
    • DataSource (org.tomcat)
    • Use spring Jdbc Template

Add Log Library

19 Apr 14:13

Choose a tag to compare

Add Log Library Pre-release
Pre-release

Implement logging sytem use slf4j and logback

And use logback.groovy file. So add groovy dependency.

Init Spring Project

19 Apr 12:51

Choose a tag to compare

Init Spring Project Pre-release
Pre-release

Implement

Project set Web Application Format.
Write RootApplicationConfig Test Case.

Add Library

  • Spring Framework 4.3.0.RC1
  • Junit 4.12