Peskin and Schroeder (1995, p.82 and p.292) define the two-point correlation function of a $\phi^4$ theory as
$$\langle \Omega|T\{\phi(x)\phi(y)\}|\Omega\rangle\tag{4.10}$$
and the generating functional $Z[J]$ of a $\phi^4$ theory as
$$Z[J] \equiv \int \mathcal{D}\phi \; \textrm{exp} \left[i\int d^4x(\mathcal{L}+J\phi)\right].\tag{9.42}$$
What are the corresponding definitions for the correlation function and the generating functional in QED?