RE: SQL in Logic Bean or Action class

2002-02-14 Thread Phase Communcations
Users Mailing List Subject: Re: SQL in Logic Bean or Action class It sounds fine to me. The important thing is to follow the layers pattern [ view ] | [ controller ] | [ model ] The view can talk to the controller, and the controller can talk to the model, but when you le the view and model talk

RE: SQL in Logic Bean or Action class

2002-02-13 Thread jeff
You are on the right track. Keep the sql with the model. The only thing is don't let your collection of databeans make it to the jsp. That would then tie your presentation to the model. Very bad. There should be another set of beans that represents more of what the view is like. Often times

RE: SQL in Logic Bean or Action class

2002-02-13 Thread Phase Communcations
? Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:02 PM To: 'Struts Users Mailing List' Subject: RE: SQL in Logic Bean

RE: SQL in Logic Bean or Action class

2002-02-13 Thread jeff
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:15 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: SQL in Logic Bean or Action class A quick hypothetical scenario: I have an action class that needs to pass a list of addresses to the view for display. I have

Re: SQL in Logic Bean or Action class

2002-02-13 Thread Ted Husted
PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 12:02 PM To: 'Struts Users Mailing List' Subject: RE: SQL in Logic Bean or Action class You are on the right track. Keep the sql with the model. The only thing is don't let your collection of databeans make