Web application over Alfresco instance
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 06:28 PM
Hi!.
I'm making a project and I'm really new in Alfresco. I need to make a web application in J2EE which send the login info to Alfresco and load and search content from an instance of Alfresco running background.
Basically, my J2EE application will be the frontend of Alfresco and the use cases must be login, upload and search.
I think that I have to create a J2EE application and use the API provided by alfresco to make this opperations, but I don't know exactly the first steps to do that, the Alfresco components I'll use.
Anyone can help me?, any idea will be great.
Thanks! (sorry about my english).
I'm making a project and I'm really new in Alfresco. I need to make a web application in J2EE which send the login info to Alfresco and load and search content from an instance of Alfresco running background.
Basically, my J2EE application will be the frontend of Alfresco and the use cases must be login, upload and search.
I think that I have to create a J2EE application and use the API provided by alfresco to make this opperations, but I don't know exactly the first steps to do that, the Alfresco components I'll use.
Anyone can help me?, any idea will be great.
Thanks! (sorry about my english).
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2010 11:01 AM
The Alfresco web service api will be helpful in your case, check these links :
wiki : http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services .
IngresTutorial Alfresco Web Service API : http://wiki.alfresco.com/wiki/IngresTutorial_Alfresco_Web_Service_API_for_Java .
Using the webservice api you can add,remove and query content, and anything else with alfresco, and won't need any prior experience with web services.
Example of using Lucene to query the repository :
wiki : http://wiki.alfresco.com/wiki/Alfresco_Content_Management_Web_Services .
IngresTutorial Alfresco Web Service API : http://wiki.alfresco.com/wiki/IngresTutorial_Alfresco_Web_Service_API_for_Java .
Using the webservice api you can add,remove and query content, and anything else with alfresco, and won't need any prior experience with web services.
Example of using Lucene to query the repository :
public static Node[] executeQuery(String luceneQuery) { try { RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService(); Query query = new Query(Constants.QUERY_LANG_LUCENE, luceneQuery); // Execute the query return repositoryService.get(new Predicate(null, STORE, query)); } catch (RepositoryFault ex) { Logger.getLogger(Searcher.class.getName()).log(Level.SEVERE, null, ex); } catch (RemoteException ex) { Logger.getLogger(Searcher.class.getName()).log(Level.SEVERE, null, ex); } return null; }

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2010 10:13 AM
We used an application called Appfuse for our authentication. You can download it from here
https://appfuse.dev.java.net/servlets/NewsItemView?newsItemID=5991
We then called webscripts to retreive the data.
https://appfuse.dev.java.net/servlets/NewsItemView?newsItemID=5991
We then called webscripts to retreive the data.
