what stone has your boss been under the past five years?

java is not slow!  true, you don't use it for creating desktop apps, but on
the server it is great.  first off, tell him to look at www.volano.com for
benchmarks for all the various jvm's, including the JIT compilers, to see
just how efficient and fast server-side java has become.

more importantly, tell him that cgi, with its 1-process per request model,
is inherently unscalable.  servlets and jsps create one or several objects
(depending on the load) and then handle all sequential requests in the same
memory space with the same objects.  this means that a server with x amt of
RAM can handle far more requests than a cgi server with the same amt of RAM.
  the same is true for asp -- it is simply a step or two more evolved than
cgi.

add to this the fact that java is much easier to code and debug than C, and
you have a pretty good argument.

get the book 'professional java server programming' from wrox press and read
the first chapter, then share it with your boss.  if he still isn't
convinced, find a new job..

as for using asp/jsp pages and connecting directly to the db, that isn't
really scalable either, though it is better than cgi.  that is 2-tier
design, which forces each page request to open and then close a connection
to the db.  go to 3-tier and use a javabean instead to manage your
connections. the bean can open a connection (a time-consuming process) or it
can open a pool, and then share them out to individual pages as requests
come in.


>From: "Todd L. Poole" <[EMAIL PROTECTED]>
>Reply-To: "Todd L. Poole" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: My boss needs convincing.
>Date: Fri, 25 Feb 2000 11:15:36 -0500
>
>My boss seems to have the "software engineer" background and is
>continuously critical about web technology that I work with. I develop web
>application using ASP and a database alone. I am not using any of my own
>components.
>
>Since I am learning java, I am finding it easier to understand and more
>logical than Microsoft's programming languages. I would like to expand into
>using JSP, Servlets, and Beans, but my boss still thinks Java is slow and
>not as efficient as CGI programs written in C. I think he is full of it and
>I would like to go back to him with proven results from other people using
>this technology in a situation where load balancing is an issue.
>
>Until I am writing machine code - I will never please this guy, but I would
>like to prove him wrong just once with this.
>
>If you have any input, please share!
>
>Bored editing HTML pages....
>
>Todd

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to