-
Junior Member
Re: Writing Bussiness Logic using struts framework
Never implement business logic in action class,its not recommended.its visible to client and its tight coupled.
Always delegate the biz logic using form beans or DTO or EJB.
Action is only controller, it handles request from actionservlet and forwarding to view pages.
-
Junior Member
Re: Writing Bussiness Logic using struts framework
Never think of putting business logic in the action classes. Its not the way to work using struts. Action classes r only to act as a controller which delegates the control to some DAO, EJB objects. So always put ur business logic in DAO or EJbs...while using struts framework
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules