The converse does not hold.
If R = Z[X], then (2) and (X) are prime ideals; but they are not maximal, ({2,X}) being a bigger proper ideal.