SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: JSP or PHP?

Hybrid View

  1. #1
    @russellg RussellG's Avatar
    Join Date
    Jun 2000
    Location
    Gold Coast, Queensland
    Posts
    449
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to learn a cutting edge language that will be used for many years to come. The language I pick will be the one I write all my scripts in (like guestbooks etc...).

    Can I connect to MySQL servers using JSP? I'm pretty sure you can.

    Any help appreciated.
    russell.cz.cc - coming soon (I promise!)

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    JSP can connect to databases using the JDBC (Basically ODBC for Java).

    If you have the time then I would suggest both as PHP doesn't take long to pick up at all. JSP is going to be the enterprise language of choice I feel from now on so it is definately worth looking at, but it will sometimes be overkill for some projects that can be developed quicker in PHP.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.

  3. #3
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you've got a good authoring environment, JSPs can be written as quickly as PHP scripts. JSP-enabled servers tend to be more expensive than PHP-enabled servers, however. They're more complicated to set up and maintain.

    JSP definitely takes longer to learn, though. First you need to learn standalone Java, then you can launch yourself into the world of JSP.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  4. #4
    AdSpeed.com Son Nguyen's Avatar
    Join Date
    Aug 2000
    Location
    Silicon Valley
    Posts
    2,241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a free host that I got recommendation from BC that offer JSP: http://www.mycgiserver.com
    I am gonna use it as a place to learn!
    - Son Nguyen
    AdSpeed.com - Ad Serving and Ad Management Made Easy

  5. #5
    @russellg RussellG's Avatar
    Join Date
    Jun 2000
    Location
    Gold Coast, Queensland
    Posts
    449
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks guys I've decided to keep going with PHP and MySQL and put JSP and Java on hold.
    russell.cz.cc - coming soon (I promise!)


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
  •