Hi Mike,

> -----Original Message-----
> From: nobody [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Grafton
> Sent: 4. januar 2002 02:51
> To: [EMAIL PROTECTED]
> Subject: XDoclet support for Weblogic 1.1 CMP
>
> Hey Aslak,
>
> I've been using the XDoclet <weblogic/> facility to
> generate WebLogic 6.1 EJB DD's for a few days now...it's
> awesome, and thanks for the work.  From what I can tell,
> you are the main developer of this piece of code (correct
> me if I'm wrong!)
>

ATM, yes. But I've received a lot of comments from other users, which is
great!

> I've noticed that it seems, in general, to support only CMP
> 2.0.  For instance there is no way to add <finder> elements
> to your weblogic-cmp-rdbms-jar.xml file, which I gather are
> unnecessary for 2.0.  Also, the <DOCTYPE> element seems
> hardcoded to the 2.0 CMP DTD; despite the fact that my
> <ejbdoclet> tag has "ejbspec=1.1", the weblogic sub-task
> doesn't pick this up.
>

I developed it only with support for 2.0. With Andrew Steven's new XML
public ID system, it's pretty easy to implement support for various DTDs.

Basically, the 2.0 DTD is a superset of the 1.0 DTD, but some things have
also been removed in the 2.0 DTD, such as the finder and
enable-tuned-updates elements. I haven't looked too closely, I guess there
are more differences.

I have added and committed support for 1.1 finders plus updated the weblogic
docs. Please take a look at it and give me/the devel list some feedback when
you have tested it, as I haven't.

> I've gotten around the problems by hacking the template
> file myself, creating a merge point for the <finder>
> elements and simply hard-coding the DTD.  But I'm wondering

I guess we have done more or less the same thing, but I also modified the
WebLogicSubTask so that it sets the DTD according to the EjbSpec, so it
should work out of the box now.

> if it makes sense to flesh it out into full-fledged support
> for CMP 1.1.  I don't know how much work it is, or how many
> people will benefit (I can survive with my current hacks
> for now).
>

> If you think there's any compelling reason to add "real"
> support for Weblogic CMP 1.1, let me know and maybe I can
> whip it out this weekend.  Otherwise, I'll stick with my
> hacks for the time being, until I either find a Real Good
> Reason to add real 1.1 support or until I make the switch
> to 2.0.

I guess there are still some people around that develop CMP 1.1 EJBs for
WLS. It would be great if you could do the rest ;-). I can commit it for you
if you do this. If you do, make sure to update the docs too.

>
> BTW, if you'd like I can forward this to the xdoclet-devel
> list...
>

Yup. Done.

> Thanks,
> Mike

Cheers,
Aslak


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

Reply via email to