Use the second one. I believe that the first one is there for backwards compatibility. It used to be done that way. But you are correct in that there is no point in using configure
and I have never used it in my projects.
Edit
I found that the docs state that configure
is there for legacy reasons. http://expressjs.com/api.html#app.configure