Developing Web-based curricula using Java physlets