Oracle agreed to acquire online-software maker Taleo for $1.9 billion, in the latest sign that the software industry's old guard is embracing a newer model.