For now, yes, I agree with the below comment, specially if Java JIT compiler
is not efficient.

In the future where a compiler author decides to fully support JAVA and
introduce a native JAVA compiler, then, this is a matter of who is the
better/more efficient compiler.

For now, here are few pros of JAVA:
- more dynamic Object Oriented behavior since an interpreter is used to
execute or at least many services are still being done automatically by the
JVM (Java Virtual Machine). Automatic garbage collection, one need not
destroy the objects, JVM takes care of destruction (assuming you properly
remove references to all objects you instantiate). Due to being interpreted
and JAVA language authors' avoidance of OS dependent language features, is
more OS independent.
- no pointer manipulation. Object references are always used and is hidden
to the Java programmer. Though one needs to take into account that all
object manipulation are done via object references. This pointer abstraction
made JAVA a very attractive alternative to C++ since it is greatly easier to
understand/to learn.
- encourages programmers to do more refined, more organized class hierarchy.
Through 'interface' definition, multiple inheritance issues in c++ that do
tend to make c++ more difficult to organize can be avoided. Java langauge
'interface' formally defines interfaces and gives more thick dividing line
between an interface and a class.
- applets allow you to write greatly portable client-side modules
encompassing WIN32 and UNIX OSes, whereas client-side activex objects run
only under WIN32 OS.
- in JSP, security-wise, you no longer need to write login security codes,
this is a deployment task, whereas in ASP, you do need to write codes for
login security features for you web pages.
- ActiveX components are much more difficult to write since one needs to
understand the technology and since it is not interpreted, the technology
inventors have had problems encapsulating/hiding technology details,
resulting in programmer being more focused to solving the problem at hand
rather than the low-level stuff (plumbing).
- and lot more I forgot to mention. {:)

But indeed, VC++ is a great dev't environment. I think of it as this, Java
is not a substitute but rather an additional tool in my 'toolbox'.

-Gerardo Recinto
* former MS SDE
* author of RAMDex (in memory B-Tree incarnation)


-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Kunal Shah
Sent: Monday, June 19, 2000 9:28 PM
To: [EMAIL PROTECTED]
Subject: Re: offtopic,differences between java and vc++


Well vc++ is using native interface the application build with vc++ runs
much
faster than java


pamul1 wrote:

> Take my advice. Stick to Java or any other tool, VC++, drive u mad.
Cheers.
> ----- Original Message -----
> From: P Sreenivasa Rao <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, June 15, 2000 11:38 PM
> Subject: offtopic,differences between java and vc++
>
> > Hi all,
> > I want to know the pros and cons of using java vs vc++  in terms of
> > performance,extensibility,portability and all other features .
> > Can any help me in choosing to go either for java or vc++.
> > Thanks in advance.
> > Sreenivas
> >
> >
>
===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> >  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to