medamine 👋 (@medamin_) 's Twitter Profile
medamine 👋

@medamin_

Fullstack developer sharing stories about 🟥Best Practices 🟧Tutorials 🟨Productivity

ID: 1479218576062132225

calendar_today06-01-2022 22:29:36

443 Tweet

212 Followers

253 Following

Maciej Walkowiak 🍃 (@maciejwalkowiak) 's Twitter Profile Photo

💡 AssertJ Tip: use `usingRecursiveComparison().isEqualTo(..)` to assert two objects - including nested ones - have fields with same values:

💡 AssertJ Tip: use `usingRecursiveComparison().isEqualTo(..)` to assert two objects - including nested ones - have fields with same values:
Robert Niestrój (@niestrojrobert) 's Twitter Profile Photo

In #Java Spring Framework you can autowire a List of beans implementing a certain interface like this. No need to manuall specifying fields and adding them into the List in @PostConstruct method.

In #Java <a href="/springframework/">Spring Framework</a> you can autowire a List of beans implementing a certain interface like this. No need to manuall specifying fields and adding them into the List in <a href="/PostConstruct/">@PostConstruct</a> method.
Robert Niestrój (@niestrojrobert) 's Twitter Profile Photo

#Java Tip: Use Apache Commons Lang3 EnumUtils to gracefully handle Enums. The standard java Enum class throws Exceptions when you pass an incorrect value. But EnumUtils returns safely plain null. There is even a ignoreCase method to get an enum value. t.ly/8c_GZ

#Java Tip: Use Apache Commons Lang3 EnumUtils to gracefully handle Enums. The standard java Enum class throws Exceptions when you pass an incorrect value. But  EnumUtils returns safely plain null. There is even a ignoreCase method to get an enum value. t.ly/8c_GZ
Robert Niestrój (@niestrojrobert) 's Twitter Profile Photo

#Java #JPA @hibernate Tip: If you are using Strings to configure Hibernate you can do a bit better. The interface AvailableSettings has constants for this strings. Benefit of using this is a bit more type safety and JavaDoc for this constants 👉t.ly/iLKLt

#Java #JPA @hibernate Tip: If you are using Strings to configure Hibernate you can do a bit better. The interface AvailableSettings has constants for this strings. Benefit of using this is a bit more type safety and JavaDoc for this constants 👉t.ly/iLKLt
Maciej Walkowiak 🍃 (@maciejwalkowiak) 's Twitter Profile Photo

💡 Spring Boot Tip Once bean is annotated with @Validated, you can use validate method parameters with bean validation annotations, like @NotNull, @NotBlank etc.

💡 Spring Boot Tip

Once bean is annotated with @Validated, you can use validate method parameters with bean validation annotations, like @NotNull, @NotBlank etc.
Maciej Walkowiak 🍃 (@maciejwalkowiak) 's Twitter Profile Photo

⚒️ json-masker - a library that can be used to mask string and/or numeric values from JSON messages 👉 github.com/Breus/json-mas…

⚒️ json-masker - a library that can be used to mask string and/or numeric values from JSON messages

👉 github.com/Breus/json-mas…
Martin Hock (@mnhocktweets) 's Twitter Profile Photo

🚀 Maven Plugin Tip - DepClean 🚀 DepClean automatically cleans the dependency tree of Java projects. It removes all the dependencies that are included in the project's dependency tree but are not actually necessary to build it. 🔥 github.com/ASSERT-KTH/dep…

🚀 Maven Plugin Tip - DepClean 🚀

DepClean automatically cleans the dependency tree of Java projects. It removes all the dependencies that are included in the project's dependency tree but are not actually necessary to build it.  🔥

github.com/ASSERT-KTH/dep…
Bytebytego (@bytebytego) 's Twitter Profile Photo

IBM MQ -> RabbitMQ -> Kafka ->Pulsar, How do message queue architectures evolve? 🔹 IBM MQ IBM MQ was launched in 1993. It was originally called MQSeries and was renamed WebSphere MQ in 2002. It was renamed to IBM MQ in 2014. IBM MQ is a very successful product widely used in

Martin Hock (@mnhocktweets) 's Twitter Profile Photo

🚀 Docker Tool - dive 🚀 Dive - a tool for exploring a docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image. 🔥 github.com/wagoodman/dive

Alex Xu (@alexxubyte) 's Twitter Profile Photo

We are often asked to design for high availability, high scalability, and high throughput. What do they mean exactly? The method to download the high-resolution PDF is available at the end. The diagram below is a system design cheat sheet with common solutions. 1. High

John Crickett (@johncrickett) 's Twitter Profile Photo

79 Resources to read to improve your system design: High Scalability highscalability.com System Design Newsletter newsletter.systemdesign.one/?r=gjveo System Design Primer github.com/donnemartin/sy… System Design Course github.com/karanpratapsin… Engineering at Meta engineering.fb.com AWS

Wim Deblauwe (@wimdeblauwe) 's Twitter Profile Photo

🚀 Spring Boot tip: Easily convert Spring Boot property values between the different formats (.properties, .yaml, env variables) via this website: env.simplestep.ca (Thanks to Simon Martinelli for the tip)

Alex Xu (@alexxubyte) 's Twitter Profile Photo

IBM MQ -> RabbitMQ -> Kafka ->Pulsar, How do message queue architectures evolve? 🔹 IBM MQ IBM MQ was launched in 1993. It was originally called MQSeries and was renamed WebSphere MQ in 2002. It was renamed to IBM MQ in 2014. IBM MQ is a very successful product widely used in

Alex Xu (@alexxubyte) 's Twitter Profile Photo

Logging, tracing and metrics are 3 pillars of system observability. The diagram below shows their definitions and typical architectures. 🔹 Logging Logging records discrete events in the system. For example, we can record an incoming request or a visit to databases as events.

Bytebytego (@bytebytego) 's Twitter Profile Photo

Top 12 Tips for API Security - Use HTTPS - Use OAuth2 - Use WebAuthn - Use Leveled API Keys - Authorization - Rate Limiting - API Versioning - Whitelisting - Check OWASP API Security Risks - Use API Gateway - Error Handling - Input Validation – Subscribe to our weekly

Martin Hock (@mnhocktweets) 's Twitter Profile Photo

🚀 Spring Boot Advanced Tip🚀 Create Your Own FailureAnalyzer Intercepting startup exceptions and converting them into human-readable messages is effectively achieved through a FailureAnalyzer in Spring Boot 🔥 docs.spring.io/spring-boot/do… #SpringBoot #FailureAnalyzer

🚀 Spring Boot Advanced Tip🚀

Create Your Own FailureAnalyzer 

Intercepting startup exceptions and converting them into human-readable messages is effectively achieved through a FailureAnalyzer in Spring Boot 🔥

docs.spring.io/spring-boot/do…

#SpringBoot #FailureAnalyzer