When using a ceramic resonator, the same rules for crystals apply. Ceramic resonators are often used as they are lower in cost and less prone to vibration damage. However, as mentioned earlier, they tend to require more drive level.
Resonators with a frequency greater than 3 to 4 MHz can be difficult to drive, due to limitations in the available drive level. As a general rule, avoid resonators with built-in capacitors. Using built-in capacitors will prevent you from being able to make changes easily during the qualification process. Plus, many resonators use capacitors that are too large for the drive level supplied by the microcontroller.