Pervasive computing has greater influence in different domains on both local and global scenarios. It is important for researchers to identify the challenges, rewards, goals, and methods of developing these technologies in different domains to fully aware of its potential. Pervasive computing would take away the boundaries in computing and ultimately, benefit the whole society. Just as a smart car or a smart home or a smart classroom, it should not be hard to anticipate a smart student or a smart teacher. In this paper, several issues pertaining to education and pervasive computing are discussed. The different applications and the challenges in implementing them are analyzed. The roles of a teacher and a student in the ubiquitous era with respect to the cognitive domain are listed and an educational framework is proposed.