Under Cabinet Lighting with Transformer

If doing Led or Xenon lighting, how exactly is the wiring done. Is a switch wired to an outlet which the transformer is plugged into? If so, where is the transformer typically placed? Then the lights are strung from the transformer I assume? What if I have a kitchen with cabinets on 2 walls but the walls are far apart and serperated by a hallway, how can I get lights from transformer under both sets of cabs? thanks

When have you ever known homeowners to meet code? That is why you guys have the license. As a homeowner, I try to stay within the codes as best as the situation requires, but if cannot do it, the job does not get done by myself.

When have you ever known homeowners to meet code? That is why you guys have the license. As a homeowner, I try to stay within the codes as best as the situation requires, but if cannot do it, the job does not get done by myself.

This is becoming more and more true when time to reinsure a home today throughout the US

Things that are non-code compliant are being required to be brought to compliance before insurance can be bought.
I am working with a homeowner who is having problems on a house they bought two months ago and still have not gotten insurance as yet.
The bottom line is, no insurance no loan. They have already bought the home and the insurance company hired an Home Inspector thus the problems

Now if they can't get insurance they lose what they have paid down on the home which is a lot of money