SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why JSP is not that popular in websites?

    Hi.

    Why do we only see JSP in enterprise or banks aplications? Why don't we see many people use JSP like PHP? I started learning OOP in Java and I did not finish the book I have yet and I am not sure if I should move to PHP or ASP.NET after that or will JSP be a good option?

    Regards,

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Because web hosts can support fewer customers per server with Java web servers, so they typically don't offer JSP hosting. Most people will learn the technology the cheap hosts support, so they end up with PHP.

  3. #3
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,870
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    You will find that most of the bigger companies that have their own employees creating and maintaining their web site will use either .NET or JSP. Smaller companies that generally outsource their web site usually end up with PHP because that's what most of the independent web site developers know.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  4. #4
    SitePoint Enthusiast
    Join Date
    Apr 2007
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As has been said the volume of customers you can host is limited with Java. But it is not just in memory but also in space and how you expose java to your customers. Most vendors would probably go with an Apache Tomcat stack since it can work damn near transparent in an Apache 2 where you could support your LAMP at the same time.

    However, giving people access to your jsp container you would be foolish even if you did lock them down via the access levels. So most people who do offer Java hosting are usually running Jetty. Not only is it light weight but it is also embedded. Google use Jetty for their App Engine.

    Another thing to consider is the Classpath Hell situation which can be a pain to manage even on a fast, memory rich server. Having to cater to customers' needs could wind up being far more hands on than you are willing to do. That is why Virtual Servers exist in the market. Let the community, like Linode, take care of itself and just give them OS containers that can do whatever language you want.

    It is just a headache to support such languages in a shared hosting or grid-like environment. Virtual Servers eliminate these pains and I guarantee you a great many VPS's implement a java se or j2ee web stack.

  5. #5
    SitePoint Member
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    As for JSP - man needs a it more knowledge and skills than in PHP, Perl, ASP, etc. It means U need'a be good in OOA/D, have experience at least in Servlet, JBEans programming and bla,bla,bla ....

    At anotehr side - to run a JSP - U needa application server - normally they're more complex to install, maintain, so also U have to know to do it or employ admin for that.

    So, my point of view, Java technologies, at least at the moment, for companies with cool profies and cool projects.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •