my blog. for you.

Reden wir über Digitales.

Ich bin selbständiger IT Berater und Unternehmer in der Internet und Software Branche. Ich beschäftige mich mit Design, Enterprise Applikationen, Web Apps und SaaS Produkten. Ich entwerfe und entwickle Business Lösungen und Anwendungen. Ich helfe Unternehmen in Sachen Software Qualität und Wissenstransfer, z.B. mit Angular und Spring Boot.

Clearing the Spring Security Context During Unit Testing

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Last week I wrote about a minimal Spring Security Context setup for unit testing. I'd like to add just a tiny, yet depending on your use case perhaps quite important, tidbit to that: In case you need to reset a SecurityContext setup, e.g., a mocked user authentication, because, for instance, other test methods from the same unit test class verify behaviour for an unauthenticated application state and hence expect an anonymous user, you ... Read more

Minimal Spring Security Context Setup for Unit Testing

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Creating a minimal Spring Security setup for JUnit unit tests can be a tedious as well as somewhat daunting task. With its Authentication, Principal, GrantedAuthority, and UserDetails classes Spring Security is extremely flexible and configurable and probably accommodates pretty much every authentication and authorization use case under the sun. However, in software architecture such flexibility often comes at price, the trade-off in this case being that simple use cases can require more implementation effort ... Read more

Guest Post on the AWS Open Source Blog: Using PostgreSQL with Spring Boot on AWS

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Last week, another two-part article by Tom Hombergs, Philip Riecks, and me was published on the AWS Open Source Blog. Thanks a lot to Ricardo Sueiras for making this possible. This time around we wrote about how to use a PostgreSQL database with Amazon RDS and Spring Boot: Using PostgreSQL with Spring Boot on AWS — Part 1 Using PostgreSQL with Spring Boot on AWS — Part 2 These articles draw upon the chapter Connecting to a ... Read more

Now Available as a Kindle Edition, Too: “Stratospheric – From Zero to Production with Spring Boot and AWS”

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Stratospheric – From Zero to Production with Spring Boot and AWS is now available as a Kindle edition on Amazon, too. Read more

Recording of the Stratospheric Release Party

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.The recording of the release party for the content-complete version 1.0 of Stratospheric – From Zero to Production with Spring Boot and AWS is available here: Read more

Stratospheric – In Orbit Now: Content-complete Version 1.0

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Last week, we released version 1.0 of our eBook "Stratospheric - From Zero to Production with Spring Boot and AWS"! We hope you like this now content-complete release version of Stratospheric. Thanks to everyone who showed their trust in this project during its early stages! Here are some key facts about this project and the application we built as part of the book: 445 pages eBook with practical hands-on advice for running production-ready Spring Boot applications ... Read more

Keeping a Record of Software Architecture Decisions

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.The need for asynchronous communication in organisations has become particularly obvious since 2020, when remote work and distributed work environments rapidly became the default setting for knowledge workers. Asynchronous communication essentially means that instead of exclusively communicating objectives, goals and the way by which to achieve them in-person (i.e. synchronously with everyone involved present at the same time - whether on-site or in a virtual space such as Slack or Zoom) we try and ... Read more

Working Across Timezones in Remote Work Settings and Distributed Environments

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.When working in a distributed environment or remote work environment, as is increasingly - and quite fortunately - becoming the default for knowledge workers, and the software industry in particular, chances are, rather sooner than later you'll be collaborating across timezones. I'm currently collaborating with people from EDT, GMT, CEST, MYT, JST, and AEST timezones, for instance. Asynchronous communication is crucial in a remote work setting already when no time differences are involved. It becomes ... Read more

Blogumentation Revisited

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Some time ago I wrote about a process called "blogumentation": Derived from the insight that arguably the best way to learn something and to internalise knowledge is to write about it and to try and explain that knowledge to others, blogumentation essentially means writing about a subject matter (e.g. a solution to a particular programming problem or a new practice you've just learned about) that you consider worth documenting and publishing the result. It ... Read more

CORS: What It Is and How It Works

Leider ist der Eintrag nur auf Britisches Englisch verfügbar.Expanding on last week's article on best practices for REST API Design I'd like to point to a specific aspect working REST APIs frequently entails: A browser security feature called "Cross-Origin Resource Sharing (CORS)". This feature allows you to define which resources provided by a web application are supposed to be accessible from which origin, which in turn typically is comprised of protocol, host / domain name and port. This website's origin for example ... Read more
Nächste Seite »