Does word "ease" have the same meaning in the following two sentences?

He passed all the exams with ease.

They put it into containers for ease of transportation.
the same meaning