how to create APIs for a project where front end is JSP n back end is MySQL??
APIs connecting JSP and MySQL
Collapse
X
-
Originally posted by jith87how to create APIs for a project where front end is JSP n back end is MySQL??
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. -
Originally posted by jith87how to create APIs for a project where front end is JSP n back end is MySQL??
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,
JosComment
Comment