Arduino can not be
programmed from Processing. Although they share a similar development environment and logic, they are different languages (Processing is based on Java, Arduino on C):
But
communication is possible (not only from Processing but in general). Loaded with a special program like lib Firmata one can read and control the Arduino using a special protocol (i.e. via an USB or Bluetooth connection).