The reason is that Sling is kinda independent of another part in our project. If I put them all into a single web app, it may be too bloated. What I want to do is separate main part in our project from Sling and figure out how they can communicate with each other.
Gerald On Wed, Dec 9, 2009 at 11:51 AM, Justin Edelson <[email protected]> wrote: > Hmmm. I didn't think the servlet spec permitted this. Why do you want to do > it? > > Justin > > On Dec 9, 2009, at 11:44 AM, Guo Zhenhua wrote: > >> Thanks. I see. >> If I want to call Sling APIs from another webapp within the same >> container, will it be different from regular case because of OSGi used >> by Sling web app? >> >> Gerald >> >> On Wed, Dec 9, 2009 at 11:39 AM, Bertrand Delacretaz >> <[email protected]> wrote: >>> Hi, >>> >>> On Wed, Dec 9, 2009 at 5:33 PM, Guo Zhenhua <[email protected]> wrote: >>>> I want to run Sling in tomcat without using OSGi. Is that possible?... >>> >>> You can run the Sling webapp (launchpad/webapp) directly into a >>> servlet container. >>> >>> The webapp provides its own embedded OSGi framework. >>> >>> Running without that is not possible. >>> >>> -Bertrand >>> > >
