On Today at 12:44am, AS=>Andrew Stevens <[EMAIL PROTECTED]> wrote:

AS> 
AS> Have you tried the patch in XJD-41?
AS> http://opensource2.atlassian.com/projects/xdoclet/browse/XJD-41
AS> 
AS> 
AS> Andrew.

Yes, I have tried it and am using it now in production. (Thanks Anton 
Adamansky). Since Nicolas already replied to your post, I will try and be 
brief.

The difference between XJD-41 solution and Nicolas' is that the XJD-41 
solution prevents xdoclet from choking on jdk1.5 code with generics, 
whereas, Nicolas' solution goes ones step further and actually lets you 
recognize the genericized types all the way in the templates.

Here's an example from his blog:

xdoclet with XJD-41 solution will generate:

        public Collection findByCommonKey(Number key)
            throws FinderException

Nicolas' solution generates:

        public Collection<myEJBean> findByCommonKey(Number key)
            throws FinderException

So far, Nicolas has demonstrated an EJB bean implementation. In the near 
future, I hope to create an ActionForm template implementation (for 
struts). I'll report on its success/failure soon.

Later,
--
Haroon Rafique
<[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to