add web.xml and persistence.xml