I would create a Manager class to do any business logic, that sits between
your Action and EJB.
This exposes this functionality to any other layers (Other than the web)
that may wish to use the functionality for instance a Thick Java Client
----Original Message Follows----
From: "Rivka Shisman" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[email protected]>
To: "Struts Users Mailing List" <[email protected]>
Subject: how much business logic should i put into actions?
Date: Wed, 14 Dec 2005 12:40:47 +0200
Hi friends,
I am developing a web application in which I have struts that call EJB
that uses other utility java classes.
I started to wonder - how much business logic should I put into struts
Actions?
For example, if I'm creating a report with jasper reports - should the
report creation be on the EJB level or the struts Action level? From
what I saw in the mailing lists most programmers put the report creation
logic in Servlets?
I'll be very thankful to see your thoughts about that
Thanks
Rivka
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]