Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 25563 invoked from network); 17 Sep 2003 17:03:02 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 17 Sep 2003 17:03:02 -0000 Received: (qmail 79140 invoked by uid 500); 17 Sep 2003 17:02:48 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 79045 invoked by uid 500); 17 Sep 2003 17:02:47 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 79007 invoked from network); 17 Sep 2003 17:02:47 -0000 Received: from unknown (HELO sccrmhc11.comcast.net) (204.127.202.55) by daedalus.apache.org with SMTP; 17 Sep 2003 17:02:47 -0000 Received: from almightybeast (unknown[65.114.188.240]) by comcast.net (sccrmhc11) with SMTP id <2003091717024501100c1m0pe> (Authid: hlship); Wed, 17 Sep 2003 17:02:45 +0000 From: "Howard M. Lewis Ship" To: Cc: "Jakarta Commons Developers List" Subject: [HiveMind] TSS Date: Wed, 17 Sep 2003 13:02:41 -0400 Message-ID: <009901c37d3d$815c6920$d0020a0a@ALMIGHTYBEAST> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <000901c37d36$f84ba980$6bb6769b@NAMRAC2247> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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" > To: "'Howard M. Lewis Ship'" > Cc: > 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