Month: April 2015
-
Enterprise Java
On Servlets and Async Servlets
The Servlet API, part of the Java EE standard, has long been (since 1998, when the 2.1 specification was officially…
Read More » -
Software Development
It’s the Little Things: The PL/SQL NULL Statement, and why Every Language Should have One
Syntax is one of those topics. One of those emotional topics that lead to very very very important discussions. I…
Read More » -
Scala
Scala Snippet: Object, Companion Object and Static Methods
If you are a Java developer moving to Scala, one notable difference in terminology that can cause confusion is the…
Read More » -
Software Development
Meta-cycles in technology choices
I’ve been working on my keynote for QCon Beijing and looking at technology trends and choices since the 1950s. One…
Read More » -
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 »