• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Basic dout on EJB and JB

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi,
I iam new to EJB, can anybody write the difference between Enterprise java bean and javaBean? I will appreciate if anybody answers
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai,
I suggest you to read the first two chapters of Mastering EJBs by EdRoman.This gives the clear idea of the difference.
thanks.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Thanks for ur suggestion.But,how, can u please post it's URL.
Thanks inadvance.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai the book is for free download on TheServerside.com.YYou can see other postings in this section.
thanks
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi darsi

1) a javabean exists mostly on the client side(i have used mostly is because beans can also be used in the server side through JSP pages) and hence is a client side component. However EJB is a server side technology.
2) javabeans are inprocess while ejb's are not
Regds.
Rahul

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Rahul,
Thank u so much for ur answer and here small doubt,What do u mean by inprocess.
Thanks inadvance.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
when ever u start a new application a new process starts. These processes have a distinct memory area of their own. Thus there is a cost involved in starting new processes. Also communicatin between these two processes too is costly.
However when u start a new thread in a process , this shares the memory area with the existing process. this is the major advantage of threads vis a vis processes.
The sucess of servlets with respect to cgi has been that servlets spawn threads while cgi spawns new processes which have a heavy cost.
the tern "inprocess" refers to the sharing of the memory area in general.
Regds.
Rahul
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
javabean EJB
can be independent can not be
can have GUI no GUI
can not be deployed resides in serverside
alagan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic