Hello Alloy,
don't forget that do you need a Pickit2 or 3 to first put the bootloader into your virgin MCU !
OR
If you want a Ready for use MCU with a bootloader in it , you can use
MikroE supplier:
Ready For Pic Board ex 18F45K22
a StartUSB PIC Board 18F2550
Clicker PIC18F47J53
Clicker2 PIC18F87J50
.. etc ....
or other suppliers
Also how it happens that bootloader code does not confict with uploaded hex?
with Mikroe HID bootloader, never mind about this problem
it's transparent.
(Except that you loose some FlashRom space for your application, take care about ..)
Do I need only RX/TX lines or something else and if yes, why?
The bootloader is a programme wich establish a dialogue with a PC computer
So you need somme INput/outPut to do this exchange of data
it is mainly with trough UART RX TX serial link
or via Virtual Port COM PC USB<-> FTDI<-> UART PIC
or direct via USB on somme evoluate PIC as 18F87J50
very high speed to download the HEX file to the PIC.