commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@carmanconsulting.com
Subject Re: [HiveMind] TSS
Date Wed, 17 Sep 2003 18:06:53 GMT
Wow!  Glad to know somebody actually READ my article!  :-)

----- Original Message ----- 
From: "David Graham" <grahamdavid1980@yahoo.com>
To: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
Sent: Wednesday, September 17, 2003 1:40 PM
Subject: Re: [HiveMind] TSS


> James,
> There is a Mapper project in the Commons Sandbox which aims to be a simple
> DAO abstraction layer.  It's not a lot of code but it's really been quite
> useful in my projects and it may be helpful in this discussion.
>
> BTW, your article (among many others) was part of my research in
> developing Mapper.
>
> http://jakarta.apache.org/commons/sandbox/mapper/
>
> David
>
> --- james@carmanconsulting.com wrote:
> > I think the first idea is PERFECT.  I came up with the idea for my
> > framework
> > by using JDO in a web application (no transactional support involved).
> > So,
> > I used "invocation decorators" or, in HiveMind, "interceptors" to begin
> > the
> > transaction if one didn't exist already (and commit it upon successful
> > completion of the method).  I think that might be a great idea for an
> > example.
> >
> > I also like the DAO idea.  I wrote an article about a new-and-improved
> > DAO
> > framework
> > (http://www.javaworld.com/javaworld/jw-03-2002/jw-0301-dao.html)
> > and I wish I had HiveMind around for that!
> >
> > ----- Original Message ----- 
> > From: "Howard M. Lewis Ship" <hlship@comcast.net>
> > To: <james@carmanconsulting.com>
> > Cc: "Jakarta Commons Developers List" <commons-dev@jakarta.apache.org>
> > Sent: Wednesday, September 17, 2003 1:02 PM
> > Subject: [HiveMind] TSS
> >
> >
> > > A couple of ideas I may be pursuing at work ...
> > >
> > > Creating interceptors to enforce transaction boundaries.
> > >
> > > Creating intreceptors to enforce declarative security.
> > >
> > > Creating interceptors that record invocations counts as JMX beans.
> > >
> > > HiveMind's take on the DAO factory:  Define a DAO interface and supply
> > several implementations (for
> > > different databases or environments) in a configuration point. Have a
> > service factory create a
> > > service implementation that delegates to a particular implementation,
> > i.e.
> > >
> > > client code --> wrapper service --> actual service
> > >
> > > The wrapper service is created at runtime.  Client code only sees the
> > wrapper service, never has to
> > > even know that a dynamic selection takes place. Wrapper service is
> > constructed at runtime using a
> > > service impl factory ... look at how EJBFactory is implemented to
> > understand this.
> > >
> > > Service that creates C#-style delegates for use in Swing apps.  You
> > feed
> > in: object, name of public
> > > method (of object), listener interface type ... it spits out delegate
> > object that implements the
> > > interface and invokes the public method (possibly, passing the event
> > in).
> > Optional: if listener
> > > interface defines multiple methods, you decide which to connect.
> > >
> > >
> > > --
> > > 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@carmanconsulting.com [mailto:james@carmanconsulting.com]
> > > > Sent: Wednesday, September 17, 2003 12:16 PM
> > > > To: dion@theserverside.com; hlship@comcast.net
> > > > Subject: Re: Hivemind on TSS
> > > >
> > > >
> > > > Well, I don't really have an idea of how I am going to use
> > > > HiveMind in my example yet, as I am quite a newbie still.
> > > > However, I plan on giving a talk on HiveMind at our local
> > > > users group (www.cinjug.org) in November and I would imagine
> > > > that I could have something together for you guys by the end
> > > > of November.  I will be playing around with HiveMind over the
> > > > weekend and I might get a "brilliant" idea for an example.
> > > > I'll try to get you an abstract sometime next week.  Will
> > > > that be okay?
> > > >
> > > > ----- Original Message ----- 
> > > > From: "Dion Almaer" <dion@theserverside.com>
> > > > To: "'Howard M. Lewis Ship'" <hlship@comcast.net>
> > > > Cc: <james@carmanconsulting.com>
> > > > Sent: Wednesday, September 17, 2003 11:53 AM
> > > > Subject: RE: Hivemind on TSS
> > > >
> > > >
> > > > > Hi Howard and James -
> > > > >
> > > > > Howard: I totally understand both your time requirements,
> > > > and the idea
> > > > > of having a secondary source providing the info
> > > > >
> > > > > James: We would love to have you work on the article.  Feel
> > > > free to be
> > > > > as creative as you would like.  The TSS articles that we
> > > > publish try
> > > > > to be as "hard core" as possible, since our audience tends
> > > > to prefer
> > > > > that.
> > > > >
> > > > > Maybe you could put together a quick abstract (nothing
> > > > formal), and a
> > > > > guesstimate of when you feel you could get us an article.
> > > > Then I will
> > > > > book you into our editorial calendar.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Dion
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Howard M. Lewis Ship [mailto:hlship@comcast.net]
> > > > > > Sent: Wednesday, September 17, 2003 11:43 AM
> > > > > > To: 'Dion Almaer'
> > > > > > Cc: james@carmanconsulting.com
> > > > > > Subject: RE: Hivemind on TSS
> > > > > >
> > > > > >
> > > > > > A fellow by the name of James Carman has started using HiveMind
> > > > > > recently as is very enthusiastic. He was recently
> > > > published in JDJ
> > > > > > discussing his own framework, which is something of a subset
of
> > > > > > HiveMind.
> > > > > >
> > > > > >
> > http://www.javaworld.com/javaworld/jw-07-2003/jw-0718-factory.html
> > > > > >
> > > > > > I mentioned to him the possibility of writing a TSS article
> > about
> > > > > > HiveMind and he's very enthusiastic. Since TiA is requiring
some
> > > > > > rewrites, I'm fully booked ... and I think from a
> > > > marketing HiveMind
> > > > > > / marketing Howard Lewis Ship perspective that these articles
> > are
> > > > > > received better by the audience when authored by a
> > > > secondary party,
> > > > > > rather than by the subject matter's creator. Of course,
> > > > I'll be able
> > > > > > to spare a few moments to review his work before it goes
> > forward.
> > > > > >
> > > > > > --
> > > > > > 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: Dion Almaer [mailto:dion@theserverside.com]
> > > > > > > Sent: Wednesday, September 10, 2003 9:39 AM
> > > > > > > To: 'Howard M. Lewis Ship'
> > > > > > > Subject: RE: Hivemind on TSS
> > > > > > >
> > > > > > >
> > > > > > > Hi Howard -
> > > > > > >
> > > > > > > I am glad to hear that you are up for it!
> > > > > > >
> > > > > > > I am also glad to hear that you may almost have
> > > > something :) After
> > > > > > > you review / tweak the content, send it along.  The
> > > > more code/hard
> > > > > > > core the better for this audience (as you know).
> > > > > > >
> > > > > > > The HiveMind case study would be a great starting point
> > > > for you to
> > > > > > > write an article. Again, get something to me at your leisure
> > (I
> > > > > > > know you are busy).
> > > > > > >
> > > > > > > Manning kinda sends me their book chapters, and I will
> > > > make sure
> > > > > > > that I get a look at the Tapestry In Action book.  I am
> > > > excited to
> > > > > > > see how it is, and glad to hear that a full book is
> > > > devoted to the
> > > > > > > subject.
> > > > > > >
> > > > > > > I will probably even write a review on TSS (like the
> > > > recent one on
> > > > > > > AspectJ:
> > > > > > > http://www.theserverside.com/resources/article.jsp?l=AspectJRe
> > > > > > > view).  I hope the book process is going well for you.
> > > > I know it
> > > > > > > is so time consuming.
> > > > > > >
> > > > > > > We do not really enforce a particular format for articles
(for
> > > > > > > good or bad).  We want authors to use the tools that they
> > like.
> > > > > > > However, if there is a way to get standard HTML that is
always
> > > > > > > easiest for the site editors to deal with.
> > > > > > >
> > > > > > > Keep in touch,
> > > > > > >
> > > > > > > Dion
> >
> === message truncated ===
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> ---------------------------------------------------------------------
> 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