• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Question about EJBs and JSP/Servlets

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it necessary to know Servlets/JSPs before learning EJB. I m knew to server side Java Programming. I have started learning Servlets but my requirement is to learn EJBs as soon as possible.

Please help me.
 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It will help you,if you know in advance(JSP/Servlet) before jumping directly to EJB.But that will allow you in think in broaden vision like what will happen if i can this EJB from servlet...or JSP..

so as far my recommends are concern,i will say study that first.

Regards,

James
 
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wouldn't worry too much about servlets and jsp if you are just going for the SCBCD. You can always write your clients in plain-old java, which I find is better for experimentation anyway - there's a lot time-consuming messing around that just isn't there if you write your client test code as a console app.

--Dale--
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You do not need to know much about servlets and JSP before tackling EJB. You should know the very basics, but you can read a few pages online about where servlets and JSPs fit into J2EE and you'll be in good shape. The point of EJB is that it is intended to be used for components that will not know--or care--about the kinds of clients that are accessing them. A bean should never know whether it's clients are servlets or stand-alone Java apps.

So, you should have an overall picture of J2EE, since that is the world in which EJB lives, and because EJB apps typically DO use servlets as clients... BUT... as a component model, beans should be written *without* the web in mind. Writing your beans with the assumption that they'll be called by a web app means that you potentially hurting your reuse and extensibility.

Go ahead and learn EJB even if you don't know servlets and JSPs! There is absolutely NOTHING on the SCBCD exam that requires servlet/JSP knowledge. We deliberately created the exam that way because there are large workgroups where the roles are clearly divided... the EJB developers are NOT necessarily the same people doing the web app development (Servlets and JSPs). Same thing is true with the SCWCD--you aren't required to have explicit knowledge of EJB.

cheers,
Kathy
 
A magnificient life is loaded with tough challenges. En garde tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic