Most arrangements I've seen have a power source hooked up to a resistor hooked up to a capacitor. Like this
http://hyperphysics.phy-astr.gsu.edu/hbase/electric/capchg.html
Why? I mean, why can't we directly hook the capacitor to the emf?
sounds stupid, I know.
Also, resistors follow...