01-31-2008 04:49 PM
01-31-2008 10:06 PM
Hi,
I would like to get confirmation and/or pointers to right places to look, to understand how WCM works and how it could be used, or how it is intended to be used, and or how to create applications that leverage Alfresco repository and services.
I've searched a lot in the wiki and forum, looked at SDK samples - but feel a little uneasy on what are the directions that one can and should take.
Please correct me if my assumptions are wrong, or if I make false claims.
When creating websites with WCM, there are two options:
1) create sites that can be deployed as static sites to filesystem
2) create dynamic sites that also use dynamic features to query runtime enviroment
Type one is simple, and can be deplyed to filesystem receiver or via mounted CIFS-drive.
Type two requires either to server webapps through virtualized server, or through deployment to filesystem - then packaged to a webapp and deployed to a app server.
If i serve the site from virtualized server, then access to AVM is available easily, as expressed numerous examples, including Rivet Logic example ( http://www.rivetlogic.com/content/view/34/59/ ) given here. In those cases Alfresco runtime serves content merrily and development resembles any other development enviroment.
However if we deploy to a non Alfresco/Virtual-server, we need to access dynamic content from the repository in some other way. As far as I know, there are following ways to do it.
1) Create own JCR-repository connection, like in SDK samples
2) Use Web Scripts to serve content ( as examples in Wiki )
3) Use webservice examples, like in SDK examples
4) Get remote connection ( RMI ? ) to repository and use AVRemote interface
Relating to these posts:
http://forums.alfresco.com/viewtopic.php?t=8769&highlight=jndipath
http://forums.alfresco.com/viewtopic.php?t=5486&highlight=jndipath
http://forums.alfresco.com/viewtopic.php?t=5377&highlight=remote
http://forums.alfresco.com/viewtopic.php?t=5540&highlight=remote
.. it seems that it is not so straight forward thing to do.
Are there any (complete) examples on how to use AVRemote -interface on remote webapp to get connection to AVM repository on Alfresco runtime?
Let's say that I have an enviroment where I have:
1) Alfresco development server
2) Alfresco virtual server for previews
3) Glassfish for an application that wants to get content from Alfresco
How can I get AVRemote connection to my Alfresco development server? And where can I find code example of that, so that I could test it quickly?
Where is - for example source code for the virtualization server? Could that be helpfull place to look at how virtual server connects to the repository?
Thanks to anyone who can point me to right direction 😄
02-01-2008 07:04 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.