cancel
Showing results for 
Search instead for 
Did you mean: 

Jar file for SearchService to use in external application

vojtechm
Confirmed Champ
Confirmed Champ

Hello,

does anyone know where can I found jar file for SearchService to use in external application? I believe it's in alfresco-repository.jar or something like that but I'm not able to find version of jar file for version 5.0 or 5.1.

I Need to include this jar file to my java project.

Thank you very much.

1 ACCEPTED ANSWER

afaust
Legendary Innovator
Legendary Innovator

You should not include any of the JARs provided by Alfresco in an external application. Instead you should program against the public API of Alfresco for anything that you want to access from an external application. Simply including the Alfresco JARs in your application typically will not work at all. Even if you included all the (transitive) dependencies it would not allow you to access Alfresco remotely, instead it would essentially result in running an embedded instance of Alfresco.

View answer in original post

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator

You should not include any of the JARs provided by Alfresco in an external application. Instead you should program against the public API of Alfresco for anything that you want to access from an external application. Simply including the Alfresco JARs in your application typically will not work at all. Even if you included all the (transitive) dependencies it would not allow you to access Alfresco remotely, instead it would essentially result in running an embedded instance of Alfresco.