Reputation:
I just getting started with Alfresco and i want to know if it's possible to get a connexion throw my java EE application with Alfresco thank you
Upvotes: 0
Views: 308
Reputation: 961
With the following assumption judging your question, yes its possible.
Assumption : You are building a Java EE application and you want to integrate Alfresco functionalities through your custom built Java EE application.
There are two ways of doing this,
Word of advice beforehand
Upvotes: 3
Reputation: 20178
If WebDAV access is sufficient for your project I can recommend Sardine. It's simple, easy to use and well documented. For example listing resources:
Sardine sardine = SardineFactory.begin(username, password);
List<DavResource> resources = sardine.list("http://yourdavserver.com/adirectory/");
for (DavResource res : resources) {
System.out.println(res);
}
For more examples, please check the usage guide.
Upvotes: 0