• 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

JSP and EJB

 
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just started to play around with JSP, and from what I've read it seems JSP and EJB go hand in hand. I've been using servlets for a few months and it seems that in termas of MVC they work well with jsp and ejb, but can still do alot on their own. Can you use jsp on their own? Or is it better to develop them with ejb?
- Sean
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
anyone??
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I�ve been using JSP with my beans, not even EJB, just a bean made of a client application. It is very convenient.
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply. When I posted this I didn't understand there was a difference between Java beans and EJB's. I'm just learning about Java beans right now and they seem pretty useful.
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Honestly, i'd say that JSP and EJB do not go hand in hand. EJB are an extremely heavy-weight object, that can very much drag down the performance of anything that uses them.

If you read some white papers from Sun, from even a year ago.. they would say things like "think of EJB's as a row in a table.". Now, a year later, they are still ironing out the wrinkles in this technology, and to paraphrase a recent white paper, "the one thing you must not think EJB's are, is a row in a table."

So they seem good, but really, it's like a buying Oracle8i if all you really need is MSAccess.
 
There is no "i" in denial. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic