In order to solve the problem of high cost and single way to practice or test for the students majoring in hotel management, a 3D virtual hotel management system for students course practice and examination is built by using technologies of 3ds Max、Virtual Reality-Platform and J2EE. The flow path and realization techniques are deeply analyzed about room service. The virtual reality of hotel scene and the management of course information are discussed in detail. Through this system, students can complete the course practice and test as in the real world. Meanwhile, teachers can instruct and test students online.