Hi Kerry,

> Hi Achim,
>
> Thanks for your reply. I did think it might be a little difficult and
> especially as I've only a small amount of experience with web
> applications etc.
>

I'm sure it can be done, just the way to get there might be bit bumpy ;)


>
> I'll think on the answers you provided and search the mailing list
> archive for the thread you mentioned. I appreciate yours and all those
> involved with Karaf help and advice when I as a user get a problem. In
> fact I sometimes wonder if you get to go to sleep as you sometimes seem
> to answer at all hours of the day (and night!)
>
>
hehe, yeah sometimes it might seem that way.
It's a pleasure to help people to get on track :)
btw. the mailinglist I had in mind (as I didn't realize it's the karaf one
we are talking on right now)
is the ops4j mailinglist [1].
The thread is actually this one: [2]

regards, Achim

[1] - https://groups.google.com/forum/#!forum/ops4j
[2] -
https://groups.google.com/forum/#!searchin/ops4j/template/ops4j/1uDM8SVKzNo/jC2eDoIEV8cJ


> Regards
>
> Kerry
>
> On 20/07/15 08:46, Achim Nierbeck [via Karaf] wrote:
> > Hi, Kerry,
> >
> > ouch you want to use JSF ... since JSF is doing stuff a lot different
> > then all other web-based applications, especially lots of classforname
> > search.
> > This will make it much more complicated
> > Besides that, it might be doable, I just don't use JSF a lot so we
> > might go into the undiscovered-country here ;-)
> >
> > Thinking about this, I could see different ways of getting there.
> >
> > One way, start with a wab and extend it with web-fragments, this is
> > the way it'll work in any Servlet3 container and should work for
> > Pax-Web too.
> > ("should" could mean, there might be a missing feature in pax-web
> > which I'm not aware of right now)
> > The other way would require to register the JSF Listener either
> > through the webcontainer service or as a service so the
> > Whiteboard-Extender can pick it up.
> > Again I think due to the nature of JSF/JSPs and Taglibs this might be
> > a bigger hassle. BUT I've seen a thread on this mailinglist where one
> > was doing something similar and registering resources as such, with
> > some tweaking I think. So it can be done.
> >
> > regards, Achim
> >
> > 2015-07-19 22:19 GMT+02:00 jtkb <[hidden email]
> > </user/SendEmail.jtp?type=node&node=4041501&i=0>>:
> >
> >     Hi Achim,
> >
> >     You mentioned previously that I could use Pax-Web WebContainer to
> >     possibly achieve 'loadable' child OSGi bundles (contain web pages
> etc)
> >     into a Parent/base page.
> >
> >     I've been looking at the 'helloword-wc' sample to see how to use
> >     WebContainer. I should have mentioned I want to use JSF in child
> >     bundles
> >     and I assume this is possible as I can call
> >     WebContainer.registerServlet() with an instance of
> >     javax.faces.webapp.FacesServlet instead? Is there anything else I
> >     particularly need to do using JSF (other than having JSF support
> >     installed)? I did wonder if I need to call
> >     WebContainer.registerJsps() too?
> >
> >     Regards
> >
> >     Kerry
> >
> >     On 15/07/15 21:59, Achim Nierbeck [via Karaf] wrote:
> >     > Hi,
> >     >
> >     > never tried to run Pax-Web 4 with Karaf 3.0.2 but if you do it you
> >     > won't have the web and http commands available.
> >     > AFAIK Karaf 4 and JPA shouldn't be of an issue, you might need
> >     to make
> >     > sure you have the right version of it installed though.
> >     >
> >     > You should give it a try :-)
> >     >
> >     > regards, Achim
> >     >
> >     > 2015-07-15 22:20 GMT+02:00 jtkb <[hidden email]
> >     > </user/SendEmail.jtp?type=node&node=4041442&i=0>>:
> >     >
> >     >     Just to clarify, I meant Pax-Web 4 in Karaf 3.0.2.
> >     >
> >     >
> >     >
> >     >     --
> >     >     View this message in context:
> >     >
> >
> http://karaf.922171.n3.nabble.com/Construct-a-Web-Application-From-Multiple-Bundles-tp4041252p4041440.html
> >     >     Sent from the Karaf - User mailing list archive at Nabble.com.
> >     >
> >     >
> >     >
> >     >
> >     > --
> >     >
> >     > 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
> >     >
> >     >
> >     >
> >     >
> >
>  ------------------------------------------------------------------------
> >     > If you reply to this email, your message will be added to the
> >     > discussion below:
> >     >
> >
> http://karaf.922171.n3.nabble.com/Construct-a-Web-Application-From-Multiple-Bundles-tp4041252p4041442.html
> >     >
> >     > To start a new topic under Karaf - User, email
> >     > [hidden email] </user/SendEmail.jtp?type=node&node=4041501&i=1>
> >     > To unsubscribe from Construct a Web Application From Multiple
> >     Bundles,
> >     > click here
> >     > <> NAML
> >     >
> >     <
> http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >     >
> >
> >
> >
> >
> >
> >     --
> >     View this message in context:
> >
> http://karaf.922171.n3.nabble.com/Construct-a-Web-Application-From-Multiple-Bundles-tp4041252p4041496.html
> >     Sent from the Karaf - User mailing list archive at Nabble.com.
> >
> >
> >
> >
> > --
> >
> > 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
> >
> >
> >
> > ------------------------------------------------------------------------
> > If you reply to this email, your message will be added to the
> > discussion below:
> >
> http://karaf.922171.n3.nabble.com/Construct-a-Web-Application-From-Multiple-Bundles-tp4041252p4041501.html
> >
> > To start a new topic under Karaf - User, email
> > [email protected]
> > To unsubscribe from Construct a Web Application From Multiple Bundles,
> > click here
> > <
> http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4041252&code=a2FyYWZAYXZpb25pY2VuZ2luZWVycy5jb218NDA0MTI1MnwxOTU3MjI4MTQ3
> >.
> > NAML
> > <
> http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Construct-a-Web-Application-From-Multiple-Bundles-tp4041252p4041502.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

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

Reply via email to