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

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Ian Bamsey
> Sent: Friday, March 28, 2003 1:47 PM
> To: [EMAIL PROTECTED]
> Subject: [Andromda-user] FormFieldMapper
> 
> 
> I'm building a Struts app using Andromda. I've found
> that the Action template makes use of 
> org.andromda.sample.carrental.webutils.FromFieldMapper.java
> 
> This seems a little odd, in that I need to include
> that class in my project or modify the template. If I
> modify the template I add complexity to the task of
> maintaining the template when improvement come along.
> 
> If this class is valuable, should it not be moved to
> the core?
> 
> Comments anyone.
> 
> Ian
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts http://uk.my.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user
> 




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to