This is the normal procedure to obtain a session with opencmis api SessionFactory f = SessionFactoryImpl.newInstance(); Map<String, String> params = new HashMap<String, String>(); params.put(SessionParameter.USER, "admin"); params.put(SessionParameter.PASSWORD, "admin"); params.put(SessionParameter.ATOMPUB_URL, " http://localhost:8080/alfresco/service/cmis"); params.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value()); params.put(SessionParameter.REPOSITORY_ID, f.getRepositories(params).get(0).getId()); Session s = f.createSession(params);
Is there any component in chemistry to make this more spring friendly and poolable like Hibernate or ActiveMQ session factories?
