[weld-dev] Java SE extension

Gavin King gavin.king at gmail.com
Wed Nov 18 07:40:23 EST 2009


On Wed, Nov 18, 2009 at 5:48 AM, Mark Struberg <struberg at yahoo.de> wrote:
>>    java -Devent=my.Event
>>    java -Daction=mybean.method
>
> Don't you think this is going too far?
> "If you have a hammer, every problem seems to be a nail." :)

OK then, how would you do it?

A template method doesn't work, because main() is static.

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list