Results 1 to 8 of 8

Thread: Writing Bussiness Logic using struts framework

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    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.


  2. #2
    Junior Member
    Join Date
    Jul 2007
    Answers
    12

    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
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact