On Thu, June 8, 2006 3:07 pm, Michael Jouravlev wrote:
> So your argument is basically that database roundtrips will degrade
> performance.
Yes, but that's only one aspect of it... scalability is also a factor, as
is number of breakage point, as is cost, because to overcome the first two
you have
Michael Jouravlev wrote:
> Check out Stripes, great stuff.
It is indeed pretty cool.
I really dislike putting my URL mappings in code, though, if for no
other reason than if I'm testing or need to stub out a URL handler
temporarily for some reason I have to touch things in two different
places (m
On Thu, June 8, 2006 2:46 pm, Craig McClanahan wrote:
> Always slow to get on the latest bandwagon, eh Frank :-)
Who, what, me?!? Nhh!
(hey, you were the last Ant vs. Maven holdout, I was happy I wasn't the
only one... you left me man!! LOL)
> That being said, XML configuration fil
On 6/8/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
* Annotations are not a good idea when the configuration concept should
not be a concern of the person actually writing the code. In webapps, for
example, I don't believe in conf
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote:
> * Enhance the user experience by catching errors as quickly
> as possible (ideally client side in a webapp), with error messages that
> are relevant to the user's context in that pa
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
[snip]
I'm still not sold on the whole concept of annotations myself... it seems
to encourage scattering things throughout the code base that otherwise
would be centralized.
Always slow to get on the latest bandwagon, eh Frank :-)
Ironi
On Thu, June 8, 2006 2:12 pm, Craig McClanahan wrote:
> IMHO, where and how to do what kinds of validations is going to be the
> next
> "great debate" in application framework design :-)
Hehe, it's a debate that's been around for a while, not sure it can be the
"next" great debate :) LOL
> * Enha
On 6/8/06, Dave Newton <[EMAIL PROTECTED]> wrote:
Frank W. Zammetti wrote:
> On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote:
>
>> On the other hand, the whole idea of Struts/Commons Validator sucks
>> big time, because database already has all necessary validations,
>> domains, triggers,
Frank W. Zammetti wrote:
> On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote:
>
>> On the other hand, the whole idea of Struts/Commons Validator sucks
>> big time, because database already has all necessary validations,
>> domains, triggers, etc. Since most apps use database anyway, input
>>
On Thu, June 8, 2006 1:09 pm, Michael Jouravlev wrote:
> On the other hand, the whole idea of Struts/Commons Validator sucks
> big time, because database already has all necessary validations,
> domains, triggers, etc. Since most apps use database anyway, input
> data should either be validated dir
On 6/8/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
Second, an ActionForm is, usually, used to repopulate an HTML form on a
page when an error occurs, or when a page is initially shown. Since HTML
forms only deal in Strings, another recommendation you frequently hear is
to only have Strings
On 6/8/06, chamal desilva <[EMAIL PROTECTED]> wrote:
Hi,
I read few articles on struts. They recommend not to
send action form class to EJBs as data holders. They
recommend we should use general classes for holding
data to decople web tier with EJBs.
What they say must be correct but I still ha
chamal desilva wrote:
> Hi,
>
> I read few articles on struts. They recommend not to
> send action form class to EJBs as data holders. They
> recommend we should use general classes for holding
> data to decople web tier with EJBs.
>
That's right.
> What they say must be correct but I still have
Hi Chamal,
The recommendation of not passing ActionForms to your business classes
stems from two thoughts...
First, by passing an ActionForm, you tie your business clases to Struts.
Should you want to change to another framework later, your business
classes should be unaffected, therefore, passi
Hi,
I read few articles on struts. They recommend not to
send action form class to EJBs as data holders. They
recommend we should use general classes for holding
data to decople web tier with EJBs.
What they say must be correct but I still have few
doubts (Maybe b'cause I am not experienced).
Do
15 matches
Mail list logo