I have used code generators in the past. True they can save initial development time, but many have serious short comings. (Not that this one does as I know nothing about it, but in general.)
1. The code is lowest common denominator code. Meaning that the generated code could typlically be optimized for the specific situation that it is generated for.
2. Depending on the programatic structure of the generator, the code can be very difficult to read for future maintenance.
3. Management often mistakes having a code generator can replace experianced programers and save big $$$. What usually happens is that the more the company invests in generated code, the less the developers know, the poorer the application design, the more you need experianced programmer to tell you why you are having performance problems. (The same argument can be made for intellegent IDE's which is really all a code generator is).
4. The generator itself can outdate itself very quickly, locking you into old technologies. For example, this email indicated struts 1.2, which version? 1.2.3, 1.2.7? Also, is this for java 1.5, 1.4, 1.3? Companies the size of IBM, Borland, Sun or open source sites like Jakarta have the resources to keep their software/frameworks up to date with technology, startup companys or school projects don't have that luxury.
So, where I like the Idea of a generator for speed, I have difficulty accepting the cost.
"Martin Gainty" <[EMAIL PROTECTED]>
08/10/2005 12:22 PM
|
|
Jinpeng-
I think code generators could be a 'good thing' ..A few questions -
Does it create Tags?
Tag Library Descriptor files?
Does it generate desciptor files (struts-config.xml?)?
Does it generate entity beans?
session beans?
Does it war the file afterwards?
Does it cold deploy /hot deploy to Tomcat ?
If so which version?
???
M-
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, August 10, 2005 12:07 PM
Subject: Nice try (was Java code generator including Struts 1.2)
> Registrant:
> LeEonsoft
>
> 1300 Fern Hill Court
> Tallahassee, Florida 32312
> United States
>
> Registered through: GoDaddy.com (http://www.godaddy.com)
> Domain Name: LEEONSOFT.COM
> Created on: 23-Dec-02
> Expires on: 23-Dec-13
> Last Updated on: 27-Jul-05
>
> Administrative Contact:
> Xie, Jinpeng [EMAIL PROTECTED]
> LeEonsoft
> 1300 Fern Hill Court
> Tallahassee, Florida 32312
> United States
> 8508948808
> Technical Contact:
> Xie, Jinpeng [EMAIL PROTECTED]
> LeEonsoft
> 1300 Fern Hill Court
> Tallahassee, Florida 32312
> United States
> 8508948808
>
> Domain servers in listed order:
> NS1.NETTALLY.COM
> NS2.NETTALLY.COM
>
>
> Registry Status: ACTIVE
>
>
> Jinpeng Xie <[EMAIL PROTECTED]>
> 08/10/2005 11:54 AM
> Please respond to
> "Struts Users Mailing List" <user@struts.apache.org>
>
>
> To
> Struts Users Mailing List <user@struts.apache.org>
> cc
>
> Subject
> Java code generator including Struts 1.2
>
>
>
>
>
>
>
>
> Dear struts users,
>
> I purchased Dreamsource- a Java code generator from Leeonsoft company (
> http://www.leeonsoft.com) last week. It is so powerful code generator. It
> generates all source codes including Struts 1.2 codes. I highly recommend
> this product to you. I hope you can save a lot of development hours as I
> did.
>
> Best regards,
>
> Jinpeng
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]