Scriptable components

Jason van Zyl <[email protected]>
Newsgroups gmane.comp.java.plexus.devel
Organization Zenplex
Message-ID <[email protected]>
Hi,

I just checked in plexus-comonents/python-factory to try and spark some
discusson about component factories in general, scriptable components
and RAD.

1) I'm still not really certain how various factories would be used
inside plexus or how they would be configured. But say you had java
factory and a python factory and you were looking for a component with a
specific role.

- Do we limit the container to one kind of factory?
- Do we have a search order for the factories?
- Do we provide a configurable way to use specific factory for certain
lookup? Maybe regex patterns?

2) With python, with what's there, I implemented the interface for the
component in Java but ideally I would like someone to be able to create
an application entirely out of components made in Python, or whatever.
Some BCEL magic could probably be employed but I'm still not sure how to
approach this. Technically it's not hard with BCEL.

3) For Maven we need to use Jelly so I'm not sure if I want to allow
writing components in Jelly or provide some higher level construct that
will just run some Jelly. Generally I think I would like Maven plugins
to just be components and I would like to be able to write the
components in whatever.

No real direction here, just wanted to try and spark some discussion.

-- 
jvz.

Jason van Zyl
[email protected]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.