Home » Enterprise Java » Page 30

Enterprise Java

Spring Security Angular 6 Basic Authentication Example

1. Introduction In this post, we feature a comprehensive Example on Spring Security, Spring Boot and Angular to demonstrate how you can secure your Angular application using Basic Authentication via Spring Security. You will learn to use Spring Boot for quickly building a Java backend layer and then adding a maven dependency for making it secure. We will use Angular ...

Read More »

Spring @ResponseBody Annotation Example

Welcome readers, in this tutorial we will show how to implement the Spring @ResponseBody Annotation to return a Json response from a Spring Mvc Controller. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of an enterprise application development One of the chief advantages of the Spring framework is its layered architecture, which allows ...

Read More »

Spring @RequestBody Annotation Example

Welcome readers, in this tutorial we will show how to implement the Spring @RequestBody Annotation to convert the incoming Json request to a Model object. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of an enterprise application development One of the chief advantages of the Spring framework is its layered architecture, which allows a ...

Read More »

Selenium Cucumber Tutorial

This article explores the integration of selenium with cucumber and how we can leverage them to achieve automated acceptance testing. 1. Selenium Cucumber Tutorial – 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 tests. It can be used ...

Read More »

Spring Rest Hibernate Example

Welcome readers, in this tutorial, we will show how to implement the REST services to perform the SQL operations using the Spring MVC and Hibernate framework. 1. Introduction Developers can refer to this link to briefly understand the Spring, Spring MVC, and Hibernate framework. 1.1 Download and Install Hibernate Developers can read this tutorial in order to download and install ...

Read More »

Spring @Resource Annotation Example

JDK JSR-250 provides a property or method-level annotation that supports the Autowiring functionality in the spring framework. Spring supports this injection by using the @Resource annotation, applied to either the property or the setter method of a bean. This tutorial will explore the JDK-specific @Resource annotation in the spring. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created ...

Read More »

MySQL Server Tutorial

1. Introduction MySQL is one of the most used SQL databases in many of the world-enterprise applications due to its ability to manage transactions and the ACID-behaviour which is built into its core. One of the reasons MySQL is so popular is due to the easiness it provides for its usage and its related commands. In the open source web application ...

Read More »

Spring @Required Annotation Example

Spring framework provides a method-level annotation which is applied to the bean property setter methods for making the setter-injection mandatory. This tutorial will explore the Spring-specific @Required annotation. 1. Introduction 1.1 Spring Framework Spring is an open-source framework created to address the complexity of an enterprise application development One of the chief advantages of the Spring framework is its layered ...

Read More »

Spring @Autowired Annotation Example

In this article, we will explain the Spring autowired Annotation. 1. Introduction Spring framework provides autowiring of beans using the XML configuration but the developers decided to go a step ahead and provide the autowired annotation. This tutorial will explore the Spring-specific annotation (i.e. @Autowired) that will automatically inject the dependent beans. 1.1 Spring Framework Spring is an open-source framework ...

Read More »

JBoss WildFly NetBeans Example

1. Introduction In this example we will download and install the JBoss WildFly application server. We will integrate it with NetBeans so that we can manage it from NetBeans. Finally, we will develop a web application and deploy it on the server to demonstrate the successful integration. 1.1 JBoss WildFly In 1999, Marc Fleury implemented the EJB API from J2EE ...

Read More »