Take time to catch up with the current technology. It is too easy to become complacent in your specialization, then suddenly unemployable when that special focus is eclipsed by something better in the marketplace. Marshall Rose often referred to the phenomenon as "overcome by events". In the software development business, the reward for a job well done is often unemployment.
The book “The Pragmatic Programmer” talked about developing a “Knowledge Portfolio,” which is like a stock portfolio.
You have certain “blue chip” skills, like Java or Dot Net, they don’t necessarily pay a premium but they are constantly in demand.
In addition, you identify certain areas, that while they may never take off, can wind up being lucrative if they do.
Invest the time to become the expert on them.
If you can develop a balanced knowledge portfolio, that puts you in a better position to make it through the ups and downs that happen in the IT world.
I am lucky enough to be in Design Engineering and should be able to create much more for the emerging market needs. (I Hope) :^)