.asp or java versus client-server

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default .asp or java versus client-server

    I know there should be a lot more to qualify this, but I'm trying to defend
    web development (in general) over the client-server method of connecting to
    a database (and that would be ODBC, and whatever other methods that I'm not
    aware of). I've been told that "in some instance" client-server is faster
    than access through http. I think they are wrong - probably preaching to
    the choir here, but I need some ammo, please folks.


    Vinnie the Rat Guest

  2. Similar Questions and Discussions

    1. Flash Webcam client <-> client (not client <-> server<-> client)
      Dear Flash Team, supporter and regular mortals (Like myself) I am currently running a IRC chat with mostly webclients connected. We currently offer...
    2. Java Client - Flash Comm Server
      Is it possible to write a Java FCS client? I don't need to do much except stream XML data to the FCS which will then be delivered to actual Flash...
    3. java client and .NET server problem
      Hi, I'm writing a java client for .NET server. I'm using Java and the Apache Axis API. When I send a soap request I get back the following...
    4. Dynamic Server versus Universal Server ??
      What's the deal with these 2 terms ? Are they synonymous or are they different products ??
    5. 7.2 versus 8.1 client configuration parameters - what changes are made ?
      Hi, AIX 4.3.3 with DB2 v.8.1 FP2. WinXP workstation First configuration - 7.2 FP9 Appl. Dev. Client - our C++ Builder application working...
  3. #2

    Default Re: .asp or java versus client-server

    Vinnie,

    The answer is, as usual, "it depends".
    It (speed) would depend on
    the amount of data transferred per connection
    the relative locations of the client,server and database
    the server-side technologies
    the client-side technologies
    the relative skills of the web vs. client-server developers

    However, speed (unless terrible) is only a small part of the overall
    "experience". The other issues (eg. available skillsets, interface
    functionality requirements, deployment requirements) are likely to be
    more significant than just speed.

    If someone proposes one situation in which client-server is faster
    than a web app they may be correct and be able to provide performance
    figures to demonstrate. However, this isolated context may be
    irrelevant to the project as a whole.

    Tim

    "Vinnie the Rat" <chokedee@eastnet.com.cn> wrote in message
    news:O$LQHtz4DHA.3360@tk2msftngp13.phx.gbl...
    > I know there should be a lot more to qualify this, but I'm trying to
    defend
    > web development (in general) over the client-server method of
    connecting to
    > a database (and that would be ODBC, and whatever other methods that
    I'm not
    > aware of). I've been told that "in some instance" client-server is
    faster
    > than access through http. I think they are wrong - probably
    preaching to
    > the choir here, but I need some ammo, please folks.
    >
    >

    Tim Williams Guest

  4. #3

    Default Re: .asp or java versus client-server

    I would say that in almost every instance a "traditional" client-server
    application would be "faster" since it is normal to maintain a database
    connection during the entire time the application is running whereas it is
    normal (in ASP at least) to disconnect and re-connect with every page. Also
    add in the overhead for processing an HTTP request every time you want data
    and web-apps have a definite disadvantage.

    That said, performance for a single user is usually not the overriding
    factor. Here are a couple of things to think about.

    "traditional" apps:
    -usually tie up a database connection for each user, so how many concurrent
    users will your DB server support?
    -will have to have DBMS software on each client, are you willing to maintain
    all that?
    -usually have a smoother flowing user interface.

    web app:
    -usually tie up a database connection only while a page is processing,
    should be able to support many more "concurrent" users.
    -require only a web-browser on each client
    -usually have a clunkier (request page, wait, display page) user interface

    --
    Mark Schupp
    Head of Development
    Integrity eLearning
    [url]www.ielearning.com[/url]


    "Vinnie the Rat" <chokedee@eastnet.com.cn> wrote in message
    news:O$LQHtz4DHA.3360@tk2msftngp13.phx.gbl...
    > I know there should be a lot more to qualify this, but I'm trying to
    defend
    > web development (in general) over the client-server method of connecting
    to
    > a database (and that would be ODBC, and whatever other methods that I'm
    not
    > aware of). I've been told that "in some instance" client-server is faster
    > than access through http. I think they are wrong - probably preaching to
    > the choir here, but I need some ammo, please folks.
    >
    >

    Mark Schupp Guest

  5. #4

    Default Re: .asp or java versus client-server

    Mark Schupp wrote:
    > I would say that in almost every instance a "traditional"
    > client-server application would be "faster" since it is normal to
    > maintain a database connection during the entire time the application
    > is running whereas it is normal (in ASP at least) to disconnect and
    > re-connect with every page.
    With connection pooling, this is not as big a factor as you are making it
    out to be. I know you did not indicate how much faster you were taliking
    about, but somebody reading this via Google might leap to the conclusion
    that they should avoid closing and reopening their connections due to the
    performance hit, which is just not the case.

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139