How to connect Processing to Arduino?

And which are the code lines that are used for that?