The Difference between getRequestURI and getPathInfo in HttpServletRequest Java EE Servlet 1. Overview In this quick tutorial, we’ll discuss the difference between getRequestURI() and getPathInfo() in the HttpServletRequest class. 2. Difference between getRequestURI() and getPathInfo() The function getRequestURI() returns the complete requested URI. This includes the deployment folder and servlet-mapping string.… Continue Reading http-servlet-request-requesturi-pathinfo

Eclipse Error: web.xml is missing and failOnMissingWebXml is set to true Java EE Eclipse 1. Introduction In this tutorial, we’ll discuss the common Eclipse error, “web.xml is missing and <failOnMissingWebXml> is set to true“, that we get while creating a web application. 2. Eclipse Error In Java web applications, web.xml… Continue Reading eclipse-error-web-xml-missing

Scheduling in Java EE 1. Overview In a previous article, we demonstrated how to schedule tasks in Spring using * @Scheduled *__ annotation. In this article, we will demonstrate how to achieve the same by using the timer service in a Java Enterprise Edition application for each case presented in… Continue Reading scheduling-in-java-enterprise-edition

Converters, Listeners and Validators in Java EE 7 Java EE 1. Overview Java Enterprise Edition (JEE) 7 provides some useful features e.g. for validating user input, converting values into appropriate Java data types. In this tutorial, we’ll focus on those features provided by converters, listeners, and validators. 2. Converters A… Continue Reading java-ee7-converter-listener-validator

Building Microservices with Eclipse MicroProfile 1. Overview In this article, we’ll focus on building a microservice based on Eclipse MicroProfile. We’ll look at how to write a RESTful web application using JAX-RS, CDI and JSON-P APIs. 2. A Microservice Architecture Simply put, microservices are a software architecture style that forms… Continue Reading eclipse-microprofile