code: @Deprecated
      public static JpaModule newServerModule(EntityManagerFactory emFactory, EntityManager em,
                                              TransactionRunner transactionRunner) {
          JpaModuleConfig config = new JpaModuleConfig();
          config.exposeAllEntities(emFactory);
          return new JpaModule(config, emFactory, () -> em, transactionRunner);
      }
docs: Creates a new JpaModule for a Crnk server. All entities managed by
  the provided EntityManagerFactory are registered to the module and
  exposed as JSON API resources if not later configured otherwise.
  
  @param emFactory         to retrieve the managed entities.
  @param em                to use
  @param transactionRunner to use
  @return created module
  @deprecated use with JpaModuleConfig