• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

java servlets

i want a answer for these questions....????

java servlets
________________________________________________
# HTTP Protokolen--??

# Servelt Life Cycle???

# Servlet Concurrency Issues???

# HTTPSessions???

cookies???



JSP____________________________________________

# The idea behind JSP

# JSP versus Servlets

# building of a JSP side

# Implicit JSP Objects

# Error Pages



JAVA beans
___________________________________

# the idea behind JavaBeans

# how to make java JavaBean

# use of JavaBeans in a application

# use of JavaBeans from JSP's
0
Maggieshah
Asked:
Maggieshah
  • 2
3 Solutions
 
Mayank SAssociate Director - Product EngineeringCommented:
A servlet is a web-server side Java component which typically communicates using HTTP. You can use it for executing whatever logic you want at the server side. It can also emit HTML as output to be displayed on the client-side on a browser or something. A JSP is also ultimately compiled into a servlet.
0
 
valipotorCommented:
0
 
Mayank SAssociate Director - Product EngineeringCommented:
A bean is just like a data-holder - a wrapper of certain information in an entity with properties which can be read/ written to. For example, a Customer bean can be like:

public class Customer implements Serializable
{
  private String ID ;
  private String name ;
  public void setID ( String ID ) // setter for 'ID' property
  {
    this.ID = ID ;
  }
  public String getID () // getter for 'ID' property
  {
    return ID ;
  }
  public void setName ( String name ) // setter for 'name' property
  {
    this.name = name ;
  }
  public void getName () // getter for 'name' property
  {
    return name ;
  }
}
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now