Home » Enterprise Java » Page 70

Enterprise Java

Spring MVC Application with Spring Security Example

In one of our past examples, we learned to create a simple Spring MVC web-applciation. In this example we will demonstrate how we can implement Spring-Security to secure our web-application. We shall discuss and demonstrate both Authentication as well as the Authorization aspect of an application’s security. 1. Introduction to Spring Security Security of a web-application revolves around three major ...

Read More »

Vaadin Maven Example

The Vaadin plugin by default uses Ivy to resolve dependencies, Ivy is a tool to manage dependencies, if you need a project management tool you can use Maven, with Maven you get a complete project management tool that scale well with your application no matter how many resources you put into your application, with Maven you can build it easy ...

Read More »

Maven Local Repository example

In this example we are going to see some of the capabilities from the maven local repository. Maven is a build automation tool used mainly for java projects from apache. We are going to see some examples of the capabilities of the maven local repository. For this example we use the following technologies: MAC OSX Eclipse Mars.1 Maven3 JDK 1.8.0_65 ...

Read More »

How to Install Apache Hadoop on Ubuntu

In this example, we will see the details of how to install Apache Hadoop on an Ubuntu system. We will go through all the required steps starting with the required pre-requisites of Apache Hadoop followed by how to configure Hadoop and we will finish this example by learning how to insert data into Hadoop and how to run an example ...

Read More »

GWT Table Example

In this example we will learn how to use Tables in GWT. Google Web Toolkit is a development framework for creating Ajax-enabled web applications in Java.  A CellTable represents a tabular view that supports paging and columns. A FlexTable on the other hand allows user to create cell on demand. It can be jagged (that is, each row can contain ...

Read More »

Vaadin Combobox Example

A combo box is a graphical user interface widget, a combination of a drop-down list or list box and a single-line editable textbox, allowing the user to either type a value directly or select a value from the list. Vaadin offers a convenient Combobox out of the box for selecting a value in a list or collection. The Combobox is ...

Read More »

EJB Tutorial for Beginners with Example

1. Introduction The Enterprise Java Beans (EJB) is a specification for deployable server-side components in Java. It is an agreement between components and application servers that enable any component to run in any application server. EJB components (called enterprise beans) are deployable, and can be imported and loaded into an application server, which hosts those components to develop secured, robust and ...

Read More »

Maven Shade Plugin Example

In this example we are going to see some of the capabilities from the maven shade plugin. Maven is a build automation tool used mainly for java projects from apache. You can access the maven shade plugin here. We are going to see some examples of the capabilities of the maven shade plugin. For this example we use the following ...

Read More »

Vaadin OSGI Example

OSGI: Open Services Gateway initiative, is an open standards organization that make the OSGi specification that describe a modular system and a service platform for Java, OSGi components comes in the forms of bundles for deployment, can be remotely installed, started, stopped, updated, and uninstalled without requiring a reboot, in this example I am going to create a Vaadin OSGi ...

Read More »

Apache Hadoop FS Commands Example

In this example, we will go through most important commands which you may need to know to handle Hadoop File System(FS). We assume the previous knowledge of what Hadoop is and what Hadoop can do? How it works in distributed fashion and what Hadoop Distributed File System(HDFS) is? So that we can go ahead and check some examples of how ...

Read More »