pachamamita.de - In care of nature, simplicity and code
open-menu closeme
Home
Coding
Best Practices
Contact
Data Protection
mail mastodon gitlab rss
  • Asynchronously Calling REST Services in a Synchronous Quarkus Application

    calendar Dec 2, 2023 · 6 min read · Quarkus RESTEasy Reactive Java  ·
    copy
    Asynchronously Calling REST Services in a Synchronous Quarkus Application

    A cool feature of Quarkus is that you can mix both synchronous and asynchronous paradigms and don't have to commit to just one. This can be very useful, for example, if you want to parallelize REST calls to third-party APIs in an otherwise synchronous backend.


    Read Article
  • Letting Quarkus Inject All Beans of a Type with the @All Annotation

    calendar Nov 12, 2023 · 3 min read · Quarkus Java  ·
    copy
    Letting Quarkus Inject All Beans of a Type with the @All Annotation

    With the @All annotation Quarkus offers an easy way to inject all available beans of a type. This example shows how the annotation can be utilized to elegantly avoid conditional statements and delegate the work of keeping track of all currently existing implementations of an interface to the CDI container.


    Read Article
  • Take Code Documentation Seriously

    calendar Sep 10, 2023 · 4 min read · Docs Java  ·
    copy

    Writing code that others can understand without hassle is an art. An important issue in this challenge is proper documentation of the code - not overly extensive, but also not the often encountered zero-documentation-way.


    Read Article
  • Use @DisplayName and @Nested to Document and Structure JUnit Tests

    calendar Jun 18, 2023 · 4 min read · Java JUnit Testing  ·
    copy

    JUnit offers great possibilities to write good tests with ease. Expressing the intention of tests and test classes with the @DisplayName annotation and structuring them with @Nested is a good practice, causes only minor effort and helps reducing the pain of adapting tests when the code under test has changed.


    Read Article
  • Unexpected SocketExceptions after AWS Lambda Execution

    calendar Feb 7, 2023 · 5 min read · Quarkus Java RESTEasy Reactive AWS Lambda  ·
    copy

    Having migrated to RESTEasy Reactive sporadic SocketExceptions occurred in one of our AWS Lambdas several minutes after the actual Lambda execution. This article describes one possible solution for this problem by disabling the connection pool for the used REST client with the help of custom HttpClientOptions but of course with the price of a lower overall performance.


    Read Article
  • Notes on the Migration from Quarkus RESTEasy Classic to RESTEasy Reactive

    calendar Jan 30, 2023 · 8 min read · Quarkus Java RESTEasy Reactive  ·
    copy

    Until Quarkus 2.8 RESTEasy Classic was the default JAX-RS implementation when using REST in a Quarkus project. Then they switched over to RESTEasy Reactive, which is the reactive version but also contains the classic blocking flavor. This post summarizes my experiences with the migration to RESTEasy Reactive.


    Read Article

Gerhard Flothow photo

Gerhard Flothow

Freelance Full Stack Software Developer, wannabe ethical hacker with strong interest in infrastructure, software quality, security, privacy and the beauty of simplicity.
Taking care of Pachamama and its creatures.

"Cuando la sangre de tus venas retorne al mar y el polvo de tus huesos vuelva al suelo, quizás recuerdes que esta tierra no te pertenece a ti, sino que tú perteneces a esta tierra." Warming Stripes showing the global warming from 1850 until 2018 used as separator

Featured Posts

  • Asynchronously Calling REST Services in a Synchronous Quarkus Application
  • Deploying CloudFront Access Log Analysis Infrastructure with CDK 2
  • Building Docker Images with Kaniko on Kubernetes-based Gitlab Runners

Recent Posts

  • Letting Quarkus Inject All Beans of a Type with the @All Annotation
  • Take Code Documentation Seriously
  • Why Medium-Sized Mastodon Instances Make Most Sense as of Today
  • Use @DisplayName and @Nested to Document and Structure JUnit Tests
  • Why I do not Recommend Google as Search Engine - A Little Experiment

Categories

CODING 8 BEST-PRACTICES 3 INFRASTRUCTURE 3 ENVIRONMENT 1 PRIVACY 1

Tags

JAVA 6 QUARKUS 4 AWS 3 REACTIVE 3 RESTEASY 3 CDK 2 WEB 2 ATHENA 1 BIG-TECH 1 CLOUDFRONT 1 CONTACT 1 DATA-PROTECTION 1 DOCKER 1 DOCS 1
All Tags
ATHENA1 AWS3 BIG-TECH1 CDK2 CLOUDFRONT1 CONTACT1 DATA-PROTECTION1 DOCKER1 DOCS1 FEDIVERSE1 GITLAB1 GLUE1 JAVA6 JUNIT1 KUBERNETES1 LAMBDA1 MASTODON1 QUARKUS4 REACTIVE3 RESTEASY3 SURVEILLANCE-CAPITALISM1 TESTING1 TYPESCRIPT1 WEB2
[A~Z][0~9]
pachamamita.de - In care of nature, simplicity and code

Copyright  PACHAMAMITA.DE - IN CARE OF NATURE, SIMPLICITY AND CODE. All Rights Reserved. Made with ❤ on Pachamama.

to-top