The backend is the part of an application that users do not see. It accepts requests, checks permissions, applies the business rules, reads and writes data, and talks to the surrounding systems. The frontend is the user interface in the browser or in the app. It displays what the backend delivers and sends input back to it. Both sides meet at an interface, often a REST API. The API Design page describes how this interface is designed as a contract. One example from our projects is the tariff comparison calculator of an energy utility, whose user interface was built by an agency. Comparison operations, special cases, and aggregation reside in the layer behind it, which we developed on the Anypoint Platform. The prices are still calculated by SAP IS-U.
Java development as a platform for long-lived enterprise software
Java is both a programming language and a runtime platform. The code is compiled for the Java Virtual Machine (JVM) and runs there independently of the operating system. At banks, insurers, and similar companies, Java is often the established platform, and Java software development is the focus of our work. Our integration projects also run on the JVM, because that is where the Mule runtime of the Anypoint Platform runs. For a news agency, this is how around 35 services on a platform of MuleSoft and Spring were built over the years, with continuous integration from the first service onward.
What is Spring Boot, and what is it suited for?
Spring Boot is a framework from the Spring ecosystem for creating stand-alone Java applications. The web server, such as Tomcat or Jetty, is embedded in the application. Starter dependencies bundle related libraries, and auto-configuration sets up Spring and included libraries on its own as far as possible. On top of that come features for operations such as metrics, health checks, and externalized configuration. This makes Spring Boot suitable for REST APIs and for services with database access. The IT Monitoring page shows how a Spring Boot application can be brought into monitoring through Actuator and Micrometer.
What are microservices?
Microservices are an architecture style in which an application consists of several small services that each run in their own process, talk to one another through lightweight mechanisms such as an HTTP API, and are delivered independently of one another. Each service is built around one business capability. The counterpart is the monolith, an application that is built and delivered as one unit. When each approach fits and what it means for development and operations is covered further down in the section on implementation. The decision itself belongs to Software Architecture.