I'm reading through Lang's algebra. Lang gives the Jacobson density theorem in the following way:
Let $R$ be a ring (with unity) and $E$ a semisimple $R$-module. Let $R' = \operatorname{End}_R(E), \ R'' = \operatorname{End}_{R'}(E)$.
Let $x_1, \ldots, x_n \in E, f \in R''$. Then there exists $r \in R$ such that $$f(x_i) = r.x_i, i = 1, \ldots, n .$$
In other words, $f$ acts as some $r \in R$ on every finitely-generated submodule of $E$. Of course, if $E$ is finitely generated, every element of $R''$ acts as some element of $R$ on $E$.
In every subsequent application of the theorem, $E$ is finitely-generated over $R$. I would like to see some standard/natural examples of situations where $E$ isn't finitely generated and not every element of $R''$ is representable as an element of $R$.