[jsr-314-open-mirror] [jsr-314-open] Plugin architecture

David Geary clarity.training at gmail.com
Fri Jul 2 21:41:42 EDT 2010


2010/7/2 Edward Burns <edward.burns at oracle.com>

> On 7/2/10 12:54 , Jason Lee wrote:
>
>> On 7/2/10 11:21 AM, Kito Mann wrote:
>>
>>> Hello everyone,
>>>
>>> For a while now I have been wanting Grails-style plugins for JSF.
>>> Maybe the best option is to start an open-source project and a
>>> repository (based on Maven, perhaps). Any thoughts on how we can
>>> facilitate this? Maybe
>>>
>> I've actually been tinkering on something like this as part of side
>> project of mine. Currently, I'm using a ClassLoader approach that, at
>> run time, loads JARs from $PLUGIN_DIR and stuffs them in the
>> ClassLoader. It currently supports ManagedBeans, Convertors and
>> Validators. I haven't added support for Components yet, nor have I
>> decided how best (if it all) to support mark up snippets in the plugin.
>> As a PoC, it seems to work pretty well so far, but, due to the demands
>> of GF development, my side projects have been starved of late. :|
>>
>
> Hi Kito, I like the concept.


Me too.


>  Can you please help me understand it more clearly?  When you say
> "Grails-style plugins", what do you mean exactly?
>

There’s an excellent Grails series on IBM Developerworks. Here’s
Understanding plug-ins <
http://www.ibm.com/developerworks/java/library/j-grails07219/>. This is also
a good reference: <http://www.grails.org/The+Plug-in+Developers+Guide>.


david


> Can you point to an example?
>
> Thanks,
>
> Ed
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20100702/cc359f7b/attachment-0002.html 


More information about the jsr-314-open-mirror mailing list