TDD development using Arquillian together with EJB
Go back to Index In the previous sample multiple-containers-in-tdd we added support for multiple profiles, we are going to build on this project and add support for injecting EJBs In Step 2 we make a...
View ArticleCreating a JPA layer using Java EE 6
Go back to Index This session is a follow up on tdd-development-with-EJB The scope of the session is to add a database layer and some CRUD methods. This will be a simple solution using JPA and...
View ArticleTesting Web layer with Selenium
Go back to Index This is a follow up from step-5-creating-jpa-layer-using-java-ee In this chapter we will add a login web page and write test cases towards it. We will be using Arquillian and Selenium...
View ArticleArchitecture and design
Go back to Index This is a follow up from testing-web-layer-with-selenium So we have managed to get quite far by now, lets do a quick recap, We created a new JavaEE project using maven, then we started...
View ArticleMaven Multi Module Design
Go back to Index This is a follow up from architecture-and-design Before we start, i should let you know that i have made some changes to the packages. This is to move away from a package structure...
View ArticleSupporting geolocation in Java
I started thinking how to support geolocation and i started thinking about having a extension of java.util.Map that would store two keys for longitude and latitude. So i created this. package...
View Article_Underscore.js
is a utility library for Javascript with a functional programming approach. It provides around 80-odd functions. It could be divided into three categories. The first category is the one that are...
View ArticleIntegration test with Maven
integration-test is a phase in Maven life-cycle. This is after the well-known ‘package‘ phase and before the ‘install‘ phase. Here one could fix the dependencies required in other to run the...
View ArticleH2 Db – the Java SQL database
The outstanding features of H2 are: Fast, open source, JDBC API Embedded and server modes; in-memory databases [perfect as test database] Browser based console application [access database via web...
View ArticleData validation made simple using Bean Validator
There are many validation frameworks out there. But the one that we are going talk about is Bean Validation API (JSR 303). With Annotations and a simple API it is quite straight forward to express...
View Article