Ok, I got confused ... for soldering technique - there are youtube videos on 'how to solder'. For 'where to connect the resistors for lighting...
First, resistors have no polarity, so which way around you solder them on makes no difference.
If you have incandescent bulbs, those bulbs are rated for the voltage of the system typically - so on a 19v system, you probably are running 19v bulbs. The bulbs typically have their rated voltage stamped/printed on the metal screw in base in some form, or printed on the glass. This lamp acts as a resistor and gives out some of the energy as light and some as heat, like any bulb.
If you have LED's it is different, as LEDs are rated not for a voltage but are instead rated for a current in mili-amps typically. LEDs are not resitors, they will flow whatever current you give them, and that is why you need to always put a resistor inline with the LED's to limit the current that flows through them otherwise they burn out.
(+) --- R ----|>|------ (-)
An LED typically will drop about 1.7 to 2.0 volts in its conductive state, but as its resistance is very low, it will effectively convert to full current at that drop as if the resistance is 0, and flame out without a resistor.
An LED is typically rated at 20mA for example (typical for some small surface mount LEDs of today ). So you need to ensure that you never run more than 20mA through the LED. If applying 19v across the LED+Resistor combination, and say 1.7 of that is the drop across the LED, then 17.3v would be the drop across the resistor. So the smallest resistor to use then is R=V/I = 17.3V / 20mA = 865 ohm. Hence lots of folks just use a 1k (1000 ohm) resistor. Larger resistors result in a lower current, and less bright LED but are always safe.
The LED information sheet will tell you the maximum rated current, but using 20mA is a safe bet, so using a 1k ohm resistor or larger is a safe bet.
Now if you are connecting a bunch of LEDs in series or parallel, you can adjust the computation.
If you connect 5 in series, you only need 1 resistor for the 5:
(+) --- R --- |>|---|>|---|>|---|>|---|>|------ (-)
Here you have the same 1.7 v drop across each LED, so you get a 5*1.7v = 8.5v drop across the LEDs, so with a 19v supply you end up with 19-8.5 = 10.5v drop across the resistor. So to limit ot the same 20mA, you now have 10.5v/20mA = 525 ohm. If you use a 1k ohm resistor, the LEDs are likely to be about 1/2 as bright as the prior case, so choosing a 600ohm resistor is better to attain the same level of brightness.
If you connect 5 in parallel, you can also do with 1 resistor if you wire it up one way, or 5 resistors if you wire it up differently:
Parallel w/ one resistor: (sorry for the formatting but as I cannot just inject a <pre> </pre> html formatting command the spaces get crushed )
(+) --- R ---+--|>|---+
+--|>|---+
+--|>|---+------ (-)
+--|>|---+
+--|>|---+
Here all the LED's drop the 1.7v , so just as in the 1 LED case, the resistor has 17.3v across it, and you install a 1K ohm resistor, but the current is now split over the 5 LEDs somewhat evenly.. so the 17.3mA current gets split 5 ways, which is 8.66mA per LED.....so they will be much dimmer than running near 17mA.
If you want each of the 5 LEDs to run full brightness, you need them all to run at their 20mA level, so you need to feed the parallel set (20mA*5=) 100mA of current. So you can treat that set of 5 parallel LEDs as one big LED that drops 1.7 V and can take 100mA of current. (rather than dropping 1.7v and taking 20mA current max).
So you can then use a 1.7V/100mA = 17ohm resistor, but thats the limit, you'd want to use a much larger resistor, say 100 ohm. AND you have to pay attention to the current handling capacity of the resistor here, something you could probably ignore before. If you run 100ma through a 17ohm resistor, that is P=I*I*R = .1 *.1 * 17 = 0.17W of power, so make sure the resistor is rated for 0.17 watts. For discreet resistors thats typically not a concern as they are rated for 0.25w or more.. but you need to start paying attention or risk burning out the resistor as well.
This is a possible usage if you are lighting a train platform, with 5 lamps. However, I'd recommend you still wire a resistor with each LED (example below) just because its more fault tollerant. If you ever mistakenly feed power directly to the LED in this case, you burn it out and then have to disassemble the light to replace the LED. In the below example, I'd mount the resistor very close to the LED, in the lap post, etc, so there is no chance of mistakenly connecting power directly to both sides of the LED.
Saving 4 resistors for this trickier solution when they are pennies in price isn't worth the potential consequences of mistakes in my book.
Parallel w/ 5 resistors:
(+) ---+---R---|>|---+
+---R---|>|---+
+---R---|>|---+------ (-)
+---R---|>|---+
+---R---|>|---+
Here, each individual resistor-diode pair is its own circuit from + to -, so they act as 5 independent 1 LED + 1 Resistor segments; use a 1k resistor.
If you build the resistor into the lap post, or into the locomotive, this is the likely arrangement - pair a resistor with each LED.