It is definitely not the same between a 4x4 and a 4x2 vehicle. The major difference between the two is that in a 4x4 application, there is the drive shaft which runs through the middle of the hub. You have to remove this in order to get to the bearing. 4wd is much more involved than a 2wd. Not knowing which year of vehicle you have, I cannot tell you exactly how they differ, but needless to say, there's a bunch. Replacing the rotor for the breaks is a pretty straight forward operation. Depending on the setup, in order to change out the bearings the additional steps may (or may not) include (but are not limited to):
- Removing the drive shaft (as I mentioned)
- Removing the steering knuckle (breaking the upper/lower ball joints)
- Pressing out old bearings
- Grease packing the new bearings (if needed)
- Pressing in new bearings
- Reinstallation of the knuckle
- Alignment of front end after assembly
There may be other things involved as well. Without the Year/Model of your vehicle, this makes it a little harder to pin point the steps needed.