Solved

Difference between JavaBean & EJB

Posted on 2000-04-10
3
280 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 100 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

RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

622 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