www.mirkosertic.de
  • Technology Radar
  • Essential Books
  • My favorite postings
  • Blog
2013
  1. Java Serialization Showdown: XML vs JSON vs Native - Surprising Performance Results

    Performance ,Serialization

    In a head-to-head battle of Java serialization methods, XML surprisingly outperforms JSON in marshalling but falls flat on its face during unmarshalling due to heavy DOM object creation. Binary serializers like ObjectOutputStream and Google Kryo steal the show with blazing-fast performance, leaving their human-readable counterparts in the dust. Read more...

  2. Supercharging Web Integration: JavaFX Meets HTML5 Microdata Magic

    Enterprise ,HTML5 ,Interesting ,User Interface

    Discover how to build a sleek portal solution without expensive containers by combining JavaFX's WebView with HTML5 Microdata! This clever approach enables seamless application integration through simple metadata annotations, making cross-application navigation a breeze while keeping your codebase clean and maintainable. Read more...

  3. Supercharge JavaFX Data Visualization with D3.js Integration

    HTML5 ,JavaFX

    Discover how to bypass complex custom control development in JavaFX by leveraging the power of D3.js through WebView! This clever hack demonstrates beautiful data visualization using an animated sunburst chart in a desktop search application, proving that sometimes the best JavaFX solution is actually JavaScript. Read more...

  4. Building a Better Desktop Search: A JavaFX and Lucene Powered Solution

    Enterprise ,Interesting ,JavaFX ,Search ,User Interface

    Fed up with slow Windows search? Here's a sleek JavaFX-based desktop search engine that combines the power of Apache Lucene with the beauty of d3js visualizations. This clever hybrid solution brings Google-like search capabilities to your desktop, complete with stunning sunburst diagrams and lightning-fast results. Read more...

  5. Building a Google-Style Search Parser for Lucene: Simple Yet Powerful

    Enterprise ,Interesting ,Search

    Transform your Lucene searches into Google-like magic with this nifty query parser implementation! Supporting everything from basic term searches to fuzzy matching and phrase queries, this code snippet makes complex search operations feel like a breeze. Read more...

  6. A Domain-driven Design Example: From Chaos to Clean Architecture

    Domain-driven Design ,Interesting

    Journey through a real-world transformation from messy Excel sheets to a well-structured domain-driven design solution in body leasing business! See how breaking down a monolithic model into bounded contexts and applying DDD patterns can create magic, while keeping the business logic clean and maintainable. Read more...

  7. Supercharge Your DokuWiki with HTML5 Microdata Magic

    HTML5 ,Microdata

    Transform your DokuWiki into a semantic powerhouse by adding HTML5 Microdata - Google's preferred way to make your content machine-readable and SEO-friendly! With just a few tweaks to templates and parsers, your wiki pages will speak the language that search engines love. Read more...

  8. Elegant State Machines: A Java Enum Approach

    Domain-driven Design

    Discover how Java Enums can revolutionize your State Machine implementations with less boilerplate and better persistence capabilities! This elegant approach shows how to leverage Enum's built-in behavior capabilities to create clean, maintainable state transitions while saying goodbye to interface complexity. Read more...

  9. Beyond MVC: A Guide to Modern UI Architecture Patterns

    Modernization ,Web

    Dive into the world of UI architecture patterns where MVC isn't the only player in town! While Model-View-Controller has been the go-to pattern for decades, alternatives like MVP and MVVM offer exciting possibilities for better testability and cleaner separation of concerns. Read more...

  10. Creating Enterprise Scala Beans: When Scala Meets Java EE

    Enterprise ,Interesting ,Scala

    Discover how Scala can seamlessly power Enterprise Java Beans (EJBs) in a Java EE environment! A simple experiment with TomEE and a stateless session bean proves that Scala's Java interoperability makes Enterprise Scala Beans not just possible, but surprisingly straightforward. Read more...

  11. Cross-Cutting Concerns: Bridging Scala and AspectJ with Maven

    AOP ,Interesting ,Scala

    Discover how to seamlessly integrate AspectJ's powerful aspect-oriented programming with Scala projects using Maven, despite some IDE challenges! This technical fusion shows how to implement cross-cutting concerns like security and transaction handling in Scala while leveraging AspectJ's bytecode manipulation capabilities. Read more...

  12. Seamlessly Integrating Scala Classes with JPA: A Master-Detail Persistence Guide

    Enterprise ,Interesting ,Scala

    Discover how to persist Scala classes with JPA 2.0 while maintaining clean, boilerplate-free code! This clever integration showcases a master-detail relationship using Hibernate, with just one catch - stick to Java collections instead of Scala's native ones. Read more...

  13. Seamlessly Mixing Scala and Java: A Practical Guide for Legacy Applications

    Interesting ,Legacy ,Scala

    Mix the power of Scala with your existing Java codebase using Maven and IntelliJ - it's easier than you might think! Experience the best of both worlds by combining Java's legacy with Scala's static typing in one harmonious project structure. Read more...

