File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes java beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java beans" Watch "java beans" New topic
Author

java beans

vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
hi all
Please let me know the SIMILARITIES and DIFFERENCE between following
1.javabeans developed on client side
2. javabeans developed on server side (we use them through JSP usebean tag )
3. Enterprise javaBeans


Thanks
Vikas Sharma
SCJP(1.4)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

http://www.coderanch.com/t/309766/EJB-JEE/java/java-Beans-VS-EJB


Groovy
vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
Mr pradeep
that doesnt give me the precise answers
i wanted to know when all are javabeans ,does it means all are resuable components .if not what characteristics make all of them to be called javabeans
thanks
Vikas
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

All of them are javabeans AND they are reusable components.
vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
Thanks pardeep
About difference between EJB and javabeans(developed at server side)
can i say the only difference is the implicit services that we get in case of EJB.Or would u like to differentiate them on other grounds also?
Originally posted by Pradeep Bhat:
All of them are javabeans AND they are reusable components.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
"Client-side JavaBeans" and "server-side JavaBeans" are technically speaking the same. Originally JavaBeans were targeted for visual (GUI) components and some time later, their applicability on the server-side was recognized.
The fact that Enterprise JavaBeans were called that can be thought of as a slight screw-up as it has caused a lot of confusion among J2EE newbies. EJBs and JavaBeans are both component technologies, but they are completely unrelated regardless of the similarities in their names.
To get a good understanding of the differences, you should study both. You can start with these tutorials:
JavaBeans short course
EJB Fundamentals


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
thanks Lasse
i have worked with both EJB and java beans .
Can u send me any reference to get differences in nutshell rather than exploring both technologies in detail...
thanks
Vikas
Originally posted by Lasse Koskela:
"Client-side JavaBeans" and "server-side JavaBeans" are technically speaking the same. Originally JavaBeans were targeted for visual (GUI) components and some time later, their applicability on the server-side was recognized.
The fact that Enterprise JavaBeans were called that can be thought of as a slight screw-up as it has caused a lot of confusion among J2EE newbies. EJBs and JavaBeans are both component technologies, but they are completely unrelated regardless of the similarities in their names.
To get a good understanding of the differences, you should study both. You can start with these tutorials:
JavaBeans short course
EJB Fundamentals
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Well, JGuru has a nice FAQ entry on the subject.
 
 
subject: java beans
 
Similar Threads
what will be a good approach to expose this using a Axis or JAX-RPC
Front End Or Server Side
What's the difference betmeen EJB and Javabeans?
Using JSP without Javabeans and servlets
New to this forum.