In this article we will see an introduction to dependency management through JNDI (Java Naming and Directory Interface). We will see how to name resources with annotations and how to search dependencies are created. Furthermore, we see examples of using JNDI API and alternatives to search certain components. The business logic of an application is …
Working with Threads in Java
In this article we will see on how to use practical and simple Java threads to perform parallel processing in your application. The robust Java platform offers us another bonus feature when we deal with parallel processing. In this article we present a practical use of Threads in Java, with the goal of working in …
Assertions In Java
In this article I’ll give a detailed explanation of the use of Assertions in Java. Assertion often confuse the programmer. It so happens that a programmer is confused as to which of the following to use: IF / ELSE or Assertions?. Assertions are basically used to test whether your code is according to the rules …
How to Install Tomcat in Ubuntu?
Linux is good environment for running the Java applications. Most of the developers not trying the Linux environment only because of the complicated installation procedures needed for at the time of beginning. Once if you are familiar with the installation then it is cake walk for developing the Java applications. But, I can not say …
CSS Z-Index example
In this article we shall see how the z-index property of CSS (Cascading Style Sheet) works and learn to work with the Z axis of the Cartesian plane on the web. When we think of positioning elements on web pages, the first thing that comes in our mind are the axis X and Y that …
Developing struts 2 applications using Eclipse
Struts 2 is a second generation framework used to develop Enterprise web applications by using Model-View-Controller design pattern as its base. More specifically, it works on Pull-MVC design. This is one of the many standard frameworks that help the developers to develop applications from the point of development to building to deployment and testing. Struts …
Static HTML Webpage Creation
In this article I shall detail you about the basics of creating a static HTML page. This article will help beginners who want to create a website of their own or write an HTML page from scratch. Though there are innumerable sites with such related data but I felt I personally should put forth my …
Migrating Struts Applications to Struts 2
Struts 2 is one of the most popular web application frameworks which is developed with pull-MVC pattern as its base. Most of the web applications developed today uses struts as their building tool. Now, the latest release of struts was in the market and there is a demanding need to migrate the old applications developed …