answersLogoWhite

0


Best Answer
Answer

Mostly the java class and the Bean class are similar one.

In Bean class we have getter and setter methods.

Its just a naming convention.

Regards

Santhosh rao


In

http://forums.sun.com/thread.jspa?threadID=526214

Java Beans follow the Bean conventions:

(1) Default, no-arg ctor,
(2) Serializable,
(3) getX()/setX() or isX()/setX() naming convention for read/write access to private data member X,
(4) Can use java.bean.PropertyChangeEvent to notify interested parties when values change.
(5) Can use java.bean.PropertyChangeListener to register for notification when a particular property changes.

"Normal" Java classes aren't required to follow any of these conventions.

There's a great [url=http://java.sun.com/docs/books/tutorial/javabeans/]tutorial[/url] on Java Beans from Sun.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Java is an applet program. Netbeans is an IDE, or user interface development program. Jave is part of some of the applications used to make a beans application more enhanced. To get the latest versions packeged together visit sun.java website and look for netbeans version 6 or java and netbeans together.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Java is a programming language and an environment to run compiled java programms.

A Java Bean is one class ( file ) written in Java exposing its attributes with getters and setter.

i.e.:

class Bike

{

int speed;

public int getSpeed()

{

return speed;

}

public void setSpeed(int s)

{

speed = s;

}

}

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A java class is code that describes the attributes and the methods for an object.

A java applet is a small program that can be placed within a web page, like a small game or a calculator.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Java Bean is a simple java class that have setters and getter methods for declared variables, which in turn using in other java classes by calling this bean object.

Where as Enterprise Java Bean (known as EJB) is a different concept, is a separate architecture for setting up program components (other java programs).

Java Bean don't have business logic in it. EJB will have business logic in it.

Java Bean is a light weight componenet, EJB is a heavy weight component.

To run a Java Bean, Tomcat Server is sufficient, where as to run an EJB, we require an Application Server(Ex: Websphere, WebLogic etc..)

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Netbeans is an Integrated Development Environment (IDE) for the Java programming language.

A JavaBean is just a Java class with a specific formatting.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between Java and Java bean?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between Java bean and bean?

JAVA beans and coffee beans are two very different things . JAVA beans are used to generate getters and setters. while coffee beans are use to make coffee.


What is difference between java 2 and java 5?

They are different versions. Java 5 is newer than Java 2. Think of it like the difference between the Playstation 1 and the Playstation 3.


Major difference between c and java?

Java is object oriented, C is not...


What is the difference between connectivity in java?

kamina


What is difference between connectivity in java?

kamina


What is the main difference between UNIX and JAVA?

Unix is an operating system, Java is a language.


Difference between recordset and resultset in java?

Rowset


What is the difference between JAD and JAR?

JAD-Java Application Description JAR-Java archive


What is the difference between java and object oriented programming?

java is a programming language/platform that embodies object oriented programming concepts. The question of what is the difference is like asking what is the difference between cars and a Volvo.


What is the difference between c plus plus and java programming?

Java doesn't have pointers. C++ has pointers.


What difference between InputStreamReader and DatainputStream in java?

Both are same


What is a java sack?

A Coffee Bean Sack