cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate Alfresco with J2EE application?

dynamolalit
Champ on-the-rise
Champ on-the-rise
Hi,

I want to connect my custom J2EE app to alfresco repository so that i can upload content & perform library functions directly from my custom UI. Idea is to have minimal dependency on alfresco installation.

I can think of following approaches here:

1. Use web scripts but using this, i need to place all web scripts inside alfresco repository & the access it from my app making dependency bonding.
2. Using web services : same as 1.
3. Using alfresco JCR & Foundation APIs: I am not sure whether alfresco allows such customizations that i can use alfresco foundation apis directly into my app. If so, can anyone provide a hint or example?

Can anybody help me on this?Or any other approach which i can use? :?:
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Another 2 options are to use OpenCMIS.

You can also use JNDI to access the alfresco services.

dynamolalit
Champ on-the-rise
Champ on-the-rise
Thanks MRogers,

My initial idea was to use Web Services & Web Scripts or CMIS for the same as i am fond of these approaches but as per requirements, i need to make my app loosely coupled still highly integrable so trying on other approaches.

My idea is to make my application as independent as possible of alfresco say if alfresco repo is up & running, i just deploy my application within same server or another server , configure credentials & urls for alfresco repo and start using it.

It implies i need to place all required dependencies in my application say required jars etc.Is it possible?

Is it possible that i can use service apis directly into my app?

Using alfresco JCR & Foundation APIs: I am not sure whether alfresco allows such customizations that i can use alfresco foundation apis directly into my app. If so, can anyone provide a hint or example?

Also i will be obliged if you can throw some light on

You can also use JNDI to access the alfresco services.