Results 1 to 3 of 3
  1. #1
    nithinurs is offline Member
    Join Date
    Apr 2011
    Rep Power

    Default why business logic should be moved out of JSP ?

    what are the advantages of keeping the business logic outside JSP , since JSP's are meant mainly for presentation we still see business logic written inside JSP , so i needed to know what benefit we get by moving business logic out of JSP

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power


    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

  3. #3
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Rep Power


    If you have business logic in JSP
    1.) What happens when they ask you to reuse the same business logic for other types of front ends?
    2.) How much support does your IDE give you for refactoring the code?
    3.) How easy is it for you to unit test your business logic code?
    4.) If you want to change one and not the other (i.e either business logic only or presentation only), how confident are you that changing one will not affect the other?

Similar Threads

  1. How do you access moved folders in Eclispe?
    By Dev23 in forum New To Java
    Replies: 0
    Last Post: 03-09-2011, 11:20 PM
  2. Log4J Question <moved>
    By razorSpirit in forum New To Java
    Replies: 2
    Last Post: 10-13-2010, 10:33 PM
  3. Backdoors are cleaned and Server moved
    By JavaBean in forum Suggestions & Feedback
    Replies: 2
    Last Post: 03-21-2008, 03:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts