Hello all, a friend of my and I were bumped into PAX wicket today and we were impressed a lot about solutions for our problems by developing an OSGi enabled web application. We just had the same idea to spread the app into several bundles but we have had lots of problems with OSGi. You are offering with Wicket a really interesting solution to this.
Because we are new to PAX and Wicket we would like to contribute to PAX in reference to ask some common question, which you can add to your FAQ and other related sites. At first, we would suggest to open a google group, because mailing list can sometimes bug a bit in order to managing threads. At the second here is what we are intendend to do: Building a web app chunked as OSGi bundles with the following techniques: - OSGi (preferred Equinox at the moment) - Spring Framework 2.0 - Spring OSGi ( currently under development ) - JSF/Facelets at the first place, now we are considering Wicket because of PAX wicket. - Hibernate - Acegi ... Lets start with Spring & Wicket: So, there are some problems by spring and wicket because of managed/ unmanaged frameworks, getting the application context in wicket and some distribution probs. The Spring OSGi project aims to allow to using spring approaches in an OSGi environment. At the simplest case you can publish Spring Beans as an OSGi service, declared by an xml file (<osgi:service bean... >). Actually we just thought, and please correct me if you can, that it is not necessary to make the application context visible to wicked in an OSGi environment, like the Wicked-Spring integration efforts are saying. This would be more complicated in OSGi, because by Spring- OSGi every bundle gets its own ApplicationContext. Nevertheless we thought the following: Publishing every spring-bean, that wicket should handle, as an osgi service, so no Application Context would be neccessary anymore for wicket. What are your thought's about this? Are there any other approaches to use spring and PAX/Wicket in OSGi? We would like to have more textual description about the thought's and architecture of PAX wicket to speed up the initial training time. Depending on what your thoughts about spring-osgi and the PAX:wicket useness we might open a new labratory project for this. OSGi themselve: What would be the limitations in using PAX wicket for the web app? What OSGi Services can/can't be used? What's about the limitations of the HTTP Service referenced to the servlet API? Building: In the page http://wiki.ops4j.org/dokuwiki/doku.php? id=pax:wicket:building you wrote something confusing. 1. install maven 2. mvn install Maybe there would be bullet 1.5 where you say "go to the dir, where pax is" and in bullet 1.4 you could say "get the pax sources from svn). ? ;-) Anyway I have problems to do the maven install: I checked out your whole svn repo and I changed to dir ops4j/projects/ pax/wicket then I did the mvn install command and got the following error: ... [INFO] Building OPS4J - Pax Wicket Service [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ ---- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://snapshots.repository.codehaus.org//wicket/wicket- parent/1.2-SNAPSHOT/wicket-parent-1.2-SNAPSHOT.pom [WARNING] Unable to get resource from repository Codehaus Snapshots (http://snapshots.repository.codehaus.org/) Downloading: http://people.apache.org/repo/m2-snapshot-repository/ wicket/wicket-parent/1.2-SNAPSHOT/wicket-parent-1.2-SNAPSHOT.pom [WARNING] Unable to get resource from repository apache.org ( http:// people.apache.org/repo/m2-snapshot-repository) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. GroupId: wicket ArtifactId: wicket-parent Version: 1.2-SNAPSHOT Reason: Unable to download the artifact from any repository ... Is the pom correct and is you repo open and running? I think we have lots of more question when we are more "in" wicket and Pax wicket... and we appreciate a lot if we can get good discussions here. Another reason to have a Google group thought! ;-) Thank you very much. Martin. _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general