Java, .NET, PHP, PYTHON, ANGULAR, .NET, ML, Data Scince, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"



https://github.com/shivaconceptsolution/ProjectJSPServlet


Project Architecture Provide Separate Layer to Manage Code .Java Project support three different type of architecture.

JSP  (design + code)  (1 Tier)
Servlet(design + code )(1 Tier)

JSP + Servlet (Design + Code)  2 Tier

JSP + Servlet + Datahelper  (Design + Code) 2 tier


3 3-Tier Architecture:-

  3.1  JSP for Designing

  3.2  Servlet for Programming

  3.2  Java Bean Class or POJO class for Database
         communincation

What is Pojo Class  or Java bean Clas:-

POJO means Plain Old Java Object   it is used to contain application form data using Object and send to database server using JDBC or Hibernate

It is also called Bean class because it contain set of properties to store data.


class Student    //property ,constructor ,data member
{
    private int rno;
    private String sname;
 
    public void setRno(int rno)  #to store data in an object
   {
       this.rno=rno;

    }
   public int getRno()   #to get data from object
   {
       return rno;
    }

   public void setSname(String sname)
  {
     this.sname=sname;
  }
 public String getSname()
  {
      return sname;
   }

}




Download complete project code from this link.

https://github.com/shivaconceptsolution/ProjectJSPServlet








Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post