users
[Top] [All Lists]

Re: [cinjug-users] Constants imply DP (was: Question on last Monday's me

To: Jim Cook <jimcook@xxxxxxxxxxxxx>
Subject: Re: [cinjug-users] Constants imply DP (was: Question on last Monday's meeting)
From: Mark Windholtz <windholtz@xxxxxxxxx>
Date: Fri, 25 Feb 2005 12:36:08 -0500
Cc: users@xxxxxxxxxx
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:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=n9TqljYhCdw3Hn1b49QgCqu9krfbf+Mtl0yBdyp1kFTNgmVDPiXLoEDQhk+IUrm5+VabtK+DdSTCjzbGKizMAS4qineh0gDTwlw+6qC6nAS3HmWb8oqwMWdg0uzLRnIB35R0rCDM9XnKeXZpn06VLEViRTSzTGg5Ijn3/DNDRew=
In-reply-to: <20050225171746.JLFA2033.imf24aec.mail.bellsouth.net@MARS1>
Mailing-list: contact users-help@cinjug.org; run by ezmlm
References: <3a4860b4050225083956af8634@mail.gmail.com> <20050225171746.JLFA2033.imf24aec.mail.bellsouth.net@MARS1>
Reply-to: Mark Windholtz <windholtz@xxxxxxxxx>
Jim Cook wrote:
> 
> Obviously the logic to produce the total is duplicated (Once in Java and the
> other in Javascript)
...
> Any suggestions on how I could solve this without using constants?
> 

   Another realization is that one reason we all drop back to 
   Data Processing is that DP is a common language accessible
   across departments and different programming languages.

   One solution is find a way to generate the JavaScript from a 
   primary Java definition.  Tapestry does some of this, but I'm not
   sure how customizable it is.

   In your case, I think your stuck with duplication.
   If it's all in Java however, it worth reconciling. 

Regards,
-Mark

<Prev in Thread] Current Thread [Next in Thread>