xDoclet is not a factor here. XDoclet runs agains tags in the bean classes. The
methods we're talking about here are in those bean classes. MiddleGen is *NOT*
putting those methods in the bean classes, and as such, generating JBoss CMP
errors.

If this isn't the case, please show me how.

--- Eivind Waaler <[EMAIL PROTECTED]> wrote:
> Hi again,
> 
> The standard Middlegen airline sample (flight, person, reservation)
> deploys on JBoss. The point is that XDoclet generates an xxCMP class for
> all the bean classes that contains the required methods.
> 
> Seems like you've been using Middlegen without running XDoclet on the
> generated code? If you look at the Middlegen sample you'll see how
> Middlegen and XDoclet work together to generate complete code for
> deployment.
> 
> Regards
> .eivindw.
> 
> On Fri, 27 Feb 2004, Leif Ashley wrote:
> 
> > Haug and Eivind Waaler: to the best of my knowledge, the methods:
> >
> > void ejbActivate()
> >  void ejbLoad()
> >  void ejbPassivate()
> >  void ejbRemove()
> >  void ejbStore()
> >  void setEntityContext(EntityContext ctx)
> >  void unsetEntityContext()
> >
> > ... are still required in CMP beans as per the J2EE spec. Even if I'm
> wrong,
> > JBoss will definately require it because of how the reflection and
> > dereferencing occures. I hit the same error today, and here's the JBoss
> error
> > from my cactus report:
> >
> > null; CausedByException is: Method is not a known CMP field accessor, CMR
> field
> > accessor, or ejbSelect method: methodName=ejbActivate
> >
> > What a booger. On the up side, you should be able to include a merge file
> even
> > though I haven't tried it.
> >
> > =====
> > ------------------------------
> > - Leif Ashley (404) 550-3591
> > - J2EE / .NET Architect
> > - Perception Consulting, Inc.
> > ------------------------------
> >
> > __________________________________
> > Do you Yahoo!?
> > Get better spam protection with Yahoo! Mail.
> > http://antispam.yahoo.com/tools
> >
> >
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > middlegen-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/middlegen-user
> >
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user


=====
------------------------------
- Leif Ashley (404) 550-3591
- J2EE / .NET Architect
- Perception Consulting, Inc.
------------------------------

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to