-
Core Java
We’re Taking Bets: This Annotation Will Soon Show up in the JDK
This recent Stack Overflow question by Yahor has intrigued me: How to ensure at Java 8 compile time that a…
Read More » -
DevOps
Java EE Deployment Scenarios for Docker Containers
I’ve been posting some content around Docker since a while and I like to play around with containers in general.…
Read More » -
Core Java
Is Getter DI A Good Idea?
Sometimes, you may hear about dependency injection done via a getter method, which subclasses override or mock frameworks fake for…
Read More » -
企业级Java
Hibernate教程-终极指南
编者按:Hibernate ORM(简称Hibernate)是一个对象-关系映射框架,用于将面向对象的域模型转换为传统的关系数据库。Hibernate通过将直接的持久性相关的数据库访问替换掉,而高级对象处理功能来替换,解决了对象-关系间不匹配的问题。 Hibernate是最流程的Java框架之一。为此,我们在Java Code Geeks提供了大量的教程,点击这里查看它们。 现在,我们想要创建一个独立的、具有参考性的文章,来提供一个关于如何使用Hibernate的框架,并且帮助你快速开启你的Hibernate应用开发。开始享受吧! 目录 1. 简介 2. 项目搭建 3. 基础知识 3.1. SessionFactory 和Session 3.2. 事务(Transactions) 3.3. 表(Tables) 4. 继承(Inheritance) 5.…
Read More » -
Enterprise Java
JSP Tutorial – The ULTIMATE Guide
EDITORIAL NOTE: JavaServer Pages (JSP) technology allows you to easily create web content that has both static and dynamic components.…
Read More » -
DevOps
Continuous Integration and Delivery with Docker
Continuous delivery is all about reducing risk and delivering value faster by producing reliable software in short iterations. As Martin…
Read More » -
Software Development
If you do it do it right
This is a philosophical or ethical command. Very general. It is something like “fail fast”. The reason it came up…
Read More » -
Groovy
Groovier Spring Boot Integration Testing
Recently I had a chance to use Groovy’s groovy.json.JsonSlurper in a soapUI REST project. The usage scenario in soapUI (in…
Read More » -
Core Java
Transforming Collections
Did you ever want to substitute the equals and hashCode methods a HashSet or HashMap uses? Or have a List…
Read More »