"An active device or component is something which can provide an infinite energy or non-zero power for an infinite interval"
I learned this definition for an active device in a book, which is valid for capacitor, inductor and batteries (I have evaluated). I was wondering what is a "PN junction", "junctions of a transistor", "OPAMP", "JFET", "MOSFET"? I mean what are the above mentioned devices inside the quotation marks? Are they active devices or passive? If either one then please provide explanation for my understanding.