*.jar & beans ?

Hi Experts,

   Could anyone please tell me what is *.jar file and what is its relationship with beans ? Also, what do "delpoy" & "deployment" mean exactly ??? Thanks !
LVL 1
meow00Asked:
Who is Participating?
 
sompol_kiatkamolchaiConnect With a Mentor Commented:
-jar file is archive file that contain application or library class
-bean is an java class that have variables and access methods for Java Bean it needs to implement Serializable interface, here is an example

public class FirstBean implements Serializable {
  private int id;
  private String name;

  public FirstBean(int id, String name) {
    this.id = id;
    this.name = name;
  }

  public void setId(int id) {
    this.id = id;
  }
 
  public int getId() {
    return this.id;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getName() {
    return this.name;
  }
}

-deploy
it is an action that deployers do when they want to install they application on server.
-deployment
it is noun of deploy :)

Regards,
0
 
objectsConnect With a Mentor Commented:
http://mindprod.com/jgloss/jar.html
http://mindprod.com/jgloss/javabeans.html

there really no direct relationship between the two.
0
 
Mayank SConnect With a Mentor Associate Director - Product EngineeringCommented:
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.

All Courses

From novice to tech pro — start learning today.