"Jonathan Carlson" <[EMAIL PROTECTED]> wrote:

>> All AndroMDA templates are only sample templates. You should
>> not expect them to be suitable for a production system.
>
>I'd like to put in a plug for at least making them suitable for a
>production system. �It would greatly lower the "cost" of entry if users
>didn't have to rework all the default templates just to get something
>that could be used in a production environment.
>
>Having said that, if a goal of the project is to keep out casual or
>semi-casual users, then I would agree that leaving the templates in a
>non-production-ready state is acceptable. �
>

If you would 'upgrade' the templates to be more production-ready you would force the 
user into using certain design patterns that may not be compatible with his particular 
business requirements, for example the UID generator described below, suppose you need 
to work with an existing DB and all primary keys are required to be java.lang.Long ?

I guess that one 'magical' template does not exist since each particular case is too 
different.

btw, I am using the XDoclet UID generation:

<utilobject includeGUID="true" cacheHomes="true" />

I removed the UID generator from the template (together with the caching of the 
homes...) I prefer XDoclet to generate that code for me.

another 2 cents ;-)
cheers

Wouter.

>My 2 cents,
>
>Jonathan
>
>
>
>>>> "Matthias Bohlen" <[EMAIL PROTECTED]> 03/28/03 11:30AM >>>
>Hi Ian,
>
>as I stated in a previous email, this class is a perfect example for
>inclusion into the Struts cartridge of AndroMDA. That way, the class
>is
>not part of the car rental sample any more but member of the AndroMDA
>Struts support framework.
>
>However, note one thing: All AndroMDA templates are only sample
>templates. You should not expect them to be suitable for a production
>system. Example: The use of java.rmi.server.UID in ENtityBean.vsl.
>This
>is illegal because internally it contains a call to Thread.sleep()
>which
>is not allowed inside an EJB container. Moreover, using this class is
>not safe when your container runs on a cluster. A correct,
>cluster-safe,
>legal implementation of a UUID-generator can be found on The Server
>Side.com.
>
>So, please treat the templates as sample code and modify them heavily
>for your particular project.
>
>Cheers...
>Matthias
>

__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to