June 24, 2017
2017年你不能错过的Java类库
各位读者好,
这篇文章是在我看过 Andres Almiray 的一篇介绍文后,整理出来的。
因为内容非常好,我便将它整理成参考列表分享给大家, 同时附上各个库的特性简介和示例。
请欣赏!
Guice
Guice (发音同 ‘juice’) ,是一个 Google 开发的轻量级依赖性注入框架,适合 Java 6 以上的版本。
# Typical dependency injection
public class DatabaseTransactionLogProvider implements Provider<TransactionLog> {
@Inject Connection connection;
public Transaction… Read More