RE: Design question: Model component using Business logic beans

2003-02-04 Thread mech
question: Model component using Business logic beans On Mon, 3 Feb 2003, BaTien Duong wrote: Date: Mon, 3 Feb 2003 20:02:41 -0700 From: BaTien Duong [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL

Re: Design question: Model component using Business logic beans

2003-02-04 Thread BaTien Duong
Great. Thanks. BaTien - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 8:49 PM Subject: Re: Design question: Model component using Business logic beans On Mon, 3 Feb

Design question: Model component using Business logic beans

2003-02-03 Thread mech
bean for the views. So actually the Action class should only do the controlling. So far so good and since things got to much in my Action classes I planned to move the code out into business logic beans to be accessed within execute() in order to do all the populate form stuff there. It's

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Pani, Gourav
business logic but it could be an alternative path that you could opt for. -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: Design question: Model component using Business logic beans Hi, currently I'm doing

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Jarnot Voytek Contr AU HQ/SC
component using Business logic beans Hi, currently I'm doing all my business logic in my Action classes. So besides the execute() method I might have some helper methods like populateFormBean() or I even put those stuff in the execute() directly if it wasn't to much. I have to do quite

RE: Design question: Model component using Business logic beans

2003-02-03 Thread John Espey
: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: Design question: Model component using Business logic beans Hi, currently I'm doing all my business logic in my Action classes. So besides the execute() method I might have some helper

RE: Design question: Model component using Business logic beans

2003-02-03 Thread mech
using Business logic beans Michael, I have been putting my data logic into DAO classes that throw their own custom exceptions. Based on the exception thrown, I append to the ActionError object in the Action class. I don't think this answers the specific question you asked

RE: Design question: Model component using Business logic beans

2003-02-03 Thread Ashish Kulkarni
://java.sun.com/blueprints/corej2eepatterns/Patterns/BusinessDelegate.ht ml -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 12:05 PM To: [EMAIL PROTECTED] Subject: Design question: Model component using Business logic beans Hi, currently

Re: Design question: Model component using Business logic beans

2003-02-03 Thread Craig R. McClanahan
On Mon, 3 Feb 2003, mech wrote: One thing, I'm having a bit trouble with migration is the ActionError stuff. One of the things we wanted to do in Struts 1.1, but ran out of time for, was to switch to using commons-resources for the underlying message resources stuff, and then build

Re: Design question: Model component using Business logic beans

2003-02-03 Thread Ted Husted
Craig McClanhan wrote: In the interim, though, you might want to investigate using commons-resources directly for your business logic (so you don't have to depend directly on Struts APIs) +1 What I'm doing is having the business tier bring back a MessageList and then just pumping it into

Re: Design question: Model component using Business logic beans

2003-02-03 Thread BaTien Duong
] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 11:05 AM Subject: Design question: Model component using Business logic beans Hi, currently I'm doing all my business logic in my Action classes. So besides the execute() method I might have some helper methods like populateFormBean() or I

Re: Design question: Model component using Business logic beans

2003-02-03 Thread Craig R. McClanahan
using Business logic beans We use chained exception from jdk1.4, commons.logging, and factoring out 4 components that are independent on Struts [MessageResources, MessageResourcesFactory, PropertyMessageResources, and PropertyMessageResourcesFactory]. I heard somewhere that these 4 components

Business logic beans

2002-02-20 Thread Daniel Steinberg
The Struts User's Guide suggests that business logic be encapsulated in beans. Business logic modules are generally stateless, so one would generally implement them as static utility classes (with only static methods) or singletons (with private constructors and static factory methods), neither

RE: Business logic beans

2002-02-20 Thread Robert
persistence layer to use the same framework. - Robert -Original Message- From: Daniel Steinberg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 12:06 PM To: '[EMAIL PROTECTED]' Subject: Business logic beans The Struts User's Guide suggests that business logic

Re: Question about struts application model (DataSource, Business Logic beans)

2001-03-13 Thread Ted Husted
developing. I have a question about the separation between the Action classes and the Business Logic beans. My Business Logic beans are making database accesses to manipulate the underlying data model. I am planning on using the struts db connection pool, which is supplied through the DataSource. My

Question about struts application model (DataSource, Business Logic beans)

2001-03-12 Thread Carles Pi-Sunyer
Title: Question about struts application model (DataSource, Business Logic beans) Hi, I'm using Struts for a new application that I'm developing. I have a question about the separation between the Action classes and the Business Logic beans. My Business Logic beans are making database

Question about struts application model (DataSource, Business Logic beans)

2001-03-12 Thread Carles Pi-Sunyer
Title: Question about struts application model (DataSource, Business Logic beans) Hi, I'm using Struts for a new application that I'm developing. I have a question about the separation between the Action classes and the Business Logic beans. My Business Logic beans are making database