Diesel engines use direct fuel injection -- the diesel fuel is injected directly into the cylinder.
The injector on a diesel engine is its most complex component and has been the subject of a great deal of experimentation -- in any particular engine, it may be located in a variety of places. The injector has to be able to withstand the temperature and pressure inside the cylinder and still deliver the fuel in a fine mist. Getting the mist circulated in the cylinder so that it is evenly distributed is also a problem, so some diesel engines employ special induction valves, pre-combustion chambers or other devices to swirl the air in the combustion chamber or otherwise improve the ignition and combustion process.