How to use Maven with a Java Application
Maven is a framework, or an application if you may, which helps you manage a project’s lifecycle. For those new to Maven, usually we have our IDE such as Eclipse, NetBeans or SpringSource Tool Suite...
View ArticleHow To Add Splash Screen Using Maven
We can include a splash screen through Maven as shown in the following pom fragment. <build> ... <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId>...
View ArticleHow To Set The Encoding Using Maven
The file encoding can be set through the properties as shown in the following pom fragment. <project> ... <properties>...
View ArticleMaven – The system is out of resources – java.lang.OutOfMemoryError: PermGen...
Error Maven failed to build the project (or a list of projects) due to lack of resources problem as shown below. [ERROR] Failed to execute goal...
View ArticleWhy should we use Maven?
Discusses the benefits that Maven brings to the table when developing software applications. It first develops a project without using Maven and the rebuilds the same project using Maven.
View ArticleHow To Exclude Dependencies from Maven Assembly Plugin
Any dependencies that are already available at the runtime environment can be given the scope of provided and these will not be included by the maven-assembly-plugin plugin..
View ArticleHow To Run Embedded Tomcat with Maven
Java web application require a web container, such as Tomcat (homepage), on which these can run. Installing and configure a web container on each developing machine may be time consuming. Furthermore,...
View ArticleSimple Java Database Swing Application
This tutorial demonstrates how to develop a Java application that connects with a database and provides a user interface and is targeted to students who studied Java, but lack experience. This tutorial...
View ArticleTesting Swing Application
This tutorial demonstrates how to develop a simple Java Swing (or user interface) application and test the UI related logic using automated tests, such as JUnit (Homepage), using a series of videos...
View ArticleUsing Flyway with Virgo
Databases are an important part of most applications irrespective of their size and nature. Data needs to be persisted and this is usually done through a database. OSGi (Home Page) is an emerging...
View Article