It is all the same program: ex is the "command line" version of vi (parts of ex mode are entered when you use : commands in vi) It is possible to switch from command to visual mode using :visual.
view is read only mode of vi/ex, as if the file did not give you the write privilege, so that after changes ZZ or :w will not overwrite the file (but the :w! will)