2012
  1. NoSQL Database Showdown: A CAP Theorem Perspective

    Database ,Interesting ,NoSQL

    Dive into a comprehensive comparison of seven powerful databases, from MongoDB's big data prowess to Neo4J's flexible graph capabilities! Understand how the CAP theorem shapes their design choices, revealing why you can't have consistency, availability, and partition tolerance all at once in distributed systems. Read more...

  2. Streamline Your Web App: Pretty URLs vs Server Round Trips

    JavaServerFaces(JSF) ,Performance ,Web

    Discover how pretty URLs can revolutionize your web application's performance by eliminating unnecessary server round trips. Instead of complex JSF navigation patterns forcing multiple server interactions, leverage clean URLs like '/customer/1344' to create a faster, more scalable user experience with bonus SEO benefits. Read more...

  3. Supercharging Hibernate with Full-Text Search Capabilities

    Enterprise ,Modernization

    Dive into the powerful combination of Hibernate Search and Apache Lucene to unlock advanced full-text search capabilities beyond your domain model. Discover how to index external documents and find similar content using Lucene's MoreLikeThis feature, making your Java applications smarter and more searchable than ever. Read more...

  4. Building Interactive Graph Visualizations with JavaFX: A Simple Guide

    Interesting ,JavaFX ,User Interface

    Transform buttons into interactive graph nodes with JavaFX's powerful scene graph concept and create visually appealing network visualizations with just a few lines of code! Watch nodes dance in a circle while maintaining their connections through edges, all while enjoying smooth drag-and-drop functionality and multi-select features. Read more...

  5. Mastering Log Management with Logstash and Kibana

    Enterprise ,Logging ,User Interface

    Tired of hunting down logs across multiple servers? Logstash comes to the rescue as a powerful open-source solution for centralized log management. Combined with Kibana's sleek interface, it transforms the tedious task of log analysis into a surprisingly enjoyable experience! Read more...

  6. Supercharging Java Entities with CDI: An AspectJ Adventure

    AOP ,Dependency Injection ,Enterprise ,Modernization

    Discover how to break free from CDI container limitations and inject dependencies directly into Java Entities using the power of AspectJ and AOP! This clever hack combines field-access pointcuts with around advice to achieve thread-safe dependency injection, perfect for those tricky legacy code situations. Read more...

  7. Layered Software Architecture: From Traditional to Onion Pattern

    Domain-driven Design ,Enterprise ,Modernization

    Turn your software architecture inside out with the Onion pattern - putting business logic at the core instead of infrastructure! This elegant approach ensures clean dependencies and makes your code more maintainable by wrapping core functionality with decorative layers like security and logging. Read more...

  8. Modernizing Legacy Apps: Adding CDI Magic to Swing Applications

    Dependency Injection ,Enterprise ,Legacy ,Modernization

    Transform your aging Swing applications into modern marvels by adding CDI superpowers with just a few lines of code! This clever hack shows how to bridge the gap between legacy UI frameworks and contemporary dependency injection, making maintenance a breeze and testing a joy. Read more...

  9. The Hidden Dangers of toString(): Keeping Business and UI Logic Separate

    Interesting

    Discover why blindly overriding toString() in Java can lead you down a dangerous path of mixed responsibilities and unexpected behavior. Learn how mixing business logic with UI presentation through toString() can create maintenance nightmares and surprising runtime exceptions, especially when working with ORM frameworks. Read more...

  10. Why Perfect Abstractions Are a Myth: Understanding Spolsky's Law

    Interesting

    Dive into the fascinating world of leaky abstractions, where even the most elegant software solutions can't fully hide their underlying complexity. From TCP/IP protocols to SQL queries, discover why developers can't escape understanding what's under the hood - and why that's actually important! Read more...

  11. Taming Graph Databases: A Journey from JPA to OrientDB

    Enterprise ,NoSQL

    Dive into the exciting world of graph databases with OrientDB, where storing object relationships becomes as natural as drawing connections on a whiteboard! While exploring alternatives to traditional relational databases, this hands-on experiment reveals both the promise and pitfalls of using OrientDB's JPA-compatible solution for storing Java object graphs. Read more...

  12. Smart Thread Naming: Your Secret Weapon for Debugging Multi-User Applications

    AOP ,Logging ,Threading

    Discover how naming threads intelligently can revolutionize your debugging experience in multi-user environments, without relying on complex logging frameworks. By simply using thread names as meta-information carriers, tracking user-specific issues becomes a breeze, whether you're dealing with stack traces or heap dumps. Read more...

  13. Building Resilient Spring Applications with Netflix Hystrix: A Simple AOP Approach

    Modernization ,SpringBoot ,Web

    Transform your Spring application into a fault-tolerant powerhouse using Netflix Hystrix and the magic of AOP! With just a simple annotation and an aspect, you can add circuit breakers and monitoring capabilities to protect your services from failures, complete with a sleek dashboard to keep an eye on everything. Read more...

  14. Building a Enterprise Search Engine in One Day with Apache Solr

    Enterprise ,Search ,User Interface

    Transform your file system into a powerful searchable knowledge base using Apache Solr's magic in just 24 hours! With a simple crawler, content extraction, and a Google-like UI, finding documents becomes as easy as pie - including cool features like similarity search and duplicate detection. Read more...

  15. Nullpointer-free Java: Combining AOP with Modern Validation Standards

    AOP ,Interesting

    Stop fighting those pesky NullPointerExceptions with repetitive checks throughout your code! By combining the power of Aspect-Oriented Programming with JSR-303 validation standards, Java applications can become more robust while maintaining clean, DRY code that handles null checks elegantly. Read more...

  16. Domain-driven Design Demystified: Essential Building Blocks and Patterns

    Domain-driven Design ,Modernization

    Dive into the fascinating world of Domain-driven Design (DDD), where complex business domains meet elegant software solutions! From strategic patterns like Bounded Contexts to tactical elements like Entities and Value Objects, discover how DDD brings clarity to software architecture and bridges the gap between business experts and developers. Read more...

  17. Simplify I18N: XML-Based Resource Bundles for Safer Java Internationalization

    I18N ,XML

    Say goodbye to messy property files and risky hardcoded resource keys in Java! Transform your I18N workflow with a sleek XML-based approach that generates type-safe constant interfaces and keeps all your translations neatly organized in one place. Read more...

  18. Smart Domain-Driven Queries: Leverage Your Domain Objects for Search Specifications

    Database ,Enterprise

    Transform your domain objects into powerful query specifications without writing redundant code! Using Mogwai SpecificationBuilder, domain objects become dynamic query builders through clever proxy magic, making database searches both elegant and maintainable - just like creating mocks, but for queries. Read more...

  19. Effortless Java Swing Data Binding: A Guide to Mogwai Framework

    Databinding ,Swing

    Transform your Swing UI development with Mogwai DataBinding's magical touch! This nifty framework turns the tedious task of connecting Java objects to Swing widgets into a breeze, offering a simple yet powerful solution for bidirectional data binding. Read more...

 Newer Posts >>

© Mirko Sertic · Imprint / Impressum

Mirko Sertic
Josefine-Mauser-Straße 66
48157 Münster
Germany

Back to top