-
Software Development
Readable code is code that looks like the problem statement
Background In a recent blog post I showed how you could use Java’s labels as a way to clarify the…
Read More » -
Software Development
In today’s post-OO world, is dependency injection still relevant?
It’s 2015. Most of the new popular languages are more or less functional. The old ones, like Java, gain functional…
Read More » -
Core Java
Joining Strings in JDK 8
JDK 8 introduced language features such as lambda expressions, streams, and even the new Date/Time API that will change the…
Read More » -
Core Java
Do Primitives Need To Go?
I am currently working on an enterprise application using JSF as the view technology and JPA for the persistence layer.…
Read More » -
Enterprise Java
Very fast Camels and Cloud Messaging
Apache Camel is a popular, mature, open-source integration library. It implements the Enterprise Integration Patterns which is a set of…
Read More » -
Enterprise Java
Hibernate Locking Patterns – How does PESSIMISTIC_READ and PESSIMISTIC_WRITE work
Introduction Java Persistence API comes with a thorough concurrency control mechanism, supporting both implicit and explicit locking. The implicit locking…
Read More » -
Groovy
Fetching List of message codes from message.properties
Normally messages from message properties are fetched via, key i.e. message code, What if we want to select more than…
Read More » -
Software Development
Thoughts about TDD and how to use it for untested legacy code
Prologue My personal experiences with TDD mostly match with the others on the internet, in short, TDD is good. It…
Read More » -
Java核心
115 Java面试问题和答案 –终极列表(PDF 下载)
在本教程中我们会讨论在Java面试中可能被用到的各种类型的问题,以便面试官来测试你的Java和面向对象开发(OOP)方面的大概水平。 在接下来的章节我们会讨论面向对象编程(OOP)和它的特点,关于Java及其功能的常见问题,Java 集合框架(Collections), 垃圾回收,异常处理,Java applets, Swing, JDBC, 远程方法调用(RMI), Servlet 和JSP。 让我们开始吧! 目录 面试对象编程(OOP) Java的一些常见问题 Java线程 Java集合 垃圾回收 异常处理 Java Applets…
Read More »