Ultimately, if the question is "how do I make a current source", or "how do I drive a load that requires constant current", there are two kinds of "real" current sources in real circuit applications.
The more generic one is a semiconductor device acting as a current regulator (ie. uses negative feedback to keep the output current constant). You can get ready-built current regulator ICs, even two-terminal current sources (called current regulator diodes) with internal feedback.
These will keep the current at the set value as long as the voltage necessary to do this is below the input voltage of the current regulator (actually below a somewhat lower voltage, as the regulator itself has a minimum voltage drop too).
If however you have a static input voltage, and a static load (such as when you are driving an LED from a battery), then you just set the current using grade school circuit design principles, applying Ohm's law and placing a resistor of an appropriate value in series with the load.