Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

which webs are jsp webs?  RSS feed

 
nan li
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
someone say:jsp use too much server resources,so they only use asp and php,not jsp.
Really?
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess those people need to read up on JSP
A poorly written JSP will indeed use a lot of memory and CPU time, but so will a poorly written ASP or PHP page.
Because of the overhead imposed by having a JVM loaded the continuous memory use will be a few MB higher, but the incidental use of system resources will not (ASP and PHP will load an interpreter on the fly whenever a request is received and will usually start a new one for each simultaneous request causing total memory use to likely exceed that of a JSP solution).
Most people that think Java solutions require inordinate amounts of system resources have never seriously looked at Java for the last 5 years or more.
Back then (say 1997-1998) Java solutions DID require more resources as the JVMs were not as highly optimised as they are today causing memory and performance overhead.
 
Prakash Dwivedi
Ranch Hand
Posts: 452
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Overall performance of java based web application also depends upon which web server is being used.
In case of asp web server is always IIS, while same is not true in case of JSP / servlet. In java, developer has a choice of choosing web-server.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch "linan"!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
JSP Forum Bartender
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure of the performance aspect. It all depends on efficient coding, either ASP/JSP.
When it comes to developer productivity, ASP has small edge, due to various reasons.
There are some institutions(recently like Morgan Stanley) which use ASP/C# on the client side to tap to different web services(in house or outside vendor depending on the case).
So, the new direction is more of interoperability in the context of web services.
Dan.
 
nan li
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thx all.
Could you give me any web sites using jsp? :roll:
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36441
454
Eclipse IDE Java VI Editor
 
roy joseph
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the problem with jsp is that there aren't that many free host out there where you can try your jsp in the real 'internet' world. mycgiserver is the only one i know that's free. this could be one reason you dont see many jsp websites out there.
with jsp you are practically stuck with testing your site within your home computer and if your lucky your own intranet.
compare this with asp and php, there are numerous free webhosts for them.
right now im testing my tomcat webserver but my problem is my dsl supports dynamic ips. however i tested it and it seems to be working and can be accessed from the internet but problems arise when i disconnect and reconnect to my isp. i get a new ip .
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ebay uses J2EE(could be JSP also).
Sabre uses JSPs for flight and crew scheduling solutions.
Advance PCS uses JSPs.
Verizon directories uses JSPs for internal systems.
Dan.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that you can't tell from the URL what is being used - one could redefine the web.xml entry so all .html requests went through the JSP processor.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William is quite correct.
There are numerous sites out there using JSP that you'd never know about.
People with longer experience can often identify them without the telltale .jsp extension to the URLs by characteristic URL formatting imposed by frameworks like Struts or servers like Silverstream, or specific constructs in generated HTML created by some servers like Tomcat but apart from that all you might be able to use as an indication are HTTP headers telling the server is one capable of running JSPs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!