Solved

Difference between JavaBean & EJB

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
triangle challenge 4 79
Java asynchronous logging 4 35
JUnit 4 @Before and @BeforeClass differences 3 24
maven project error 5 24
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 …
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…

747 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

16 Experts available now in Live!

Get 1:1 Help Now