Per Lilja (@perlilja) header
Per Lilja (@perlilja) profile picture

Architect, developer and freelancer. Helping customers to build scalable Java applications. Java Champion wannabe. https://teapawt.org/t.co/05oh9Q48tQ

Hässleholm
Joined April 2009
Photo by Per Lilja (@perlilja)Photo by Per Lilja (@perlilja)Photo by Per Lilja (@perlilja)Photo by Per Lilja (@perlilja)Photo by Per Lilja (@perlilja)Photo by Per Lilja (@perlilja)
1999: “Go away, or I’ll replace you with a very small shell script.” 2019: “Go away, or I’ll replace you with a YAML file.” 2025: “Go away, or I’ll replace you with a prompt” #DevHumor #SoftwareEngineering #AI #Automation
1
2
38
Amazing that the '90s 8 fallacies of distributed computing are still overlooked. Developers often forget about latency & network issues, making too many network calls. A timeless lesson we need to remember! #SoftwareDev #TechInsights #Java
2
44
What is Single Responsibility Principle? Wrong answers only 😂 #DevHumor #CodeLife #CodingMemes #ProgrammingJokes #SRP #SoftwareEngineering #Java
3
75
Only one method per class
25
FInally, today Java 21 will be released! Here are some of the highlights: - Virtual threads: A new lightweight threading model that can improve performance and scalability of concurrent applications. - Record patterns: A new feature that makes it easier to deconstruct record types in pattern matching expressions. - Pattern matching for switch: A new feature that allows you to use pattern matching in switch statements, providing more concise and expressive code. - String templates: A new preview feature that provides a more concise and expressive way to create string literals. Follow the live stream with 8 hours of talks about the release: youtube.com/watch?v=E8NV68ih… #Java21 #Java #Programming
1
63
Using HTTP Interfaces with the new Rest Client in Spring Boot 3. seems really nice. Thanks, @therealdanvega for a great video: youtube.com/watch?v=UDNrJAvK…
1
82
Great read
I wrote a long read about Rich Domain Model with Hibernate. Points: 1. What is Rich Domain Model? 2. What's wrong with Anemic Domain Model? 3. Step by step solution. 4. What cons does Rich Domain Model have? dev.to/kirekov/rich-domain-m… #java #hibernate #article #programming
1
26
Great article about different design principles in a Microservice architecture.
10 Microservice Design Principles Java developers should learn 1. CQRS 2. SAGA 3. Database Per Service 4. Circuit-breaker 5. API Gateway 6. Event Sourcing 7. Strangular 8. Ext. Configuration learn more - javarevisited.blogspot.com/2…
61
Great thoughts about optimizing your API endpoints.
I spent 3 days optimizing a poorly performing API endpoint. From 𝟲𝘀 ➡➡➡ 𝟬.𝟰𝘀 Here's what I learned: - Focus on bottlenecks first (biggest payoff) - Reduce the number of round trips - Caching as a last resort (complexity) - Parallelize external calls if they don't depend on each other How do you approach performance optimization?
1
93
ArchUnit seems to be an interesting library for testing your application architecture, for example, it allows you to write tests that ensure your architecture remains clean and consistent. 🏛️🛠️ #ArchUnit #Java #CodeQuality
24
Great article about TDD and Github CoPilot from Thoughtworks, you can read it here: martinfowler.com/articles/ex… My summary: Generative AI can help with software development, but TDD is essential for good code quality. Read my summary in
1
76
Here are some specific points from the article that I would highlight: Generative AI can help with software development by providing code completion suggestions, but it's important to use TDD to ensure that the code is well-written and tested.
1
14
Stumbled upon a goldmine of insights about #Java SE, JDK, OpenJDK, LTS and the intricate world of Java releases & vendors. Whether you're a novice or a seasoned coder, this is a must-watch! 👉 youtube.com/watch?v=3bfR22iv… #JavaExplained #CodingResources
12
Experimenting with the #AI assistant in #IntelliJ. It's not flawless, but the potential looks good! #CodeLife #ArtificialIntelligence #CodingFuture #Java
24
"The code you write makes you a programmer. The code you delete makes you a good one. The code you don't have to write makes you a great one." - Mario Fusco
12
#Kotlin notebooks, it may be time to look at Kotlin as an alternative to #Java. #KotlinDev #CodingAdventures
26
Unravelling the mystery of evolutionary architecture: Picture this – crafting nimble microservices that morph into powerful monoliths. Then BOOM! Your production system detonates, ushering in a fresh start. Am I on the right track? #Microservices #ArchitectureJourney #java
26
Wrote a post about #Java Object Headers! #Java #Coding. Check it out: codemonkeyconsulting.se/home…
23