File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes java beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java beans" Watch "java beans" New topic

java beans

shelly roy

Joined: Feb 06, 2006
Posts: 1
what is the difference between java beans and enterprised java beans???
the beans that r used in jsp.......r they java beans or r they ejbs??
Pauline McNamara

Joined: Jan 19, 2001
Posts: 4012
Welcome to Javaranch shelly roy!

Since this question is not specific to the Cattle Drive, I've moved it to the EJB and Other J2EE Technologies forum.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

This has been answered before many times.Please search this forum for previous posts.

Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
The beans in JSP are regular java beans.

Regular java beans are just java classes that you write that must have certain things by convention.
For example, they must have a set and get method for each public variable they expose. They also must have an empty constructor.

EJB (Enterprise java beans) are more complex and are used in Application servers such as JBoss. They have many features like remote usage, transactions management and much more.

For better explanation see here from just 2 days ago.
I agree. Here's the link:
subject: java beans
It's not a secret anymore!