My Java Studio, some testing code and usage of open-source code, which are tested to verify the functionalities before being used in real projects, or tested for study/investigation. 一些测试代码和开源代码的使用测试,以便在正式项目中使用之前验证功能是否满足要求。
And some customized utilities, encapsulated open-source code. 另外还有一些小工具、以及对开源代码的二次封装。
- Cache related:
- A local cache example using ConcurrentHashMap (package: com.xjj.cache.local)
- Guava Cache: an example for using Guava cache framework, including management web page
- Redis: A simple example using spring data redis
- Database related:
- MyBatis (resource: db.properties, spring/db.xml; com.xjj.dao, com.xjj.mapper)
- HikariCP connection pool (resource: spring/db.xml)
- FreeMarker: A simple implementation of freeMarker
- FTP: A simple FTP client with progress shown
- HTTP Client
- Intercepter: MethodInterceptor
- Math and Format: BigDecimal, NumberFormat
- POI/Excel example
- Spring related:
- Spring Batch (com.xjj.springBatch)
- SpringMVC example
- Timers
- Utilities: ClassPathUtils, DateUtils, StringUtils
- Example to trigger the web browser to be in Full Screen state.
- SpringMVC receive Form Data or Query String using Map, MultiValueMap.
- SpringMVC receive JSON data using Map.