Differences Between JAR and WAR Packaging 1. Overview In this quick tutorial, we’ll focus on the differences between JAR and WAR packaging in Java. First, we’ll define each packaging option separately. Afterwards, we’ll summarize their differences. 2. JAR Packaging Simply put, JAR – or Java Archive – is a package… Continue Reading java-jar-war-packaging

Template Engines for Spring 1. Overview The Spring web framework is built around the MVC (Model-View-Controller) pattern, which makes it easier to separate concerns in an application. This allows for the possibility to use different view technologies, from the well established JSP technology to a variety of template engines. In… Continue Reading spring-template-engines

Introduction to NoException 1. Overview Sometimes try/catch blocks can result in verbose or even awkward code constructs. In this article, we’ll focus on NoException which provides concise and handy exception handlers. 2. Maven Dependency Let’s add the NoException to our pom.xml: <dependency> <groupId>com.machinezoo.noexception</groupId> <artifactId>noexception</artifactId> <version>1.1.0</version> </dependency> 3. Standard Exception Handling… Continue Reading no-exception