Re: [RT] Micro kernel based Cocoon

2005-05-24 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Daniel Fagerstrom wrote: Sylvain Wallez wrote: snip/ We should also consider if blocks should be _similar_ to Eclipse plugins, of if they should _be_ such plugins, which would remove us a log of work, both for code, docs and support. I have read some Eclipse docu,

Re: [RT] Micro kernel based Cocoon

2005-05-24 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Daniel Fagerstrom wrote: Sylvain Wallez wrote: Reinhard Poetz wrote: AFAIU only some work on cForms is missing (flowscript API and repeater binding) That's far from the only work to do IMO, as there are a lot of semi-finished core features. Some that come to mind:

RE: [RT] Micro kernel based Cocoon

2005-05-24 Thread Nathaniel Alfred
-Original Message- From: Daniel Fagerstrom [mailto:[EMAIL PROTECTED] Sent: Dienstag, 24. Mai 2005 13:40 To: dev@cocoon.apache.org Subject: Re: [RT] Micro kernel based Cocoon Sylvain Wallez wrote: Daniel Fagerstrom wrote: Sylvain Wallez wrote: snip/ We should also

Re: [RT] Micro kernel based Cocoon

2005-05-24 Thread Ralph Goers
Nathaniel Alfred wrote: Instead of a micro kernel which is going to have again a large footprint to do anything useful I'd rather prefer a small kernel to do just what Cocoon needs. After all Cocoon is just a super-servlet which needs a bit of container services for managing component reuse

Re: [RT] Micro kernel based Cocoon

2005-05-24 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez wrote: On that point, I proposed to write a new implementation of the flowscript implementation. This is certainly not a total rewrite, but a refactoring of the existing code to have an overally consistent object model, and also introduce a flow

Re: [RT] Micro kernel based Cocoon

2005-05-24 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Daniel Fagerstrom wrote: Sylvain Wallez wrote: On that point, I proposed to write a new implementation of the flowscript implementation. This is certainly not a total rewrite, but a refactoring of the existing code to have an overally consistent object model, and

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Ralph Goers
Carsten Ziegeler wrote: Sylvain Wallez wrote: Uh? What are these features? Would you mind sharing this with us? Sure; I already mentioned this months ago and even asked on this list for help; but noone was interested :( Actually, I was and am interested. I just can't get my boss

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Reinhard Poetz
Sylvain Wallez wrote: Actually, OSGi is a key point in the performance improvements in the upcoming Eclipse 3.1. It was introduced in 3.0 but many plugins were still written on the previous kernel API, and the more plugins move to the OSGi API, the more startup time increases and memory used

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Carsten Ziegeler
Ralph Goers wrote: Why is updating more difficult. We have MBeans that do both. Creating an operation that updates isn't that hard. The hard part is figuring out what you want to manage. And what happens after you updated a value. Changing pool sizes or something like that is easy. But

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Ralph Goers
Carsten Ziegeler wrote: Ralph Goers wrote: Why is updating more difficult. We have MBeans that do both. Creating an operation that updates isn't that hard. The hard part is figuring out what you want to manage. And what happens after you updated a value. Changing pool sizes or

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Daniel Fagerstrom
Carsten Ziegeler wrote: Daniel Fagerstrom wrote: All current blocks, the core and libraries that are used by several bundles are packaged as bundles. These are deployed in a OSGi kernel. During development the Cocoon bundles can be deployed within the OSGi kernel of Eclipse together with

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Reinhard Poetz wrote: AFAIU only some work on cForms is missing (flowscript API and repeater binding) That's far from the only work to do IMO, as there are a lot of semi-finished core features. Some that come to mind: refactored object model, Here the main

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Daniel Fagerstrom
Sylvain Wallez wrote: snip/ We should also consider if blocks should be _similar_ to Eclipse plugins, of if they should _be_ such plugins, which would remove us a log of work, both for code, docs and support. I have read some Eclipse docu, but it is not obvious to me what Eclipse plugins

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Carsten Ziegeler
Ralph Goers wrote: However, I wouldn't go looking for operations to perform just because you can. I would start by identifying the operations you would find valuable and then prioritize them by need and difficulty to implement. Would your hypotheical of changing the working directory

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Reinhard Poetz
Daniel Fagerstrom wrote: Carsten Ziegeler wrote: Ok, so far so good - now, what do I have to do if I'm developing my own application and want to use let's say the cron block: I want to add my own scheduled task? Currently I have to know a little bit about Avalon: using the service manager to

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Vadim Gritsenko
Sylvain Wallez wrote: Vadim Gritsenko wrote: [...mostly off topic...] You forgot that since GBeans used in Geronimo, basing Cocoon on GBeans means easier integration with/into Geronimo, which is significant advantage. Well, is it really? So which point do you want to argue, that it

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez wrote: Reinhard Poetz wrote: AFAIU only some work on cForms is missing (flowscript API and repeater binding) That's far from the only work to do IMO, as there are a lot of semi-finished core features. Some that come to mind: refactored object

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez wrote: snip/ We should also consider if blocks should be _similar_ to Eclipse plugins, of if they should _be_ such plugins, which would remove us a log of work, both for code, docs and support. I have read some Eclipse docu, but it is not obvious

Re: Releasing 2.2 (was: [RT] Micro kernel based Cocoon)

2005-05-23 Thread Peter Hunsberger
On 5/23/05, Bertrand Delacretaz [EMAIL PROTECTED] wrote: Le 23 mai 05, à 07:13, Reinhard Poetz a écrit : ...Let's release Cocoon 2.2 alpha1 as soon as possible. When the contracts are stable we use the beta postfix. This will increase the number of people who use and test the release and

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Vadim Gritsenko
Sylvain Wallez wrote: Reinhard Poetz wrote: AFAIU only some work on cForms is missing (flowscript API and repeater binding) That's far from the only work to do IMO, as there are a lot of semi-finished core features. Some that come to mind: refactored object model, sitemap listeners, VPCs,

Re: [RT] Micro kernel based Cocoon

2005-05-23 Thread Sylvain Wallez
Vadim Gritsenko wrote: Sylvain Wallez wrote: Vadim Gritsenko wrote: [...mostly off topic...] You forgot that since GBeans used in Geronimo, basing Cocoon on GBeans means easier integration with/into Geronimo, which is significant advantage. Well, is it really? So which point do

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Daniel Fagerstrom
Reinhard Poetz wrote: Carsten Ziegeler wrote: Daniel Fagerstrom wrote: IMO, OSGi seem to be the best choice for kernel for Cocoon's block architecture and there is (if I haven't missed something important) a low risk, incremental and evolutionary way to get there. Hmm, I'm currently not

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Carsten Ziegeler
Reinhard Poetz wrote: - breaking up the monolitic Cocoon - getting over the Java jar hell - making development of Cocoon extensions outside of the Cocoon project much easier (why there are hardly any Cocoon based projects out, except Daisy, Lenya, Forrest and two or three others) -

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Carsten Ziegeler
Carsten Ziegeler wrote: SNIP/ But again, if I'm the only one with these feelings, I can simply shut up and watch the show :( Just to clarify: of course, this doesn't mean that I would not help or contribute. Carsten -- Carsten Ziegeler - Open Source Group, SN AG http://www.s-und-n.de

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Leszek Gawron
Carsten Ziegeler wrote: Reinhard Poetz wrote: - breaking up the monolitic Cocoon - getting over the Java jar hell - making development of Cocoon extensions outside of the Cocoon project much easier (why there are hardly any Cocoon based projects out, except Daisy, Lenya, Forrest and two

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Daniel Fagerstrom
Leszek Gawron wrote: snip/ I tried to find any starters for eclipse's OSGi implementation. Not a single useful page. If we are to make users read OSGi specification, then seek for help in external projects that are hardly documented we get the same problem in a fancy new outfit. OSGi is a

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Daniel Fagerstrom
Carsten Ziegeler wrote: Reinhard Poetz wrote: - breaking up the monolitic Cocoon - getting over the Java jar hell - making development of Cocoon extensions outside of the Cocoon project much easier (why there are hardly any Cocoon based projects out, except Daisy, Lenya, Forrest and two

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: IMO it will. AFAIU the plugin concept in Eclipse is considered straight forward for most people. The blocks will be very similar to plugins. Ok, but even if it's simple, you have to learn it :) Its not an exchange of Avalon with OSGi. I know, I didn't mean a

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Reinhard Poetz
Carsten Ziegeler wrote: Daniel Fagerstrom wrote: IMO it will. AFAIU the plugin concept in Eclipse is considered straight forward for most people. The blocks will be very similar to plugins. Ok, but even if it's simple, you have to learn it :) Its not an exchange of Avalon with OSGi. I

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Daniel Fagerstrom
Carsten Ziegeler wrote: snip/ I'm currently still missing the *big picture*. What are blocks, how does Cocoon look like with them. Can I develop something without blocks? What do I have to learn? And so on. This might be because I didn't have so much time for Cocoon in the last weeks, don't

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: All current blocks, the core and libraries that are used by several bundles are packaged as bundles. These are deployed in a OSGi kernel. During development the Cocoon bundles can be deployed within the OSGi kernel of Eclipse together with various Cocoon

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Sylvain Wallez
Carsten Ziegeler wrote: In my opinion, 2.2 is more or less feature complete; there are *many* things to cleanup Definitely. and I'm currently playing with adding administration and monitoring. Uh? What are these features? Would you mind sharing this with us? Sylvain -- Sylvain

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Sylvain Wallez
Reinhard Poetz wrote: AFAIU only some work on cForms is missing (flowscript API and repeater binding) That's far from the only work to do IMO, as there are a lot of semi-finished core features. Some that come to mind: refactored object model, sitemap listeners, VPCs, third-party

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Carsten Ziegeler wrote: Users never really understood Avalon; but interestingly everyone understands Spring - which is the same concepts of Avalon but done differently (I know, I simplify here a little bit, please, all Spring lovers forgive me for now!). Adding a

Releasing 2.2 (was: [RT] Micro kernel based Cocoon)

2005-05-22 Thread Bertrand Delacretaz
Le 23 mai 05, à 07:13, Reinhard Poetz a écrit : ...Let's release Cocoon 2.2 alpha1 as soon as possible. When the contracts are stable we use the beta postfix. This will increase the number of people who use and test the release and finally we can release Cocoon 2.2.0 final... Releasing 2.2

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Carsten Ziegeler
Sylvain Wallez wrote: Uh? What are these features? Would you mind sharing this with us? Sure; I already mentioned this months ago and even asked on this list for help; but noone was interested :( Anyways, I'm thinking of adding a JMX interface, so you can monitor your Cocoon instance using

Micro kernel use cases? (was: [RT] Micro kernel based Cocoon)

2005-05-22 Thread Bertrand Delacretaz
Le 22 mai 05, à 20:24, Daniel Fagerstrom a écrit : ...It would require quite a lot of work to give a fair overview of what we have discussed about this in the last three or so years. You find some info in http://wiki.apache.org/cocoon/Blocks... Would it be possible to come up with a (small)

Re: [RT] Micro kernel based Cocoon

2005-05-22 Thread Bertrand Delacretaz
Le 23 mai 05, à 07:32, Carsten Ziegeler a écrit : ..I'm thinking of adding a JMX interface, so you can monitor your Cocoon instance using JMX... ...The second part - which is much more difficult - would be to allow to change some values during runtime... Hmm...maybe this second part

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Bertrand Delacretaz
Le 20 mai 05, à 15:38, Daniel Fagerstrom a écrit : Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go... After reading some of the knopflerfish and osgi.org material I agree that

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. Yeah! Kewl :-) OSGi The OSGi service platform is a standarized, component oriented, computing

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Daniel Fagerstrom
Thor Heinrichs-Wolpert wrote: Daniel: Check out RIO, which is a QoS oriented system based upon Jini. It has either completed its relicensing or will have completed its relicensing to use the Apache 2.0 license. This is the infrastructure used in Sun's RFID initiative and in their

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Daniel Fagerstrom
Sylvain Wallez wrote: Daniel Fagerstrom wrote: snip/ The Cocoon servlet bundle - At last we need to have a Cocoon servlet bundle it looks up the Cocoon service and a HTTP service [10] (both Tomcat and Jetty implementations are available), embeds the Cocoon service in

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez wrote: Daniel Fagerstrom wrote: snip/ The Cocoon servlet bundle - At last we need to have a Cocoon servlet bundle it looks up the Cocoon service and a HTTP service [10] (both Tomcat and Jetty implementations are

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Sylvain Wallez
Vadim Gritsenko wrote: Daniel Fagerstrom wrote: So GBeans seem like the only serious alternative. I don't know enough about GBeans to be able to evaluate it. But its much earlier in its development, it is not a standard and there is only one implementation, so it should IMO have a

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Antonio Gallardo
On Vie, 20 de Mayo de 2005, 8:38, Daniel Fagerstrom dijo: Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. OSGi The OSGi service platform is a standarized, component

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: IMO, OSGi seem to be the best choice for kernel for Cocoon's block architecture and there is (if I haven't missed something important) a low risk, incremental and evolutionary way to get there. Hmm, I'm currently not sure if we really need such an infrastructure

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Reinhard Poetz
Carsten Ziegeler wrote: Daniel Fagerstrom wrote: IMO, OSGi seem to be the best choice for kernel for Cocoon's block architecture and there is (if I haven't missed something important) a low risk, incremental and evolutionary way to get there. Hmm, I'm currently not sure if we really need

Re: [RT] Micro kernel based Cocoon

2005-05-21 Thread Reinhard Poetz
Sylvain Wallez wrote: Daniel Fagerstrom wrote: The Cocoon servlet bundle - At last we need to have a Cocoon servlet bundle it looks up the Cocoon service and a HTTP service [10] (both Tomcat and Jetty implementations are available), embeds the Cocoon service in the

[RT] Micro kernel based Cocoon

2005-05-20 Thread Daniel Fagerstrom
Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. OSGi The OSGi service platform is a standarized, component oriented, computing environment for networked services. It handled

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Upayavira
An interesting read. Where does the servlet container sit within this picture? Do you need to have an OSGi servlet? Eclipse could by the sound of it load these bundles, but wouldn't be able to run them due to a lack of servlet container. Regards, Upayavira Daniel Fagerstrom wrote: Sylvain

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. Alternatives So GBeans seem like the only serious alternative. I don't know enough about

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Daniel Fagerstrom
Upayavira wrote: An interesting read. Where does the servlet container sit within this picture? Simplest way is to use an implementation of the HTTP service [1], there is a Jetty version http://oscar-osgi.sourceforge.net/repo/http/, a version with (AFAICS) an own servlet conatiner

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Thor Heinrichs-Wolpert
Daniel: Check out RIO, which is a QoS oriented system based upon Jini. It has either completed its relicensing or will have completed its relicensing to use the Apache 2.0 license. This is the infrastructure used in Sun's RFID initiative and in their Formula1 Race Car monitoring system.

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Daniel Fagerstrom
Vadim Gritsenko wrote: Daniel Fagerstrom wrote: Sylvain proposed [1] to base blocks on the OSGi service platform [2][3]. After having studied it in more detail I'm completely convinced that it is the way to go. Alternatives So GBeans seem like the only serious alternative. I don't

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Vadim Gritsenko
Daniel Fagerstrom wrote: Vadim Gritsenko wrote: You forgot that since GBeans used in Geronimo, basing Cocoon on GBeans means easier integration with/into Geronimo, which is significant advantage. Might be, I don't have enough knowledge (or interest for, at least yet ;) ) about Geronimo to be

Re: [RT] Micro kernel based Cocoon

2005-05-20 Thread Ralph Goers
Daniel Fagerstrom wrote: OSGi specification is currently at its 3rd release. It is used as kernel for Eclipse (since 3.0), each plugin is a bundle. It is used for embeded applications e.g. BMWs 5 series, mobile phones etc. There are 12 compliant implementations and at least 3 with friendly