Good practice for sending data from Arduino to Processing

And how do you catch the data In processing code ?
I’m curious