Rick, this works great for me. I have 4 group 31, 1150CCA, dont remember the AH, gel batteries. As I said it wasn't cheap and a xantrex 1800watt inverter, charger with auto switch.
I have a 2850 Bayliner with twins and had 4 batteries in the stern, which made my a$$ sag a bit. So I got gel batteries and installed them in the center compartment of the V berth. I installed the inverter in the compartment next to the batteries. I had to install a vent in the compartment to get ventilation for the inverter. Check out the Xantrex inverters, I think they had a 1200 watt inverter with a 20 amp charger also. Which probably would have worked for me, but I went with the 1800 watt with the 40amp charger.
As Pascal said, you wire it into your breaker panel so its all automatic when you unplug the shore power it switches from the charger to the inverter and you have 110v power to your boat.
I have went from Thursday night to Sunday night and the batteries got down to 11.9 volts. Thats with running the fridge, microwave, coffee pot, fan and the TV, which my wife leaves on most of the night.
As I said, I dont have AC on the boat, so I like this better then a generator.
Almost forgot, the Xantrex comes with a good monitor which shows the volts in your batts and the amps for the charger when charging them, also fault codes.