-
Enterprise Java
Farewell to Asynchronous Code
Quasar is a library that adds true lightweight threads (fibers) to the JVM. These are very cheap and very fast…
Read More » -
Enterprise Java
Scalable, Robust – and Standard – Java Web Services with Fibers
This blog post discusses benchmarking web service performance under load. To learn more about the theory of web service performance,…
Read More » -
Groovy
Grails 3 Released: Installing Gradle and Groovy 2.4 Support in Eclipse/GGTS
Grails 3 has been released with a ton of new features. If you’re used to adding a new Grails distribution…
Read More » -
Software Development
Microservice Design Patterns
The main characteristics of a microservices-based application are defined in Microservices, Monoliths, and NoOps. They are functional decomposition or domain-driven design, well-defined…
Read More » -
企业级Java
JPA入门教程 – 终极指南
编者按:Java持久化API(JPA)是Java语言中的应用程序编程接口规范,在基于Java平台标准版和Java平台企业版的应用程序中,JPA负责管理关系数据。 JPA已经成为事实上的标准,用于编写与数据库交互的代码。也正由于此,我们已经在Java Code Geeks提供了丰富的教程,可以在这里访问这些教程。此外,我们还制作了一本JPA迷你书,它能够帮助你入门JPA,而且顺利过渡到更高级的概念(加入我们的newsletter,可以免费获取)。 现在,我们想要建立一篇独立的、可做参考的文章:提供一个帮助你了解如何使用JPA的框架;并帮助你快速启动你的JPA应用程序开发。开始享受吧! 目录 1. 简介 2. 创建项目 3. 基础知识 3.1. EntityManager和持久化单元(Persistence Unit) 3.2. 事务(Transactions) 3.3. 数据库表(Tables) 4.…
Read More » -
Groovy
What’s new in Grails 3
A few days ago Grails 3.0 was officially released. Grails is now based on Spring Boot, the build system changed…
Read More » -
Software Development
R: Snakes and ladders markov chain
A few days ago I read a really cool blog post explaining how Markov chains can be used to model…
Read More » -
Software Development
Writing Clean Tests – Small Is Beautiful
We have learned that “clean” unit tests might not be as clean as we think. We have done our best…
Read More » -
Enterprise Java
How does Hibernate store second-level cache entries
Introduction The benefit of using a database access abstraction layer is that caching can be implemented transparently, without leaking into…
Read More »