Primitive Model Simulations And Mean-Field Studies Of Electric Double Layers