• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

do i need to know java beans before EJB?

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I am an SCJP recently ,do I need to know java beans before EJB? my knowledge about JAVA BEANS is mediocre.
thanks
pradeep
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should understand what JavaBeans are and how it helps develop component-based applications in Java.
If you can write simple beans and understand the role Java Serialization plays in creating persistent objects, you should be ok.
Good luck!
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy -- you don't *really* need to know about JavaBeans, although they are a component-based development model, they are completely different from enterprise JavaBeans. Regular JavaBeans are used as 'components' at development time, in a bean-assembly tool (like most IDE's that have GUI builders), but at runtime they are really just plain old Java objects (following a specific naming convention).
But enterprise JavaBeans are almost the opposite -- they are NOT necessarily used as components at development time (although many EJB-aware tools can, but there is nothing in the EJB specification for that at this time... although I *believe* there is at least one JSR that may address this...). But enterprise JavaBeans are NOT just plain old Java objects at runtime, but are instead controlled/managed/instantiated/killed by the Container.
So, you can start in with EJB without really knowing JavaBeans, although as Sagar said, it is a good idea to be familiar with the idea of component-based development.
cheers,
Kathy
 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Kathy & Sagar
.....its time for me start EJB then
regards
pradeep
 
WARNING! Do not activate jet boots indoors or you will see a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic