Solved

Difference between JavaBean & EJB

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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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.
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

734 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