Case Study for CMIS and Alfresco - alfresco

I am very new to enterprise content management concepts.
I would like to do a small hands or a case study before we embark on the full fledged thing.
My work will be mainly on the client side so I would like to get more experience in consuming server content.
For that I needed to get some experience on CMIS apis and their consumption.
I plan to develop a plain eclipse based client for the server. I would like to see the content in Eclipse RCP app.Kind of what alfresco explorer does.
I don't want install an alfresco server for myself as I would not work on the server side. How can I use an Alfresco server for my case study? Should I use the public alfresco server or the cloud based alfresco server?
Also please provide suggestions on my case study.

Ok..feeling much more enlightened after 4 hrs of CMIS and Alfresco exploration.
My query of getting a server got resolved by accessing the public cmis alfresco server which is available at http://cmis.alfresco.com/
I also downloaded CMIS Workbench for windows and have setup the alfresco server locally.
Both the servers can be connected with my java client (using Apache Chemisty libs).
to connect remotely to the Alfresco server a local resovable name should be used. IP is not recognized.
One more option is to get a free trial from the alfresco cloud.
cheers,
Saurav

Related

Can not log into alfresco community edition after power failure

I was out of town and when I returned my server was off due to a power failure. All systems are functional but I can no longer log into Alfresco Community Edition. I have looked at several forums, but no real solutions.
There are a number of things you need to check before we can help you. These include things like:
Is the server running?
Can you connect to it via SSH?
Do you have a web proxy (like Apache or Nginx) installed?
Can you grep for that process?
Can you hit the web proxy?
Can you grep for the tomcat process?
Do you see anything in the logs?
Can you hit the Alfresco webapp on 8080?
Can you hit the Share webapp on 8080?
Is the database running?
If your content store storage is on a mount point, is the volume mounted?
Can you browse the content store directory?

Hosting java web application with oracle database

I have been trying to find out how best I can host a JavaEE5 web application with Oracle11g database. I have got my domain registered and currently pointing to my Jboss web application on my laptop.
I would like to host it for a while untill my application gets finished and ideally would like to go on hosting on a professional company server when I start getting increased traffic.
Firstly, to host at my home I want to use a separate dedicated server. Can you please let me know what options I have? Because I have no clue on what to purchase.
Secondly, when I want to go with a professional company server, which ones should I consider that supports JavaEE5 deployments and Oracle11g databases? Let me know if you need more details.
Personally I have experience with OpenShift. Free plan offers JBoss AS 7.1.1 and MySQL or PostgreSQL, but it's very slow (you might want to try these two my demo applications: personal site and e-shop). Paid plans looks for me too expensive here. This solution might be appropriate if you don't wanna configure application server and database.
Another possible solution is Amazon Web Services. There are such services as Elastic Beanstalk that offers you different servers including Tomcat, Amazon Relational Database Service that offers you Oracle Database as well as other RDMSes, and Amazon Elastic Compute Cloud that enable you install JBoss AS yourself even if Beanstalk with Tomcat doesn't work for you. It looks like AWS is cheaper than OpenShift, but as for me, EC2 is still expensive. Check if price works for you. Buy the way AWS has a free tier the first year of usage that includes EC2 instance. So if you're sure that your project will long less than a year, it might be a good choice. ASW would be appropriate for you if you are ok with Tomcat instead of application server and you don't wanna configure application server and database.
Also I heard positive comments about Digital Ocean, but never tried it. It looks like it offers only infrastructure as service (like AWS EC2) so you will have to install and configure all servers yourself.

Advice required: Creating desktop application with database connectivity

I want to create a desktop application, I normally work on web based applications so have very little knowledge about creating console applications using .Net and visual studio.
So now in this application I'l also be using database connectivity and stored procedures (SQL server). But how should I start doing this as I dont want to install SQL server on my clients system.
thanks in advance..
I think it depends on the goal of your application, the amout and sturcture of the data and the environment. The last point aims to the client system, if the client is part of an enterprise network (e.g. Active Directory) or is a common user at home.
maybe you can use xml or json files to store the data
if you need a database, you can create a setup project for your application which automatically installs a SQL Server express
another way is, if it's applicable for you, your application can consume a webservice which provide the data
you could use SQL Server compact http://msdn.microsoft.com/en-us/library/cc645984(v=sql.100).aspx or SQL Lite to embark your DB in your application without external dependencies.
Otherwise, if offline isn't a requirement, you could go the "cloud" way, with web APIs

Synchronization between Two SQL Server Databases, Online and Offline

We have a local intranet based Project Management tool, we built it in asp.net .net 4.0 and sql server 2008. We cannot access this system online as it is lan based, neither we want its files to be appear online. But most of the cases we and other managers need to post project on it from home, but the issue is we dont wana use this system only on online server but also local intranet should be working, live ip is not prefered in any case because of electricity issues etc. We have an idea in our mind, that if we launch the same published site on online server (dedicated vps), and people use to work on offline system, but we can make some .exe utility which will upload our latest records from offline server to online server using the internet, does sql server provide any built in functionality for this, what is the best way to do this, either with our own custom logic with windows task scheduler or .Net provides any kind of facility for that. The reason of not using this system only as online is, our employees used to upload files in GBs, and the internet is only 4MBps, which will slow down the work, also we dont want internet dependency every time, also there is security issue.
Regards
Atif
Check out Microsoft Sync Framework: http://msdn.microsoft.com/en-us/sync/bb736753

How to use webdav java server library to retrieve / save office documents?

We need to implement client / server to open / edit Office documents from server as confluence does. We have our server side implementations (web services) to download / upload documents. Also we have our authentication services that handle user authentication. We need to implement / configure WebDAV along with these existing services. So:
When Office application requests a document from WebDav servlet, webdav connects to our existing service to get the document and would use our existing authentication service to authenticate the user. What code do we need to write to handle this?
Save as above to save a document back.
Can anyone please help me on how to get a quick start on this? Any tutorial links?
Thanks & regards,
Nadeem Ullah
I recently implemented a prototype using the milton framework to browse the repository and open office documents from our DMS and made good progress. It´s wired up using spring and a filter in our deployment descriptor - so far I´m fairly impressed by milton. It´s easy to use and integrates quite well.
From what I know, Webdav protocol is what you are looking for.
Microsoft Office can open files from a WebDAV server and save them back to the server without the need to download them to local file system. To achieve this the following conditions must be met:
Your WebDAV server must support Class 2. Microsoft Office locks documents when creating and opening files for editing. If Microsoft Office is unable to lock the document it will be opened as read-only.
Your WebDAV server must be configured on the site root in case of MS Office 2007 or earlier. Microsoft Office 2007 and earlier may submit OPTIONS and PROPFIND requests to the site root (http://server/) and requires the server to respond properly. If your WebDAV server is non-root Microsoft Office 2007 and earlier may open documents as read-only. There is no this issue with MS Office 2010 and later versions.
https://www.webdavsystem.com/server/documentation/ms_office_read_only/
Please also look at Apache JackRabit which is a WebDav server. And search WebDav from github for other implementaions.

Resources