Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Difference between JavaBean & EJB

Posted on 2000-04-10
3
Medium Priority
?
286 Views
Last Modified: 2013-11-24
What is the difference between JavaBean & EJB?
0
Comment
Question by:sharada
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
apache_4u earned 200 total points
ID: 2703210
Hi,
Basically JavaBeans are used to encapsulate reusable, Graphical components...and are characterised by methods for setting and getting properties of the 'Bean'.
EJB's on the other hand are Server side objects that can be one of the following:
Session Beans or Entity Beans. These basically determine the 'kind' of EJB you are trying to create wrt. functionality. Session beans are usually web-tier objects and are lightweight. Entity beans on the other hand directly relate to database entries and are the prescribed way of talking to dbases.
A lot of stuff is available at java.sun.com/products. ->Choose Eneterprise .....
Hope this helps.
Apache.
0
 
LVL 5

Expert Comment

by:msmolyak
ID: 2704033
Both are component architectures: one for the clinet-side components, the other is for server side components.

The differences are numerous and they are well described in the article "JavaBeans vs Enterprise JavaBeans" in August 1999 issue of Java Developer's Journal.

You can dounload the issue as a PDF file in the archive section of the magazine's web site http://www.sys-con.com/java/index2.html.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

670 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