We've done significant efforts to move to functional programming and immutability at my customer in our current project. The application is written in Kotlin and uses Spring (rest - yes, certainly REST as well, but the linguistic rest of the framework jungle is insignificant now). The immutable part was OK