Definitely a work in progress, thanks for the help. I knew about those two issues, but didn't have the time to sort them out last night.
What a nightmare verifying CMP beans. This is one of those times where you wish they actually spelled out the whole bean provider contract in one place in the spec. Cheers > > From: Luke Taylor <[EMAIL PROTECTED]> > Date: 2002/04/09 Tue PM 04:04:53 EDT > To: JBoss Dev <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: [JBoss-dev] [ jboss-Change Notes-541366 ] EJB 2.0 Verifier > > [EMAIL PROTECTED] wrote: > > Change Notes item #541366, was opened at 2002-04-08 23:48 > > > > Initial Comment: > > I have now checked in basic support for EJB 2.0 session > > bean and EJB 2.0 entity bean verification. I am sure > > there are still some problems with the entity beans, > > they are quite a bunch of fun to verify. > > > > This support should at least pick up those problems > > where there are misspellings in the deployment > > descriptor or method names not agreeing, etc between > > the various interfaces and the implementation. > > > > I will continue to work on it at least for a few days > > as message beans need to be done, messages input, and > > entity beans cleaned up. > > > > > Jay, > > Well done on getting the EJB 2 stuff in there. It's already come up with > a few verification errors for my beans. Unfortunately a couple of them > are minor bugs :). > > The first (in AbstractVerifier.java) is that the check for a no-args > constructor (calling newInstance()) fails for CMP entity beans, which > must be abstract. I've checked in a modified version which uses > reflection instead. > > The second is in checking that the primary key field is one of the CMP > fields on the bean. This is done using Class.getField() which of course > fails because the CMP fields are now abstract accessor methods rather > than member fields. I'll leave this alone, as I guess you're still > working on this bit. > > Keep up the good work, > > Luke. > > -- > Luke Taylor. Monkey Machine Ltd. > PGP Key ID: 0x57E9523C http://www.mkeym.com > > > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
