All the transistor parameters must match the requirement only then can be used.
Different transistor designs respond to a frequency in different ways. It's important to double-check the power and voltage ratings.
For example, in the case of a bipolar junction transistor in the common-base circuit, the power gain is low but in the case of a common emitter, the power gain is high.