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 17:11:07 GMT
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
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: Howard M. Lewis Ship [mailto:hlship@comcast.net]
> > > > > > Sent: Wednesday, September 10, 2003 8:24 AM
> > > > > > To: 'Dion Almaer'
> > > > > > Subject: RE: Hivemind on TSS
> > > > > >
> > > > > >
> > > > > > I'd be very interested on both counts. Ok, all three counts,
> > > > > > including promoting "Tapestry in Action".
> > > > > >
> > > > > > I've actually been encouraging the other Tapestry
> > > > committers to put
> > > > > > together some documentation about Tapestry for
> > > > TheServerSide; Harish
> > > > > > has a short document, simlar to the Maverick article from
> > > > a couple
> > > > > > of weeks back, that I need to review and edit.
> > > > > >
> > > > > > If you check out the HiveMind page today, you'll see a
> > > > "case study"
> > > > > > based on initial work using HiveMind at my day job. I
> > > > could expand
> > > > > > on that a bit to form a full article.
> > > > > >
> > > > > > "Tapestry in Action" will be available via MEAP in a week
> > > > or so (I
> > > > > > should be reviewing copy edits right now). I'm slightly
> > > > > > innudated (just bought a house as well).
> > > > > >
> > > > > > What format do you prefer submitted articles in?  Do
> > you have a
> > > > > > style guide?
> > > > > >
> > > > > > --
> > > > > > 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: Tuesday, September 09, 2003 9:02 PM
> > > > > > To: hlship@apache.org
> > > > > > Subject: Hivemind on TSS
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi Howard -
> > > > > >
> > > > > > I have been watching HiveMind, and it looks really cool.
> > > > > Would you be
> > > > > > interested in writing a piece for TheServerSide about it? It
> > > > > > would serve to teach the masses, get hivemind out there more,
> > > > > > and
> > > > > you could
> > > > > > also promote your Tapestry book I suppose ;)
> > > > > >
> > > > > > You could also write a cool "How Tapestry Does It Right"
> > > > > that compares
> > > > > > to JSF.
> > > > > >
> > > > > > Let me know if you are interested. Cool stuff!
> > > > > >
> > > > > > Dion
> > > > > >
> > > > > > --
> > > > > >          \\|//
> > > > > >          (o o)
> > > > > >
> > > > >
> > > >
> > +----oOOo-(_)-oOOo--------------------------------------------------
> > > > +-+
> > > > > > |     dion@theserverside.com      |   TheServerSide J2EE
> > > > > Community   |
> > > > > > |   www.middleware-company.com    |
> > > > > www.theserverside.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