[XDoclet] Generating StrutsForms from a POJO
I was successfully able to complete my mission last night and this morning. I guess you could say that it took me more than 2 hours as I just finished it about an hour ago. I was up until 3 and worked on it a couple of hours this morning too. It's definitely a hack as it still depends on running the <strutsform> task inside the <ejbdoclet> task. But, it doesn't require EJBs anymore, which I think is a good thing. I'll be using it in my chapter's sample app, as well as on my current project - so I think it was time well spent. Now I just have a POJO marked up with Hibernate and StrutsForm/Validator Tags, and walla - life is good. I've opened an enhancement request in XDoclet's JIRA, so you can check out what changed if you're that interested. If you want to use it, you can download the patched xdoclet-apache (43K) module.