Why not make your own custom subtask to do this and leave the EJB onealone?
I'd help if I felt this was something I needed, but I don't see POJO'sas the right way to build forms - its not necessarily a one-to-one from form to > value object to database.
Creating a custom subtask is pretty simple, and you can even bundle itinto a JAR that can be plugged in dynamically. And that JAR could be distributed > on your own with the template embedded. Also, if you wanted a tag handler you could add a custom one in the JAR also.
Erik
I agree that it's not 1-1 from form to VO, but neither is form -> EntityBean IMO. As far as custom subtasks - is this a common practice? In other works, has anyone else done this and how does the XDoclet team view this practice. I'm guessing I'm responsible for my own distribution, etc. after producing it. As for creating this - is it similar to your strutsgen tool and associated files?
Common practice? Not yet, but thats how it should be for specialized uses of XDoclet.
Its no fun for open-source projects to maintain things that the committers do not use, and that is likely why you have not gotten much (any?) response on this.
Building a custom XDoclet module is pretty straightforward. Just crack open any of the JAR files that come with it and you'll see. The META-INF/xdoclet.xml is the key. You can register your own custom subtasks and tag handlers there. I'd like to see the XDoclet project provide more support in terms of getting folks up to speed easily on developing their own custom modules, but its not too tough even now.
As for my strutsgen tool - its just a custom tag handler (and actually it really could be reduced to just a template that used builtin tags and be almost as good) and a couple of templates - nothing too fancy there. But it could be bundled as a module with the addition of two simple custom subtasks to take over the use of <template> currently.
Erik
------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
