When working in a context where services communicate to each other over REST, it is quite helpful to properly document those APIs. Especially when services are developed and maintained by different teams it saves time and confusion to provide a single entry point for REST API documentation.
Communication via HTTP calls is a very common task for Spring applications in times of service oriented and microservice architectures. To secure services from unwanted access, HTTP Basic Access Authentication is a simple and sufficient (assuming usage of HTTPS) strategy.
I’ve been using Fish Shell for MacOS for about four years before I finally decided to switch to Zsh. Why? I was simply annoyed to Fishs incompatibilities with Bash commands. Remembering another syntax for setting and exporting environment variables and missing support for the
&& operator were the top of the iceberg.
Everyone of us knows the pain of bad or missing documentation. It’s a critical element for onboarding, knowledge transfer and knowledge conversation within a software project. If you’re in a five person team, tasks are done asynchronously and there are quite a few repositories, modules, services or however you call it, there is no way without documentation. You must fill the gap of missing knowledge of your colleagues to craft good software.
Welcome to my personal blog. I will post about IT related stuff here. You can expect solutions to common problems, experiences I made with certain technologies or just my loud thoughts about new developments in the IT and software area.
Spring has nice features for data persistence and gives you simple data access abstractions. Standard queries in Spring Data repositories are easy but when it comes to complex queries, people tend to use the
@Query annotation. For some cases, it is complex to write these queries. Therefor I prefer the JPA Criteria API and how to improve complex queries using that.
In year 2016 Apache runs 50% of all websites on the internet. More than 440.000 new websites are launched daily while about 45.000 are hacked again that day. Not relevant for your site? Please think again. We will show you how to configure your freshly obtained hosting package or server with a secure Apache server.