| To: | users@xxxxxxxxxx |
|---|---|
| Subject: | Struts FormBean <--> Domain Best Practice? |
| From: | josh marotti <marotti@xxxxxxxxx> |
| Date: | Wed, 23 Mar 2005 19:46:12 -0500 |
| Delivered-to: | mailing list users@cinjug.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=aqhtVEXn+YRcF3wQmCLTuBu/MGGgBCySUnCq1MZAyG5fgStNERqkTTTZ7l8yXkdp9mpWld/eo1W7+muM5jvK5eXoU0pG+6kvrmeMcaFCWbA6i/KNo6rWKgizhORZ0oBFXaTuvmud1l9+BqASksLTBAwfpObcgWlLWXmrfiApM6A= |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
| Reply-to: | josh marotti <marotti@xxxxxxxxx> |
I have been involved in the development of several struts applications. The one thing I have noticed is that everyone has a different way of converting formbeans to domain (or value) objects and back. I've seen a conversion manager that lists all the converts as static methods, a semi-factory pattern, having a formbean having a 'toDomain()' method and the domain having a 'toFormBean()' method, etc... The question is, has anyone created a best practice to doing these conversions? Is it just a matter of personal preference? Is it dependent on the project? Thanks, Josh |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [cinjug-users] help: How to create virtual current system dat e for J2EE applications hosted under the same WAS?, Keshav Kode |
|---|---|
| Next by Date: | Re: [cinjug-users] Struts FormBean <--> Domain Best Practice?, Mike Helmick |
| Previous by Thread: | RE: [cinjug-users] help: How to create virtual current system dat e for J2EE applications hosted under the same WAS?, Amol Deshmukh |
| Next by Thread: | Re: [cinjug-users] Struts FormBean <--> Domain Best Practice?, Mike Helmick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |