1. Overview Spring framework was created originally to address the complexity of enterprise applications, and it’s well known for its implementation of dependency injection. To address an enterprise java application complexity, Spring provides four key features, and one of those features is loose coupling through dependency injection. In this article we’ll explore the different types […]
For those who have been programming in an imperative style for a while, functional programming may look scary at first. Indeed, it requires a different way of thinking. However, for those who has the motive to learn, it has never been “a question of how”. The real question in my opinion is “why functional programming”. First […]
In this tutorial, we’ll build a simple website using JSF web framework to consume the following API. The website displays a form in which the fields are mapped to the bean and added as URL parameters. If nothing wrong happened the results will be displayed in a table, else a result not found page will pop-up. […]
In this tutorial we’ll show you how to create a RESTful web-service that outputs JSON in Spring framework MVC (Java). Prerequisite JDK 8 Maven 3 Tomcat v9.0 Jackson 2.x Spring 4.x What is REST? REST (Representational State Transfer) is a web standards based architecture. A representation of REST does not require the client to know anything […]
A lot of software engineers have a misconception of what over-engineering is and how it is related to robustness. Some say that robustness can’t exist without over-engineering. And I totally disagree, in-fact if you think about it for a second you will see that a robust block of code (a code that handles abnormal cases) have nothing to do with an over-engineered block of code (a code intended to anticipate the future), But i can understand where such a misconception comes from. As software engineers we tend to overthink problems. We sometimes go around trying to find out solutions for possible future needs, and that doesn’t work as no one can predict the future. So first of all let’s clarify the concept of over-engineering, its relation to robustness, and go through why we need to avoid it and how.
Service-oriented architecture is a style of software design. Where the Business service is provided to other components in the SOA environment as an independent unit, through communication protocols. And the core service functionality is separated from other software components like (mediation, connectivity and extra logic). Implementing an SOA mainly is for developing applications that use services. […]