Home » Author Archives: Jerome Versrynge

Author Archives: Jerome Versrynge

Spring JpaRepository Example (In-Memory)

spring-interview-questions-answers

This post describes a simple Spring JpaRepository example using an in memory HSQL database. The code example is available from GitHub in the Spring-JpaRepository directory. It is based on the Spring-MVC-With-Annotations example and information available here. JPA Repository We implement a dummy bean for this example:       @Entity @AutoProperty public class SomeItem { @Id @GeneratedValue(strategy=GenerationType.AUTO) private long Id; ...

Read More »

Spring MVC Form Validation (With Annotations)

spring-interview-questions-answers

This post provides a simple example of a HTML form validation. It is based on the Spring MVC With Annotations example. The code is available on GitHub in the Spring-MVC-Form-Validation directory.                 Data For this example we will use a bean and JSR303 validation annotations: public class MyUser { @NotNull @Size(min=1,max=20) private String name; @Min(0) @Max(120) private ...

Read More »

Introduction To JavaEE Concepts

java-interview-questions-answers

This post aims at clarifying acronyms and concepts used in the J2EE paradigm. J2EE stands for Java to Platform, Entreprise Edition. It enables the creation of modular Java applications to be deployed on application servers. It relies on Java SE, a core set of Java libraries upon which all Java applications are implemented. General Concepts Before we dive into J2EE, ...

Read More »

What Is JNDI, SPI, CCI, LDAP And JCA?

java-interview-questions-answers

JNDI stands for Java Naming and Directory Interface. It is an API to providing access to a directory service, that is, a service mapping name (strings) with objects, reference to remote objects or simple data. This is called binding. The set of bindings is called the context. Applications use the JNDI interface to access resources. To put it very simply, ...

Read More »

Spring Selenium Tests With Annotations

selenium-logo

This post describes how to implement Selenium tests in Java. It is inspired from the post by Alex Collins, with annotations. The code is available on GitHub in the Spring-Selenium-Test directory. Some alternative and much lighter techniques are available to unit test a Spring MVC application. To unit test services, see here.               Page, ...

Read More »

Introduction To Git Concepts

git-logo

This post is an introduction/reminder to Git concepts. It aims at facilitating the learning curve for those coming from a Subversion (or other) background. For more details, there is nothing like the official book. Concepts Git operates on repositories which contain a local database of files and corresponding file revisions. Repositories contain files which can have 3 states: Committed – The file ...

Read More »

Introduction To Extreme Programming (XP)

agile-logo

This post is an introduction to Extreme Programming (XP), another of the Agile methods for software application implementation. Reading this post is a prerequisite to this post. The underlying philosophy of Extreme Programming is to take the best elements of software engineering and bring them to an ‘extreme’ level. If a little is good, more will necessarily be better. XP believes that ...

Read More »

Introduction To Scrum

scrumalliance-logo

This post is an introduction to Scrum, one of the Agile methods to drive software application implementation. Reading this post is a prerequisite to this post. Concepts Scrum projects deliver software application features iteratively. Each iteration is called a sprint. Scrum projects have 4 stages: Planning – Definition of the vision, budget, and expectations. The first version of the product backlog should ...

Read More »

Introduction To Agile Principles

agile-logo

This post is a reminder about Agile principles. It is also an introduction for those who want to learn about it. The Agile principles were initially proposed in 2001 in the Manifesto for Agile Software Development which defines 4 values and 12 principles. Several project implementations methods were already available then, but many found these inflexible, cumbersome or unadapted. Some tried ...

Read More »

Trunk, Branch, Tag And Related Concepts

software-development-2-logo

Trunk, Branch and Tag concepts are relevant to revision control (or version control) systems. These systems are typically implemented as repositories containing electronic documents, and changes to these documents. Each set of changes to the documents is marked with a revision (or version) number. These numbers identify each set of modifications uniquely. Reminder A version control system, like Subversion, works with a central repository. Users can check ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.