Applying energy for connecting using means for applying energy being within the device, e.g. integrated heater