Solved

Difference between JavaBean & EJB

Posted on 2000-04-10
3
264 Views
Last Modified: 2013-11-24
What is the difference between JavaBean & EJB?
0
Comment
Question by:sharada
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
 
LVL 7

Expert Comment

by:Ravindra76
ID: 2719268
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 50
groupSum5 challenge 5 84
github account with ecipse 1 47
eclipse with Angularjs2.0 3 34
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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.
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…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now