Actually I think I was wrong. The sample webapp is using web.composite to specify which SCA components to use (JCR or file system). It could be change to use file system instead of jcr by changing the class attribute for the <implementation.java>
Sorry about my previous confusing email, I was jumping the gun there =( - Henry On Mon, May 10, 2010 at 6:06 PM, Henry Saputra <[email protected]>wrote: > HI All, > > How does the code run the Gallery and Album with filesystem instead of jcr > option? > > In the sample webapp project the web.xml use TuscanyServletFilter to > initialize and run the node for Tuscany domain. > So its automatically run with JCR to support the gallery and album. > > I think we need to create a facade layer as abstraction layer to easy > switch between filssystem and jcr. > > We could use dependency injection with Guice to simplify this I suppose. > > What do you guys think? > > - Henry >
