|
From: Evert T. jr <ev...@cn...> - 2006-09-17 14:05:42
|
OK, just found an old mail of you where you are talking about 2.0. When I read it I found out that some things are not in the current version on cvs. - No J2ME support. - No dependency injection (like injecting configuration). - No signed plugins. But the current engine now has better unload/reload during runtime but normally you want to restart the application when you want to update 1 or more plugins. I could add some code to support restart. I could add it as a shutdown hook in the JVM so just before the JVM is shutdown a new one could be started. Most of the code is simular to the old but it has been restructed into more packages so its not a full drop in replacement for the old one, but for the most part is should (and I hope) work like before. One thing I added is the Application class, my intension's with that was that it contains only the normal things most plugins need, the more internal stuff like loading/unloading/starting plugins are in the PluginEngine class. I also added code for supporting services. It almost works the same as for extensionpoints and extensions. <servicepoints> <servicepoint name="Printer" interface="test.Printer" /> </servicepoints> <services> <service uid="printerServicePlugin" name="Printer" class="MyPrinter" /> </services> The differents is that with extensionpoints and extensions, the extensionpoint plugin uses the extensions and with servicepoints and services any plugin can make use of the services thru the servicepoint. I think the threading stuff is out, I didn't have any issues with it at least. So there is still work to do, so I will continue to work on it. Kevin Duffey wrote: > Evert, > > Sounds like an excellent idea! But before we do, can you think of > anything we had originally thought about for a 2.0 version that you > haven't put in yet? You did take out threading of plugin start calls right? > > Good job Evert! Looking forward to one day having some time to play with > it again!! > > I'd suggest (and would love to help if I had some dang time) putting > together a couple of example plugins, with some info on them. I think I > will start a new website on the platonos.org now that I have me some mad > skillz with ajax/web2.0. It would be a good time to update the site with > the 2.0 release (after beta and such). > > Do me a favor, list all the "changes" you made from the 1.0 final, and > anything else you added, so I can start spreading the word. > > Thank you bud. > > > > */Evert Tigchelaar jr <ev...@cn...>/* wrote: > > Ok, worked again a bit on the 2.0 engine and I think is quit stable now > and all features of the 1.5 engine are also in this engine. It also now > has support for services and servicepoints which is similar to the > extension and extensionpoint concept. > > I also worked on the unload feature a bit. If a plugin is unloaded than > all other plugins that are resolved to the plugin are unloaded to so > the > plugin can successfully unload. After the plugin has been unloaded, all > the other plugins that were unloaded during the unload are loaded again > and started when needed (when there start attribute in the plugin > tag is > set to true). > > Another feature I worked on was the disable feature. When a plugin is > disabled no other plugins can make use of it and get resolved agains it. > When a plugin gets disabled then allmost the same is done as unloading. > > I think its now a good time to see where we should go from here and > maybe put the current code in the ppe2 module out as beta and listen to > feedback. > > Any ideas, comments? > > Thanks, > Evert > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Platonos-plugeng-dev mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platonos-plugeng-dev > > > ------------------------------------------------------------------------ > Get your email and more, right on the new Yahoo.com > <http://us.rd.yahoo.com/evt=42973/*http://www.yahoo.com/preview> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Platonos-plugeng-dev mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platonos-plugeng-dev |