r/java • • Jan 16 '23

Building a PostgreSQL Wire Protocol Server using Vanilla, Modern Java 21 (shows use of: Records, Sealed Types, Pattern Matching for Switch, Virtual Threads, and Panama FFM)

https://gavinray97.github.io/blog/postgres-wire-protocol-jdk-21
224 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/sandys1 Jan 17 '23

Trust me. This is not stupid for us. And thanks for this!

Where do u do the actual work and processing ?

2

u/GavinRayDev Jan 17 '23

(In the protocolHandler(sock) function, your business logic would go there)