Home » Enterprise Java

Enterprise Java

Selenium IDE Commands Example

This article is about installing Selenium IDE and the various commands you can run to enable test automation. This article will cover the most frequently used Selenium IDE Commands. 1. Introduction Selenium is used to automate browsers. Selenium WebDriver has found its place in test automation for web applications. It is used to create robust, browser-based regression automation suites and ...

Read More »

Play! Framework Hello World Example

We are going to develop a series of Scala Web Applications or Microservices using Play Framework. This is our first post in this series. In this post, we feature a comprehensive Play! Framework Hello World Example. We are going to develop our old style, to learn new concepts on “HelloWorld” example using Play Framework, Scala Language and SBT build tool. ...

Read More »

Java Servlet Set/Get Example

One of the main challenges for every beginner in the development world is to understand and assimilate how things works internally in a technology in order to create their own code. More than that, make this code working, flexible, standardized and functional for a project that, most of the times, is already running. Servlets are known for their complexities regarding ...

Read More »

Java Servlet Hello World Example

Servlets are essentially the first and main technology in Java world capable of dynamic page generation, now in its version 4.0 (released on September 2017). The term suggests a new way to receive HTTP requests, process them and return the proper response to the clients, all of that through the extension of a server or a web container capabilities, such ...

Read More »

Apache ActiveMQ SSL Example

1. Introduction Secure Sockets Layer (SSL) is a standard security protocol for establishing encrypted links between a web server and a browser in an online communication. SSL was originally developed for securing web browser and server communications by Netscape in 1994. Subsequently, the protocol was adopted by the Internet Engineering Task Force (IETF) and renamed to Transport Layer Security (TLS) ...

Read More »

Spring Security OAuth2 Example

In this article we will learn how to integrate OAuth2 with Spring Security. 1. Introduction Spring Security is a powerful and highly customisable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications. It is a framework that focuses on providing both authentication and authorisation to Java applications. Like all Spring projects, the real power of Spring ...

Read More »

Spring Batch ItemReaders and ItemWriters Example

This article is a tutorial about the various Item Readers and Item Writers in Spring Batch. We will use Spring Boot to speed our development process. Table Of Contents 1. Introduction 2. Technologies Used 3. Spring Batch Project 3.1. Build.gradle 4. Item Readers and Writers 4.1. FlatFileItemReader and JpaItemWriter 4.2. JdbcCursorItemReader and StaxEventItemWriter 4.3. StaxEventItemReader and FlatFileItemWriter 5. UnBoxing Item ...

Read More »

EJB Security Example

1. Introduction Developers using the Java EE platform achieve security through its built-in security APIs. There are two approaches to securing enterprise java applications, more specifically Enterprise Java Beans. These approaches are the programmatic approach and the declarative approach. The programmatic approach is the one which is meant to be used when one wants to have more control over how the application ...

Read More »

Spring and Hibernate Example

Welcome readers, in this tutorial, we will create a simple application that uses the spring and Hibernate framework to display the user details on a webpage. For this tutorial, we’ll have a welcome page that fetches the user records from the MySQL database and displays it on the interface. 1. Introduction Developers can refer to this link to briefly understand the Spring, ...

Read More »

Spring Batch Parallel Processing Example

This article is a tutorial about parallel processing in Spring Batch. We will use Spring Boot to speed our development process. 1. Introduction Spring Batch is a lightweight, scale-able and comprehensive batch framework to handle data at massive scale. Spring Batch builds upon the spring framework to provide intuitive and easy configuration for executing batch applications. Spring Batch provides reusable ...

Read More »