----- Original Message -----
From: "Rickard Oberg" <[EMAIL PROTECTED]>
To: "jBoss Developer" <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 9:46 AM
Subject: Re: [jBoss-Dev] EJX Development


> > Here is my schedule to improve EJX:
> > - Add a new "ResourceManager" and "ResourceManagerFactory" which
> >   works like "FileManager" and "FileManagerFactory" but allows to use
> >   an URL instead of a File. Because there are already EJX-plugins
> available
> >   I don't want to force them to change but just an extended version of
> these
> >   classes. When it is not possible I will change all the EJX-plugins in
> > jBoss
> >   to use the new classes.
> >   I know at the moment there are still some open points with this
approach
> >   but it works if only file-URLs are used.
>
> Sounds good. All the current EJX plugins should be changed to use the new
> interfaces.

There a two important but still open questions:
- FileManagerFactory returns a FileFilter. I looked up JDK 1.3 and did not
found
  a similar class for URLs. Does anybody now a similar class or do we have
to create
  one by ourself.
- The EJX-Plugins use a JFileChooser to select the desired files. For the
URL approach
  we need something similar but I think it should be something like a
pluggable URLChooser
  where the JFileChooser is just one plugin. I had a look at jEdit but there
you had to
  enter the whole ULR. Does anybody have a idea of such a tool?

> > - Enable the plugins to change the EJX-menu bar. The changed menubar
> >   is only visible when the plugin is active (like in MAC or Atari GEM).
>
> Do you have any ideas on how to determine "active"? A focuslistener
> perhaps...?

As far as I know is the focus listener not a 100% reliable tool therefore at
the
moment I have no idea but with something like this.

> > On the other hand I would like to split the actual EJX we have into the
> > core part (the necessary part to run EJX) and the examples added to by
> > Rickard. I think it makes it a bit clearer to see what EJX and help to
> > reduce
> > the jar-file to run EJX and its plugins.
>
> Where do you propose to put the EJB and EJBench plugins? In a separate
> project?

I already started and suggest the following structure:
- ejx\ejx\examples\ejb. Underneath you have build, etc, lib/ext and src. The
build.xml
  is in the build directory and create the ejxejb.jar file.
- ejx\ejx\examples\ejbench. The same way as above
- the EJX build.xml have a way to create all the examples EJX-plugin by
calling
  the appropriate build.xml files in the examples directory.
- I will add my examples from the HowTo as well to the ejx\ejx\examples
directory.

Have fun - Mad Andy


Reply via email to