The CV joint is part of the Front drive shaft. And it is basically a ball and socket. I'm not real sure about your wheel bearing becaus yours is pretty new. One on my 96 was like $50. Most folks here know more than me. Somebody can probably give you a better answer.
Black '96 4.0
IRO 3.5" with Adj LCAs
Dana 30 Locked, Dana 35 Detroit Truetrac, 4.56s
Black Jeep Society