You may want to take a look at OSGI: http://www.springframework.org/osgi. It is something that is on the AppFuse roadmap (or at least used to be?), but none of us seem to have time to look into it in depth.
Mike On 9/25/07, Yopy <[EMAIL PROTECTED]> wrote: > > > To anyone willing to at least point me in the right direction, > > I'm currently working on a web application, one which has to be quite > flexible and all. One part of it is to present the user with information > from a certain source of data. This source can be anything - an XML file, > database data, etcetera. It has to be modular as well, so that in the > future, stuff can be added easily, prefferably without having to dive into > code and such. > > So, I'm thinking about a plugin system of sorts. Problem is, I have no > clue > how to implement those, let alone am I able to find a tutorial (a clear > one) > on Google or whatnot. What I'm aiming at is a controller (lets call it > ProjectController), which gets a request parameter indicating the data > source and an ID. Now, I want the program to find a plugin that says it > handles the specific data source from, for example, the lib directory. But > once again, I have no clue. > > The plugin will need to contain everything - a controller, model(s), and > .jsp views. > > I found this article > http://www.devx.com/Java/Article/31835/0/page/1 > but it doesn't say where those XML files go, nor do I see those anywhere > in > the example. It may be the solution, but it's not idiot-proof enough for > me, > nor is it aimed at web applications. > > For detail, I'm using the default AppFuse package with two controllers (so > far), Spring MVC, the works. > > If anyone could at least point me in the right direction, or figure out > what > search terms to use, I'd be much obliged. > -- > View this message in context: > http://www.nabble.com/Creating-a-plugin-based-web-application-tf4513923s2369.html#a12874672 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >