Cool, I'll give it a shot over the weekend, but it may
take a little time (gotta learn how these template
thingies work :)

Mike.

--- [EMAIL PROTECTED] wrote:
> Hi Michael,
> 
> See my responses below..
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> >
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of michael
> > grafton
> > Sent: 11. januar 2002 00:56
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-devel] weblogic 1.1 CMP support
> -- feedback
> >
> >
> > Hello all,
> >
> > New Xdoclet user here, and I'm psyched!  This is a
> > truly valuable tool.
> >
> > Anyway, you may have seen a post from me a few
> days
> > back regarding support for 1.1 CMP for Weblogic.
> > Around that time, Aslak checked in some code to
> > support this, and asked for my help testing it. 
> So I
> > pulled it down and took a look, and have some
> > questions & feedback.
> >
> > First I'm wondering about support for <finder> in
> > weblogic-cmp-rdbms-jar.xml.  This is a tag used by
> > weblogic to define finders, and uses a proprietary
> > query language.  The new code has a new template
> > (weblogic-cmp-11-finders.j) that is merged into
> the
> > main template.  In this new template, it looks to
> me
> > like a <finder> element is added for every
> > method-level tag "weblogic:finder" that is found.
> >
> > I'm not sure how this can work; my understanding
> is
> > that to have a method-level tag, you have to have
> a
> > method.  So that means you'd have to declare (and
> > implement) an actual finder method in the XXXBean
> > class, right?  But doing that goes against the
> whole
> > point of using the <finder> element, which is that
> you
> > don't have to write code for simple finders -- the
> > query language does it for you.
> >
> > I'm pretty new to EJB development AND XDoclet, so
> > forgive me if I'm missing something obvious.  But
> I'm
> > wondering if class-level tags (analogous to
> > @ejb:finder, but specific to weblogic) would make
> more
> > sense.
> >
> 
> You're quite right! I did the stuff in a bit of a
> rush, and I realise now it
> should be a class level tag, aside with the
> @ejb:finder tag. This will make
> the implementation a bit different. Perhaps you
> could give it a shot? As a
> hint, you should check for <XDtClass:ifHasClassTag
> tagName="weblogic:finder"> and let yourself inspire
> from ejb-body.j at lines
> 278-283. @weblogic:finder should have two
> parameters: finder-query and
> find-for-update. Let yourself inspire from the
> current implemetation of
> weblogic-cmp-11-finders.j for that. It should be
> pretty straigtforward.
> 
> > The one other problem I'm having is with the
> > <persistence-type> and <persistence-use> tags in
> > weblogic-ejb-jar.xml.  These are hardcoded to 6.0,
> but
> > seem to need to have the value 5.1.0 for CMP 1.1
> on
> > Weblogic.  That doesn't look like a hard fix.
> >
> 
> I think it can be done by replacing the hardcoded
> 6.0 with
> <XDtConfig:configParameterValue
> paramName="Version"/>, but I'm not sure if a
> value of 6.1 would work (I've always seen 6.0 in
> deployment descriptors,
> even for WLS 6.1, but that doesn't mean 6.1 won't
> work.). The DTD doesn't
> say what values are permitted here. Therefore, it'll
> have to be tested. I
> can do that test in case you don't have WLS 6.
> 
> > Anyway, that's where I'm at.  I'd be glad to dive
> in
> > and take a whack at these fixes, if you guys think
> the
> > approach is right.
> >
> 
> I'd love it if you could do these two fixes (plus
> fix the docs). If you do,
> just send the updated files to me personally, and
> I'll commit them in CVS
> for you. Sorry for attacking it from the wrong angle
> the 1st time.
> 
> Aslak
> 
> > tia,
> > Mike
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE video emails in Yahoo! Mail!
> > http://promo.yahoo.com/videomail/
> >
> > _______________________________________________
> > Xdoclet-devel mailing list
> > [EMAIL PROTECTED]
> >
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
> 


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to