How are applications for visa lodged?

Nowadays, most visa applications can be lodged electronically such as visitor visas for citizens of some countries, student visa applications for citizens of some countries and short stay business visas for citizens of some countries.  Some visa applications still need to be lodged as a hard copy with an appropriate office of Department of Immigration.