Hi,

I just created a very simple starting project for OSGi and wicket at:

http://code.google.com/p/antilia/source/browse/#svn/trunk

check out projects

com.antilia.wstarter
com.antilia.wstarter.demo

Then you will have a equinox launcher called wicket-app (for eclipse 3.4).
Use it to launch your application and then browse at

localhost:8080/demo-app

Hope this helps.

Ernesto

On Thu, Mar 12, 2009 at 3:36 PM, Daniel Dominik Holúbek <
dankodo...@gmail.com> wrote:

> Hello :)
> I looked at the links listed below, seemed interesting, but the main
> problem
> (how to set up such a project) remains unsolved.
> So I think I really do need help :)
>
> It seems to me, though, that this whole thing is much too complicated. I
> need only some simple loading of multiple jars :)
> But if it would work, I don't care how :)
>
> Thanks again!
>
> On Thu, Mar 12, 2009 at 10:07 AM, Ernesto Reinaldo Barreiro <
> reier...@gmail.com> wrote:
>
> > Hi Daniel,
> > Some comments inlined.
> >
> > On Thu, Mar 12, 2009 at 9:37 AM, Daniel Dominik Holúbek <
> > dankodo...@gmail.com> wrote:
> >
> > > Firstly, thanks for you reply :)
> > > I have already read that document regarding wicket and OSGi, but I
> think
> > it
> > > is written for more experienced users at OSGi. As I wrote before, I
> even
> > do
> > > not know how to build a simple web OSGi project (what should I deploy,
> > how
> > > to install those bundles - I can't access any console..)
> >
> >
> > In my experience getting used to do things the OSGi way is difficult at
> > the beginning but latter on the effort will pay off... In fact it is
> > relatively easy to set up a Wicket-OSGi project if you are using Eclipse
> > for
> > development and you don't mind using equinox as your OSGi
> > implementation. You could easily build a WEB console to manage plug-ins
> > (bundles) on your application.
> >
> >
> > > I imagine this application like this: I visit some administration page,
> > > where can I upload a jar file containing the extension. The jar file
> then
> > > installs into running application and creates some records in database.
> I
> > > can then decide where in the page should this extension appear.
> > > The main problem is this. I think my application should have some "OSGi
> > > container". I have already tried some "bridge.war" from some webpage (I
> > > don't remember now, which one was it), it is running correctly, but I
> > > really
> > > do not know what to do now. Add some bundles? Where? How? :)
> > > Btw, I am running Sun Java System Application Server.
> >
> >
> > Probably yo are reffering to [1] ? You will have to export your bundles
> > into
> > the plug-ins section inside this war. This war is just a WEB application
> > that starts an OSGi runtime (an equinox) and uses a Servlet to manage it
> > and
> > to redirect requests to your application to the servlets you mount using
> > the
> > HTTP service provided by the equinox runtime.
> >
> > If you need more help I could help you set up such a project (although
> > currently I do not have much spare time;-)
> >
> > Best,
> >
> > Ernesto
> >
> > References
> >
> > 1-http://www.eclipse.org/equinox/server/
> >
>
>
>
> --
> -danoh-
>

Reply via email to