Solved

*.jar & beans ?

Posted on 2004-08-08
3
292 Views
Last Modified: 2013-11-23
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 !
0
Comment
Question by:meow00
3 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 80 total points
ID: 11749347
http://mindprod.com/jgloss/jar.html
http://mindprod.com/jgloss/javabeans.html

there really no direct relationship between the two.
0
 
LVL 11

Accepted Solution

by:
sompol_kiatkamolchai earned 180 total points
ID: 11749958
-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
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 40 total points
ID: 11750167
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question