Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How are manual modifications preserved and re-integrated back into a regenerated web application?

0
Posted

How are manual modifications preserved and re-integrated back into a regenerated web application?

0

See previous related question. In our experience, we have found that for the bulk of manual mods, CVS merges the mods quickly and efficiently. Note that generally, we really have not had to modify the generated code at the two major sites lit in 2003: the generated code ran (and still runs) just fine as-is. TriCoron’s DAOs are designed to be extended (public methods, private instance variables, public accessor / mutator methods) and of course the generated DAOs implement Cloneable, Serializable, and Comparable along with overriding equals(), hashcode(), toString() etc. as you would expect. Point is if you utilize generally accepted object oriented programming principles you likely will not have to touch any generated Java code. (JSPs are a different matter altogether and are generated in such a way to encourage modification.) Bottom line: If you do need to manually modify generated Java source code, the situation is certainly no worse than a hand-crafted application with other, lesser

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.