According to LDS teaching on this page, a few weeks after John the Baptist conferred on Joseph Smith the Aaronic Priesthood, Peter, James, and John appeared to Joseph Smith to confer on him the Melchizedek Priesthood.
According to other LDS teaching, cited in this question, the Apostle John is still alive today, but Peter and James were both martyred.
So, my question is regarding how Peter, James and John appeared to Joseph Smith. Since John was still living, did he physically appear to Joseph Smith. I presume that Peter and James appeared to him spiritually, but not physically.
Does the LDS church clarify the manner in which John, in particular, and by contrast James and Peter appeared to Joseph Smith?