261 - Effective Pattern Matching in Java plus Bonus Talk

We're back to get 2026 ignited not with a flame, but an explosion. January sees not one, not two, but three Java Champions visiting Dublin as we again join forces with the JChampions conference to bring you the best!

First up is author extraordinaire Cay Horstmann, live in-person on the evening of January 22nd as he presents his JChampions talk plus a special bonus talk for our attendees.

TICKETS

Subscribe to DubJUG announcements....

Event map

Additional Information

Talk 1: Effective Pattern Matching in Java

Since Java 14, the Java switch and instanceof statements have been enhanced, in multiple phases, to support pattern matching and a "data-oriented" programming style.

 In this presentation, Cay explores when this programming style is beneficial, and why. (Spoiler: Not as often as one might think from Oracle's presentations, but when it does apply, it is truly useful.) 

Cay describes the syntax of pattern matching, as it has evolved, and shows how it will be further enhanced in upcoming versions of Java. He warns of corner cases of the switch syntax where modern usage clashes with legacy behavior. 

The talk concludes with a set of rules when to use pattern matching and "data orientation" now, how to prepare for future enhancements, and when to stay away.

Cay's talk is being streamed as part of the annual JChampions Conference taking place between Jan 22nd and Jan 27th - see the full four day schedule.

.

Talk 2: Virtual Threads, Structured Concurrency, Extent Locals: When to Use Them, and How.

Project Loom introduces a lightweight threading model to the Java platform.

At first, the blogosphere erupted in displays of denial. Why do we need something new when threads and reactive programming have served us well? The next stage was anger. People tried to use virtual threads with use cases for which they were definitely not designed, and were upset that the results were bad.

The purpose of this talk is to help the audience skip the next two stages of grief and skip ahead to acceptance. Cay will analyse typical concurrent programming tasks and show how to assess their Loom-friendliness. He will dig into the new concepts of structured concurrency and extent locals and give examples of when to use them, and when to stick with existing practice.

As a result, attendees should be able to walk away with a more nuanced understanding of when and how to employ virtual threads in their systems.

.

About Cay Horstmann

Author of Core Java, Scala for the Impatient, and many other books.

After growing up in the German countryside, Cay studied in the United States (M.S. in computer science from Syracuse University, and a Ph.D. in mathematics from the University of Michigan in Ann Arbor).

For four years, he was VP and CTO of an Internet start-up that went from 3 people in a tiny office to a public company. He taught computer science at San Jose State University and held visiting appointments at universities in Germany, Switzerland, Vietnam, and Macau.

In his copious spare time Cay writes books and articles on programming languages and computer science education.

Find him on Linkedin or horstmann.com/unblog

.

About the Dublin Java User Group

Since 2006, the Dublin Java User Group, aka DubJUG, has been working with the global Java community to amplify technical knowledge for the benefit of Irish based developers and businesses. It is a resident member of Dublin's TechMeetup.space. 

Discover more: Website / LinkedIn

.

Our Partners

SQUARESPACE, the design-driven platform that helps entrepreneurs build their brands and businesses online. SQUARESPACE empowers millions of customers in more than 200 countries and territories with all the tools needed to create an online presence, build an audience, monetize, and scale their business. The SQUARESPACE suite of products range from websites, domains, ecommerce, and marketing tools, as well as tools for scheduling with Acuity, and creating and managing social media presence with Unfold.

Their team of more than 1,700 professionals is headquartered in bustling New York City, with offices in Dublin, Ireland and Aveiro, Portugal, and coworking spaces in the UK, Netherlands, and Australia.

Discover more: Website / LinkedIn

.

Integral Ad Science is a leading global media measurement and optimization platform that delivers the industry’s most actionable data to drive superior results for the world’s largest advertisers, publishers, and media platforms. IAS’s software provides comprehensive and enriched data that ensures ads are seen by real people in safe and suitable environments while improving return on ad spend for advertisers and yield for publishers. Our mission is to be the global benchmark for trust and transparency in digital media quality.

Discover more: Website / LinkedIn

.

GONG is on a mission to empower companies to unlock their full revenue potential. We help everyone in revenue teams to improve productivity, increase predictability, and drive revenue growth by deeply understanding customers and business trends and taking impactful actions

Discover more: Website / LinkedIn

.

Stackand.Co enrich the professional lives of Java software professionals - with over 20 years experience in the Irish tech recruitment market, they have helped many great people elevate their careers, and many great companies build their teams. 

Perhaps they can do the same for you working with companies like this one?

Discover more: Website / LinkedIn

.

GuruTeam delivers high end ICT learning, mentoring and consultancy services, in Ireland, the UK and worldwide. Their expert instructors formulate bespoke training to suit their clients and can deliver programmes on or offsite.

Discover more: Website / LinkedIn

.

FINEOS is a leading provider of core systems for life, accident and health insurers globally with 7 of the 10 largest group life and health carriers in the US as well as 6 of the largest life insurers in Australia. With employees and offices throughout the world, FINEOS continues to scale rapidly, working with innovative progressive insurers in North America, Europe, and Asia Pacific.

Discover more: Website / LinkedIn

.

tcube is a low-cost no frills workspace provider located at O'Connell Bridge in Dublin city centre. They provide hot-desks, dedicated co-working desks, office-for-a-day, meeting rooms, and event space.

Discover more: Website / LinkedIn

.


Java companies. If you would you like to share your news and opportunities with our community of software developers, please get in touch here :)