Welded hydraulic cylinder with front flange and threaded rod