APIs connecting JSP and MySQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jith87
    New Member
    • Jul 2007
    • 58

    APIs connecting JSP and MySQL

    how to create APIs for a project where front end is JSP n back end is MySQL??
  • praveen2gupta
    New Member
    • May 2007
    • 200

    #2
    Originally posted by jith87
    how to create APIs for a project where front end is JSP n back end is MySQL??
    Hi
    Hint for you , use java beans for connection of jsp page with the database., Make a java class for the database connection. use it as a java bean then call the method for connection.

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by jith87
      how to create APIs for a project where front end is JSP n back end is MySQL??
      JSPs are managed by Servlet containers at least. Have a look at Tomcat for
      your needs. The Servlet should just invoke/call a POJO (Plain Old Java Object)
      that takes care of the database connection. The results should be forwarded to
      your JSP that should take care of the display logic only.

      kind regards,

      Jos

      Comment

      Working...