X-rays and microwaves respectively in vacuum