2 Replies Latest reply on Mar 24, 2010 3:40 PM by magiccreative

    Adding components dynamically to a Seam application

    magiccreative

      Hi,


      is something like this possible. Imagine a production application (normally ear packed). I would like to add to it Seam components dynamically. The app is running. I would like to write a new component (a class annotated with @Name) and put this class in some folder for example, from this moment on I would like this class to be available for the main application as any other class that was packed with it and was exposed as a Seam component.


      I found that I can easily externalize the view and simply get new xhtml templates from some service. I found out how to externalize model. But I can't find out how to dynamically load controllers. Any help is appreciated.


      Greetings