between the lines...
> -----Original Message-----
> From: David Jencks [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 1:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] cmp2 relations, mbeans, and the testsuite
>
> On 2002.06.07 03:03:41 -0400 Vesco Claudio wrote:
> > Hi!
> >
> > I think, I have corrected this problem in HEAD.
>
> Yes. I ported it back to 3.0. As far as I can tell it mostly reverts
> scott's changes?
>
[Vesco Claudio] No, in the 1.36 version of JDBCStoreManager the start
method was
public void start() throws Exception
{
startCommand.execute();
// Start the query manager. At this point is creates all of the
// query commands. The must occure in the start phase, as
// queries can opperate on other entities in the application, and
// all entities are gaurenteed to be createed until the start phase.
queryManager.start();
readAheadCache.start();
}
and the create method contains all code :-(
I am stop here. I am no so expert to cmp2 :-)
But I think that we don't need a mbean for a simple bridge to the metadata.
Claudio
> But until now I haven't
> > feedback.
> >
> > I don't think that we need a mbean to manage relationship, but I think
> > that
> > Dain can give us a better response :-)
> >
>
> I think it is the easiest solution I have seen. The relationship object
> does depend on both endpoints to be fairly well started before it can
> start, that is why the init/create step has to do so much. I think that
> using the mbean dependency mechanism already built into the infrastructure
> is by far the simplest way to ensure this while keeping the init/create
> step from referring to the outside world.
>
> david jencks
>
> >
> > Claudio
> >
> > > -----Original Message-----
> > > From: David Jencks [SMTP:[EMAIL PROTECTED]]
> > > Sent: Thursday, June 06, 2002 7:26 PM
> > > To: Dain Sundstrom; jboss-dev
> > > Subject: [JBoss-dev] cmp2 relations, mbeans, and the testsuite
> > >
> > > For me, 3.0.1 head testsuite is failing all the cmp2 tests with
> > > relationships. I think this is due to Scott's recent changes to the
> > > content of some create and start methods, although I haven't reverted
> > the
> > > changes to make sure.
> > >
> > > I propose that we manage the dependencies between a relationship and
> > the
> > > ejbs it relates by making the relationship into an mbean that depends
> > on
> > > both ejb mbeans. The mbean configuration system will then call start
> > on
> > > it
> > > only after both ejbs are started. It can call methods on each ejb
> > mbean
> > > to
> > > set up the relationship.
> > >
> > > I haven't looked into implementing this yet. Anyone see any obvious
> > > problems with it or have any objections?
> > >
> > > Thanks
> > > david jencks
> > >
> > > _______________________________________________________________
> > >
> > > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> > >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> > _______________________________________________________________
> >
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> >
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
> >
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development