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
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
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
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
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
: 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
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
://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
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
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
]
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
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
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
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
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
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
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
17 matches
Mail list logo