EclipseLink will always connect to validate the login information and
connection. I don't know of any easy way to avoid any connection at all.
If you don't have any access to a database, you could just connect to a
dummy in-memory database, or use a SessionCustomizer to configure your own
dummy Connector in the EclipseLink DatabaseLogin.