Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Advantage of having both JSP and Servlet in J2EE

 
Lahiru Abeydeera
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI folks!!!

I know this question is not direcly related to jsp or servlets. but i got this question on one of my university tutorial and couldnt find a very good answer. (not even from the lecturers of corurse). Ok here is the question...

"In .NET, there is a single web development API (ASP.NET), while in J2EE, the web
technologies include multiple technologies such Servlets and JSPs. Comment briefly on
the strengths and weaknesses of having single / multiple technologies for the same
application tier."


I am curious to kno you guys opinions about this?

OK cowboys see you back...
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP is not really an alternate to servlet, it is an extension. The same API applies, it is just that JSP adds a template based API extension.
Bill
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65535
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It used to be that some fast food restaurants saved money by giving you a utensil called a "spork" -- a spoon with a jagged edge that (supposedly) could be used as both a spoon and a fork. (They may still hand these out, but I don't eat fast food anymore).



Well, it isn't a very good spoon, and it is decidely a poor excuse for a fork.

Sometimes, it's much better to have multiple complimentary tools, each of which is good at a particular task, that work well together rather than to try to do everything with a single uni-tasker tool that does everything, just not all that well.
[ August 05, 2006: Message edited by: Bear Bibeault ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ASP.NET is composed of lots of different technologies; like J2EE (now Java EE). It is a whole framework for building web applications with components that are similar to JSP, Servlets, beans, etc..

That question would have made more sense with legacy ASP (before the .NET days) when all you had was the ASP scripting environment and possibly COM or ActiveX controls.

Java EE is still my weapon of choice but ASP.NET is a very capable platform and is worthy of respect.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!