Hi,

I'll try to answer your question as good as possible, but I've to take some
assumptions:

1)
If you talk of a set of bundles (Set A) which is independent in case of
dependencies (package import/export and such).
Yes you can run those set of bundles independent of each other. If they do
have a) different aliases or b) different Web-ContextPath(s)

2)
If each of the WAB has it's own Web-ContextPath you can deploy as much as
you want, each is treated as a standalone web application bundle. But you
can't mix them.
BUT, if you do have one WAB and a couple of web-fragments, this is possible
(see Servlet 3 Web Fragments)

3)
No

4)
Pax Web isn't a standalone application, it provides a bunch of bundles to
have the possibility to server web content from within an OSGi application.
The same applies for the Pax Logging project, it provides a bunch of
bundles to have easy access and configuration of logging available from
within your osgi application.

If you want to have a Container usable to also serve Web content, take a
look at Apache Karaf.


best regards, Achim


2016-07-15 14:23 GMT+02:00 iJava <[email protected]>:

> Hello
>
> I now consider using pax web and I have several questions.
>
> My situation: I have N sites. Each site consists of some set of osgi
> bundles. For example site 1 - set A, site 2 - set B.
>
> 1) Can I run all my sites on one port (for example 8080) but manage each
> set of bundles independently without mixing them?
>
> 2) Can I have inside one set of bundles several wab (web archive bundles)?
> If yes, then where is web.xml located?
>
> 3) Can I inside one set of bundles include in jsp in bundle A jsp from
> bundle B?
>
> 4) I've downloaded sources of pax web from github and built it. So I get
> set of jar. What should I do now? I looked through the documentation but
> still have no answer.
>
> I ask pax community to help me with these questions.
>
> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to