Home » Enterprise Java » Page 70

Enterprise Java

Spring AOP Example

In this example, we shall understand what is Aspect Oriented Programming and how Spring provides support to implement AOP. 1. Introduction to AOP When designing a module, the focus is usually to maintain high cohesion in the module. Cohesion as per Wikipedia is the degree to which elements of a module belong together. But there are certain cross-cutting concerns like ...

Read More »

Vaadin Charts Example

Vaadin charts are beautiful eye candy charts to enrich your applications. Using Vaadin charts could make the difference when you need to sell the application to the end user. 1. The tools Java JDK 8 Latest Eclipse Mars Vaadin plugin for eclipse Vaadin charts 2. Introduction Vaadin charts offer more than twenty kinds of charts. You can find for sure ...

Read More »

Hadoop Oozie Example

In this example, we will learn about Oozie which is a Hadoop Ecosystem Framework to help automate the process of work scheduling on Hadoop clusters. 1. Introduction Apache Oozie is an open-source project which is the part of the Hadoop Ecosystem. It is used to create the workflow and automate the process of different job and task scheduling depending on ...

Read More »

EJB Deployment Descriptor Example

1. Introduction Deployment descriptor is the file which tells the EJB server that which classes make up the bean implementation, the home interface and the remote interface. it also indicates the behaviour of one EJB with other. The deployment descriptor is generally called as ejb-jar.xml and is in the directory META-INF of the client application. This is the main deployment ...

Read More »

Spring Boot and AngularJS Integration Tutorial

This tutorial helps you to build a simple spring boot application. Also, you might like to implement a simple UI such as an administrator tool or control panel to work with the backend. This is when I start learning about Angularjs to develop a simple UI for a monitoring project at work. I’ve found Spring boot and Angularjs very easy to work with, especially when ...

Read More »

C3p0 Connection Pooling Example

In the previous example, we understood the concept of connection pooling and how we can use it to improve the performance and throughput of the application. In that example, we demonstrated how we can implement connection pooling using the Apache DBCP. In this example, we shall be using the C3P0 connection library. 1. Project Set-Up Create a simple Maven Project ...

Read More »

Jetty Servlet Example

In this example, we will show you how to make use of Jetty – Java HTTP Web Server and servlet container and run a sample servlet on this server. Jetty is an open source web server developed by Eclipse Foundation. As a part of this example we will create an eclipse project which will have our servlet code and to ...

Read More »

Vaadin Form Example

In this example I am going to show you how to make a Vaadin form. A form is a common HTML element to collect user input and send the data to a server, most of the time using the POST http method. 1. The tools Java JDK 8 Latest Eclipse Mars Vaadin 7.6.3 Tomcat Server 8 2. Introduction Vaadin goes ...

Read More »

GWT Sample Application Example

In this example we will learn how to build a simple GWT application from scratch. Google Web Toolkit is a development framework for creating Ajax-enabled web applications in Java. It’s open source, completely free. Tools and technologies used in this example are Java 1.8, Eclipse Luna 4.4.2, Eclipse GWT Plugin 2.6 1. Introduction The GWT SDK provides a set of ...

Read More »

Apache Hadoop Distributed Cache Example

In this example article, we will go through Apache Hadoop Distributed Cache and will understand how to use it with MapReduce Jobs. 1. Introduction Distributed Cache as the name indicates is the caching system to store files or data which is required frequently and this mechanism is distributed in nature as all other components of Hadoop are. It can cache ...

Read More »