JSP , PHP, ASP???

i read somewhere that php is far more powerful than JSP and PHP? is that rue??
also for which is finding hosting, cheaper and easier???
Ali

PHP more powerful? Depends on what you mean by power.
In terms of features, no. JSP and ASP have many more features. They have full fledged OO programming languages and API libraries backing them up.
In terms of speed, it can be faster, just BECAUSE it doesn't have to bother with all the features that JSP/ASP provide.
In terms of memory requirements, PHP wins hands down. Java/ASP can be quite memory hungry.
They all do basically the same stuff at the end of the day - generate dynamic web pages.
For a lot of simple small-medium size websites PHP is perfectly fine.
ASP and .NET can provide many more features, but you are tied to MIcrosoft platforms.
Java/JSP is the best (of course - how can I say other on a java forum) - provides a good balance of speed/power without tying you down to a specific platform
You will probably find hosting easier for PHP/MySQL than you will for the other technologies, though I can't say with any certainty. I haven't really looked myself :-)
Cheers.
evnafets
(let the flames begin)

Similar Messages

  • Need help on integrating htmldb with asp/jsp/php

    Hello there, we have a few existing htmldb applications running at the moment, and now we would like to develop some asp/jsp/php applications. However there is one issue we still haven't solved yet, which is the SESSION(Login) problem. We don't know how the session is being generated, how to pull out session values manually from db etc etc.
    If you have done this before or any ideas, will be much appreciated.
    Thanks very much
    James

    James,
    sometimes it makes sense to look at these things from a different (and broader) perspective.
    Especially in a context of a corporation it makes sense to use a Single Sign On (SSO) server for authentication (usually against LDAP) . Something like Netegrity Siteminder, Oracle SSO Server (as part of Oracle Internet Application Server) or something similar.
    Then you could have all your applications use the authentication method of the SSO server which will keep track of the valid session and the applications that participate in the SSO context.
    On the Apex side you would have to write a custom authentication scheme to leverage that functionality, the session handling will no longer be of any concern to you.
    Just a different way to look at it.
    ~Dietmar.

  • In Dreamweaver MySites[New Site] menu option , if I had a hosting JSP/PHP what I must declare the hosting JSP or PHP ?

    In Dreamweaver MySites[New Site] menu option , if I had a hosting JSP/PHP what I must declare the hosting JSP or PHP ?

    The simplest answer is to choose the language you work best with, and that fits the clients specification the best.
    I have mixed server languages on a site before, (would not recommend) when a client has decided they wish to change from their old one to a new(er) /different one, the only thing you must watch if doing this, is that you do not mix languages on the same page (will not work correctly, if at all), and parameter passing.
    PZ

  • What is the best program language for mass email (PHP,  ASP, Coldfusion)?

    I want to be able to send mass email (from a SQL db) with
    stability and reliability.
    I've used Coldfusion for some time (CFmail tag) and have not
    been impressed.
    It seems, at times, it has a mind of it's own, and is a
    little unreliable, especially
    when sending hundreds of emails at one shot. I'm not dogg'n
    Codfusion,
    that's what I program in, I just am looking for a method that
    I can build on.
    My question is this: What is the best and most reliable
    coding when sending mass email?
    Is it PHP, ASP, XML, Coldfusion....what?
    You would think there has to be an optimum option out
    there...right?
    Thanks for the knowledge!

    Beezy wrote:
    > say ...500-5,000, maybe larger. Any ideas?
    >
    I've used CF to send out as many as 50,000+ emails in a
    single blast and
    haven't ever had any problems with it. Particularly with CF
    Enterprise,
    CF is an extremely high-performance mail generation engine.
    Remeber
    that CF itself doesn't send the mail so you're dependent upon
    the speed
    of your mail server as a large part of the equation as well.
    Matt
    Matt Woodward
    [email protected]
    Adobe Community Expert - ColdFusion

  • JSP vs ASP

    can someone here tell me the pros of using jsp against asp? benefits contras, why use one (i use jsp but i need to explain why not using others) and explain me well the reasons please

    If your looking for info on a client then for
    them to be a client means that they must
    have sent an http request. You can use the
    following jsp to get all sorts of information
    about the client:
    Request URI: request.getRequestURI()
    Request Protocol: request.getProtocol()
    Servlet path: request.getServletPath()
    Path info: request.getPathInfo()
    Path translated: request.getPathTranslated()
    Query string: request.getQueryString()
    Content length: request.getContentLength()
    Content type: request.getContentType()
    Server name: request.getServerName()
    Server port: request.getServerPort()
    Remote user: request.getRemoteUser()
    Remote address: request.getRemoteAddr()
    Remote host: request.getRemoteHost()
    Of all of the above the request.getRemoteUser()
    method is probably the one you want to use.
    These methods are part of the httpservletrequest
    interface under /javax/servlet/http/

  • HTMLDB webapp's scalibility, relibility, and performance vs JSP or ASP apps

    I am new to HTMLDB. It seems that HTMLDB is getting more attention now than before. I am interested in it, does anyone who knows it inside out regarding its pros and cons vs JSP and ASP apps shed some light about HTMLDB apps?
    I heard that asktom.com is created by it, but it seems that users are limited, is there any enterprise apps created by it, if yes, could you list the url?
    Thanks a lot,
    John

    I just answered your earlier thread starting June 4th...
    pls look here:
    Performance? J2EE versus HTMLDB
    originally started on J2EE vv. HTML DB on "performance"
    brgds
    Bernhard

  • Comparing JSP ,PHP AND ASP

    Hello
    Can you send me few reasons why is JSP better then ASP nad PHP.
    Thanks Jelena

    I don't know much of PHP but I can defintely compare it to ASP. ASP is a Windows proprietary technology that runs primarily on Windows machines. It uses either JavaScript or VBScript as the underlying language and has some limitations. For one there is the lack of multithreading which makes tasks that require asyncronous processing rather difficult. VBScript is a subset of Visual Basic which means there are a lot of things (objects and such) left out. You can create objects encompassing anymissing functionality out of COM using a CreateObject statement but if the objects were created using Visual Basic then there are threading issues that severly limit the amount of concurrent access. There is no direct support for polymorphism and inhereitance in VB which means Visual Basic is not a true object oriented language.
    JSP overcomes all of these limitations by using Java as the underlying programming language. Java has language level support for threading that eases the burden of concurrent access and makes asynchronous tasks a snap. It is based on the J2EE standard rather than a proprietary technology. There are various implementations of this standard that allow you to plug JSP apps into virtually any webserver running on almost any hardware. Java includes direct support for polymorphism and inheritance making it a true object oriented language.
    ASP.Net/VB.Net overcomes all of the mistakes made with ASP/VB by mimicking the Java/JSP platform. This shows that the ideas implemented in Java are rather strong ideas and have longevity. If you are writing your 1st web app and have limited knowledge of how the net works then maybe VB/ASP is a better starting point for it's simplicity and integrated environment. However, when you are ready to build scalable enterprise level web apps then JSP is definitely the better choice. Take it from someone experieinced in both.
    Cliff

  • How does performance of JSP compare to PHP, ASP, etc?

              "One thing I've found lately is that server-side Java (JSP) is,
              surprisingly, often omitted by web hosting providers. I thought that,
              Java being the ultimate web language, just about everyone would offer
              it, but it is fairly difficult to find at reasonable prices. Apparently,
              it is a relative resource hog. One guy I talked to said that they
              wouldn't be able to put more than three JSP sites on a server, whereas
              using PHP or ASP, etc, they could do an order of magnitude better."
              A friend of mine sent me that statement above. Is this roughly a true
              statement? (I'm posting this here just as a starter. It is not aimed at
              Weblogic at all...note that Weblogic is NOT even mentioned in the quote
              above.)
              The phrase "...everyone would offer it" pertains to the fact that my friend
              has been conversing with various 'web hosting providers', and he came to
              this
              'conclusion' after talking with a bunch of them in search of a company to
              host some of his client-companies web pages.
              Thanks in advance for your experiences.
              Cheers...
              Dave
              

    On resource needs, in my experience, JSPs (and Java servers in general) require
              considerably more memory to run, but can actually reduce the CPU requirements.
              For example I had an application written in mod_perl, and when compared to the
              J2EE port, the mod_perl version consumed 1/2 the RAM, but the J2EE version
              was suprisingly much faster in execution (sluggish pages in the mod_perl version
              were very snappy in the J2EE version, on the same exact hardware.)
              But the biggest problem for ISPs is actually the management of the servers, not so
              much the hardware resources it takes. Today J2EE servers are still relatively complex
              to manage and configure. E.g., even a small ISP using Apache can easily(!) support
              dozens or even hundreds of virtual hosts for its clients... try doing that with Weblogic
              or any other JSP/Servlet/EJB engine... nightmare!!
              Take the deployment model as an example... in Perl/PHP/Frontpage-land the ISP
              can simply give each clients a few directories (e.g., the old 'cgi-bin' and 'public_html'
              dirs) and the client is self-sufficient. When a client changes something, they just ftp
              the new files into the directory and voila, it's done. No need for hand-holding from the
              ISP.
              In contrast one can't do that with J2EE servers today... applications must be packaged
              in some specific format, resources (like JDBC DataSources, JavaMail, security roles,
              etc.) must be setup often by hand, the administrator must contend with a variety of
              classpath and JSP compiler issues, the application then must be deployed to the server
              using a proprietary tool (which can fail), the server may need to be told to "reload" the
              new application, etc., etc.
              Not very easy to manage when you have lots of clients!! Not to mention that very few
              system administrators today in ISPs have a good understanding about Java in general;
              few can tell the difference between Jdk 1.0 and Jdk 1.4; and only a tiny minority will
              know something about running J2EE servers in production at all.
              regards,
              -Ade
              "David Cook" <[email protected]> wrote in message news:[email protected]...
              >
              > "One thing I've found lately is that server-side Java (JSP) is,
              > surprisingly, often omitted by web hosting providers. I thought that,
              > Java being the ultimate web language, just about everyone would offer
              > it, but it is fairly difficult to find at reasonable prices. Apparently,
              > it is a relative resource hog. One guy I talked to said that they
              > wouldn't be able to put more than three JSP sites on a server, whereas
              > using PHP or ASP, etc, they could do an order of magnitude better."
              >
              > A friend of mine sent me that statement above. Is this roughly a true
              > statement? (I'm posting this here just as a starter. It is not aimed at
              > Weblogic at all...note that Weblogic is NOT even mentioned in the quote
              > above.)
              >
              > The phrase "...everyone would offer it" pertains to the fact that my friend
              > has been conversing with various 'web hosting providers', and he came to
              > this
              > 'conclusion' after talking with a bunch of them in search of a company to
              > host some of his client-companies web pages.
              >
              > Thanks in advance for your experiences.
              >
              > Cheers...
              > Dave
              >
              >
              

  • JSP - PHP

    Hi,
    I want to include a PHP file in my JSP file. How to do that ? Please give me syntax or idea ?
    Thanks.

    In your JSP use <iframe src="PHP_Doc"></iframe>

  • OT: Am I being fooled here? (PHP/ASP related)

    Hi,
    I gotten this really wired question regarding my "human
    verification"
    thingy on my site (
    http://geekministry.com/blog_article.php?id=93)
    Here goes... someone wants to use the form but can't get it
    to work. I
    check the response headers which looks like this:
    > Content-Length: 41007
    > Content-Type: text/html
    > Content-Location:
    http://www.somesitename.com/index.html
    > Last-Modified: Thu, 16 Aug 2007 19:18:02 GMT
    > Accept-Ranges: bytes
    > Etag: "9868402a3ae0c71:d3b"
    > Server: Microsoft-IIS/6.0
    > X-Powered-By: ASP.NET
    > Date: Fri, 17 Aug 2007 20:36:00 GMT
    >
    > 200 OK
    which leads me to write back that it will only work on an php
    enabled
    server... and I believe that his site is hosted on an asp
    enabled server.
    Now the guy writes me back and sates that the script is
    actually working
    on his server! (I know that IIS servers can run php) He
    claims that the
    script is working, meaning that the warnings for missing
    fields,
    spamtram question, etc is working but he doesn't receive the
    actual
    mail. But is he changes the action to use an .asp extension
    then he gets
    the mail!!! This is quoted from the mail I got...:
    > HOWEVER: During one test last night, instead of using
    the line:
    >
    > <form id="form" method="post" action="form.php">
    >
    > I substituted this:
    >
    > <form id="form" method="post" action="gdform.asp">
    Is that possible at all or is someone trying to waste my
    time? I'm no
    expert in php and I know zero asp so maybe I'm just missing
    something
    really important here... or what?
    Kim
    http://www.geekministry.com

    I think you're right. Thanks
    Lionstone skrev:
    > "Kim" <[email protected]> wrote in
    message
    > news:fa51v3$m7m$[email protected]..
    >> Is that possible at all or is someone trying to
    waste my time? I'm no
    >> expert in php and I know zero asp so maybe I'm just
    missing something
    >> really important here... or what?
    >> --
    >> Kim
    >
    > Changing the extension on a PHP script to .asp will not
    accomplish anything.
    > If anything, it should cause the script to break since
    IIS will try to use
    > the asp.dll to process the page (unless the server is
    configured not to, but
    > that's just odd).
    > I don't think the guy knows what he's talking about.
    >
    >
    Kim
    http://www.geekministry.com

  • Can somebody explain to me how JSP, servlets, ASP work within Sun's server

    Ok, I'm only beginning to get a grip of how all this works. And I have a lot of questions and confusion.
    1.) The server that comes with J2EE, what is that server? Is it an app server that runs only servlets and JSP, with some Web server stuff so it can output some info? Is it a stripped down version of TomCat? I am having a lot of trouble with the J2EE server (the one that comes with the SDK), and that is why I'm asking, maybe I don't need it. But I really want to learn JSP's, JScripts, and Beans. How else can I go about doing that, other than all out Tomcat.
    2.) Also can I run Servlets on Microsft's IIS on a Windows 2000 machine? Do I need a special API to run servlets, or JSPs?
    So how I see it, and again, I am a newbie at this. Machines that host a website, above all needs a web server. let's say most people use Apache, and they want to run it in Linux, becuase they want to be hackers. So then do they also run Tomcat, or IIS, or Coldfusion, or a million other servers in tandem on the same machine, so that they can handle ASP, JSPs, servlets, .cmf, etc.? or do they separate the app server from the webserver and then do some sort of linking? if somebody can direct me to how all this stuff works, I would greatly greatly appreciate it.

    Sounds like you need to read the J2EE spec as well as
    the servlet and JSP specs. It helps to glance through
    sections you are interested in.
    Ok, I'm only beginning to get a grip of how all this
    works. And I have a lot of questions and confusion.
    I think for a newbie, deploying your jsp's and servlets
    to a J2EE compliant app server can be quite a headache.
    You might want to concentrate on tomcat, which does servlet
    and jsp.
    Some app servers provide a http connector for most common web servers.
    I think tomcat has a IIS connector. In this case IIS would serve static html as well as its own stuff, other things like servlets and jsp go to tomcat. I am unsure about this as I mostly use tomcat in standalone mode. You can run tomcat on windows, as it is written in java.
    >
    2.) Also can I run Servlets on Microsft's IIS on a
    Windows 2000 machine? Do I need a special API to run
    servlets, or JSPs?

  • Session variables in jsp,php

    Dear friends,
    is there any way tht i can pass the session variables set in a jsp file to a php file. Is there any way to do this apart from setting cookies?
    plz help!!
    bussa

    You can create POST or GET request.

  • Jsp and asp integration

    This might sound like a stupid thing to do.
    If I have a main website developed in jsp and I want to pass information (variables) from it to another component of the same site developed in asp on a separate server is this possible?
    If so how might one do it?
    Many thanks
    Paul

    It's not a stupid question! You can even have both ASP and JSP on the same server - IIS! Of course, you have to have JSP container installed to process your JSP/Servlets.
    How to do that? Install IIS (Microsoft Internet Information Server) (usually working on standard web port 80), also install Tomcat on the same server. After that you have to install ISAPI filter on IIS. That's the component that will filter all HTTP requests for pages with JSP extension from your IIS server and redirect them on Tomcat for JSP/Servlet processing.
    E.g. if you have installed ISAPI filter for Tomcat container and you have INFO.ASP and INFO.JSP on your site. IIS will process ASP and send the result to your client. Also, if client requests INFO.JSP, ISAPI filter will recognoze from HTTP request that this client is asking for JSP page and it will redirect this request on Tomcat which will process this JSP and return the result to the user again.
    APS and JSP pages can communicate among each other through POST or GET methods. For example if you request INFO.ASP?user=John or INFO.ASP?user=John both of them are capable of dealing with parameters (user) and each of them can redirect request to other one.

  • Tomcat JSP & PHP

    I've installed Tomcat 4.0.1 I'd like to attach also PHP. Is it possible. Does anybody know this way? And is it possible to mix JSP with PHP
    <%
    out.print("Test");
    %>
    <?php
    echo "Test";
    ?>

    In theory, you should be able to use both technologies on the same page, whenever you can solve some configuration issues like file extension assigning, e.g: if you have a .php file, how can you run the jsp inside? you need to make some kind of "neutral" extension and refine your server to send to each server its own code.
    I�m trying to do it on windows 2000 (IIS 5.0), but haven�t still figured out how.

  • Jsp - php integration

    Hi all,
    First up all I am very new to java. I have a web application developed on php.
    I also have a CRM (customer relation management) delevoped on jsp.So I want
    to pass some values from php to java so that a popup window showing details of customer will
    generate on java (jsp).
    I will explain my scenario..I have a php CRM which is used as a predictive dialer for asterisk.(voip).
    But I also have customized CRM which is developed on jsp.
    The use of php CRM is, I can use it as a predictive dialer and when a call connects to a customer
    a popup is generated and will show that customers details.That popup is done by ajax in php CRM.
    I want that popup to come on java CRM so that it have more options and fields.Is there any way for that...
    I am expecting somebody's help.......

    Prasad,
    This forum is dedicated to JSR-208 (Java Business Integration), so it isn't too likely you'll find an answer to a JSP question here. The types of integration topics discussed here are related to enterprise application integration (EAI) and business-to-business (B2B) interoperation.
    You might try the JSP forum, http://forum.java.sun.com/forum.jspa?forumID=45, or one of its sibling forums in the Web Applications area (http://forum.java.sun.com/category.jspa?categoryID=20).
    I believe you'll find an answer to your question here: http://forum.java.sun.com/thread.jspa?threadID=703737&messageID=4080080
    -Ron

Maybe you are looking for

  • After system restore CS3 stopped working and can not be uninstalled

    I did a system restore (W7) and my CS3 apps stopped working with the message "Licensing for this product stopped functioning. Currently you cannot use this product. Solve this problem by uninstalling and reinstalling or contact support." I tried to u

  • Required field check in ALV

    Hi, I'm trying to make a required field check on a ALV field. I can see that the function works as required and produces an error to display in the message_manages but when I return to the program no error is shown and no red box is displayed arround

  • Why don't I have FaceTime on iPod touch 5g

    Why don't I have FaceTime?even though on the box sticker it show facetime

  • Oci_connect using easy connect naming method needs listener??

    Hi, I was thinking that using the easy connect naming method in oci_connect does not require a running local tnslsnr!? Am I wrong? I tried: $db = '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = my-ora-host.example.com)(PORT = 1521)) (CONNECT_DATA

  • Using the cloud service with .psd files

    I just purchased Photoshop Touch for my Galaxy Tab 2. Everything I read says I should be able to transfer .psd files from the cloud service to photoshop touch but I can't get it to work  Anyons else have this issue?