Michael Remijan
My thoughts on technology
Showing posts with label
java
.
Show all posts
Showing posts with label
java
.
Show all posts
July 13, 2017
Java Bean Validation Basics
›
Abstract This post summarizes some quick and easy examples for the most common things you would want to do with the Java Beans Validation ...
February 11, 2015
Determine JDK version from a *.class file
›
Sometimes you run into JVM class file compability issues and it's useful to know what JDK version the class file was compiled as. Doing...
January 21, 2015
Create Your Own Java Bean Validator with a Custom Element
›
Abstract The purpose of this article is to demonstrate how to do two things. The first is how to create your own Java bean validator as sp...
January 09, 2015
Mocking System static void methods..config for Maven, JUnit, PowerMock, PowerMockito, and Mockito
›
Abstract I prev iously wr ote about Mocking return values of static methods..config for Maven, JUnit, PowerMock, EasyMock, and Mockito . T...
December 31, 2014
Printing content of Java list
›
This is a very, very simple reference on how to print the contents of a Java List. The idea is simple. I have a List and I want to loop ove...
November 24, 2014
Beans Validation java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
›
If you are using the Beans Validation framework (JSR 349), you may encounter this obscure exception when doing your validation. java.lang....
November 13, 2014
Remember PreparedStatement?
›
Simple example using PreparedStatement Miss the good ole' days when interacting with the database was simple, easy to understand SQL s...
November 08, 2014
SSL JNDI Realm for Tomcat Catalina
›
Using JNDI as an authentication realm for Tomcat is quite common. What's also quite common is communication with the server needs to h...
October 25, 2014
Mocking return values of static methods..config for Maven, JUnit, PowerMock, EasyMock, and Mockito
›
Abstract I recently wa s working on code improvemen t and refactor ing dri ven by unit testing when I cam e across the need to mock a Java ...
›
Home
View web version