• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Advantage of having both JSP and Servlet in J2EE

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67645
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic