commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@carmanconsulting.com
Subject Re: [HIVEMIND] Examples Please?
Date Wed, 17 Sep 2003 12:27:53 GMT
Well, I would love to get involved.  This project sounds awesome!  Is there
a good UML diagram or an introduction into the architecture of HiveMind yet?
I'll try to download the source from cvs and start poking around to see what
I can come up with.  I plan to give a talk to our local users group
(Cincinnati Java Users Group www.cinjug.org) maybe next month about
HiveMind, so I really would like to get familiar with it.  Thanks again for
your prompt replies (even though you weren't quite awake when you sent
them).  :-)



----- Original Message ----- 
From: "Howard M. Lewis Ship" <hlship@comcast.net>
To: "'Jakarta Commons Developers List'" <commons-dev@jakarta.apache.org>
Sent: Wednesday, September 17, 2003 8:12 AM
Subject: RE: [HIVEMIND] Examples Please?


> So I wasn't awake ...
>
> --
> Howard M. Lewis Ship
> Creator, Tapestry: Java Web Components
> http://jakarta.apache.org/tapestry
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
>
> > -----Original Message-----
> > From: Howard M. Lewis Ship [mailto:hlship@comcast.net]
> > Sent: Wednesday, September 17, 2003 7:29 AM
> > To: 'Jakarta Commons Developers List'
> > Subject: RE: [HIVEMIND] Examples Please?
> >
> >
> > We're working on the docs and are setup now to provide more
> > and better examples.
> >
> > HiveMind is very, very new.  If it looks polished, that's a
> > compliment ... and reflects that many of the ideas in
> > HiveMind gestated inside Tapestry over the last couple of years.
> >
> > I'm using HiveMind at work ... I think of it largely as a
> > refactoring tool.  Case study #1 is based on one usage of
> > HiveMind.  However, its a proprietary application and completely huge.
> >
> > A module maps to a jar; you'll have multple packages in the
> > jar but only a single HiveMind module. If that's a problem,
> > one solution is to refactor your code into more small
> > modules.  HiveMind really supports this well, since it
> > (effectively) adds a late binding, where module A defines the
> > interface, and module B supplies the implementation.
>
> And I've used this late binding capability to unravel a bad dependency
between layers in the code.
>
> >
> > Due to our current build process, we have a similar issue:
> > multiple logical modules that are packaged together as a
> > single JAR. In an ideal world, there would be a
> > ClassLoader.getTResourceInFolder("/META-INF/hivemind") ...
>
> That is, I wish I could use getResources() and pass in a folder name and
get all the files in that
> folder.  ClassLoader.getResource() only works
> if you know exactly what you are looking for.
>
> Servlet API is similar, though a later version of Servlet API supports
methods for iterating over
> the list of files in a context folder.
>
> > but there isn't.  Instead, we have "external descriptors", a
> > directory under WebLogic where we store the extra class
> > loaders; our servlet's registry bootstrap code processes all
> > the XML files there as well as those found normally. It works
> > well, but is not quite ideal for a clustered EAR deployment;
> > we'll want to graft something together for that soon.
> > Possibly, our build system will write a catalog of these
> > external descriptors into a central file.
> >
> > --
> > Howard M. Lewis Ship
> > Creator, Tapestry: Java Web Components
> > http://jakarta.apache.org/tapestry
> >
> http://jakarta.apache.org/commons/sandbox/hivemind/
> http://javatapestry.blogspot.com
>
> > -----Original Message-----
> > From: James Carman [mailto:james@carmanconsulting.com]
> > Sent: Tuesday, September 16, 2003 9:46 PM
> > To: commons-dev@jakarta.apache.org
> > Subject: [HIVEMIND] Examples Please?
> >
> >
> > Does anyone have a good example application (very simple,
> > please) for HiveMind?  I would like to start using it and I
> > just need a little nudge to get me going.  Like, how do I
> > obtain a handle to a Registry object in the first place to
> > set it as the default?  And, how many of these hivemind.xml
> > files am I going to have to have floating around?  It appears
> > as if I need one for each package in my project, but only one
> > can be in my jar file located at /META-INF/hivemind.xml?  Is
> > this true?  If so, packaging an application could turn out to
> > be rather tedious if I do indeed plan to separate things out
> > into these small, testable modules.  I may be
> > misunderstanding the documentation, though.  Anyway, if
> > anyone has a good starter application (maybe even with the
> > entire project set up with an Ant build script), I would be
> > very appreciative.  I sure wish I would have known about
> > hivemind before.  It looks as if it does everything (and
> > more) that my little "business object factory" framework
> > (http://www.javaworld.com/javaworld/jw-07-2003/jw-0718-factory
> .html) does.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>


Mime
View raw message