Serial connection between Processing and Arduino doesn't work

Would you be able to suggest a good resource to get to grips with the basics of serial communication? I have basic/intermediate C++ and can only work with the arduino IDE and starting out with processing.