Hamiltonian and Feynman aspects of secondary quantization