What is the process in using only parts of viruses such as proteins which can be recognized by the immune system to make vaccines such as in the case of the spike protein for Mers-CoV? I understand it is a method of active vaccination but I don't understand how it can now be used as a vaccine. Is it the same process used if the virus's DNA is being used?