Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP and EJB

 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
anyone??
 
Vlad Patryshev
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic