Click here to Skip to main content
16,005,316 members
Home / Discussions / Java
   

Java

 
GeneralRe: Gray Box Where Applet Should Be Pin
jerry0davis30-Oct-01 4:20
jerry0davis30-Oct-01 4:20 
GeneralRe: Gray Box Where Applet Should Be Pin
30-Oct-01 5:17
suss30-Oct-01 5:17 
GeneralRe: Gray Box Where Applet Should Be Pin
Malcolm McMahon9-Jan-02 0:14
Malcolm McMahon9-Jan-02 0:14 
GeneralRe: Gray Box Where Applet Should Be Pin
Standoni29-Jan-02 4:40
Standoni29-Jan-02 4:40 
GeneralDisplay an Applet loading status while loading large applet. Pin
Kobayakawa24-Oct-01 21:12
Kobayakawa24-Oct-01 21:12 
QuestionJava - Whats the big deal? Pin
22-Oct-01 12:43
suss22-Oct-01 12:43 
AnswerRe: Java - Whats the big deal? Pin
Nemanja Trifunovic22-Oct-01 12:53
Nemanja Trifunovic22-Oct-01 12:53 
AnswerRe: Java - Whats the big deal? Pin
30-Oct-01 11:36
suss30-Oct-01 11:36 
If you want to browse a larger Java discussion group, try the CodeGuru one at http://codeguru.com/cgi-bin/bbs/wt/wwwthreads.pl?action=list&Board=java.

As a C++/MFC/Windows programmer who has moved to Java, I can tell you that the two languages have different objectives, architectures and environments, and this makes comparisons arguable. However, from my POV, while C++ is more flexible and typically faster to run, it is technically more complex and challenging (which was what I liked about it). Java is simpler, more limited, easier to code, and so is generally far more productive in an appropriate context. It allows you to concentrate more attention on the overall design and architecture because the local technical complexity is reduced. The Java libraries are moving ahead rapidly, and are much better than in the early days, with far more facilities (particularly comms & networking) provided 'out of the box' than for C++, and many 'standard' specialised libraries available free from Sun.

You can write local PC applications in Java, but it comes into its own in the corporate environment where multi-tier client-server systems are developed, and especially where web services and the internet are involved. The JVM (Java Virtual Machine) that allows the same code to run on any platform makes it attractive for developers who can write and test code on an NT box and simply copy it to a production Unix/Linux/Aix/etc. server. I notice Microsoft is taking a similar approach with languages in .NET, where they all compile to a common virtual machine code.

In my experience, corporates that are not committed Microsoft shops are moving en-masse to Java for their client-server needs, because the Java 2 Enterprise architecture makes scalable, distributed, fail-safe, multi-platform, multi-user systems so much easier and quicker to write. For example, using EJB (Enterprise JavaBeans) means that an application server can manage transactions, database access, security, load-balancing, fail-over, caching, etc. on behalf of the programmer who is then free to concentrate on the business architecture and logic.

Of course, the Microsoft world is a cosy, well catered environment for those within it, and Microsoft development tools (for all the criticism) are still, in my opinion, better than the typical Java tools at the same price point. The .NET initiative looks likely to continue the quality support for Microsoft-only developers, and for them, there is little incentive to look elsewhere. However, many corporates want the flexibility of transparent multi-platform development and the other advantages of the Java enterprise architecture, and now that the JVMs are coming of age in performance terms and many do Just-In-Time native code compilation, C++ no longer has such a performance advantage. In fact I have recently heard of device drivers being developed in Java!

If your company isn't a Microsoft-only environment moving strongly into .NET development, it's worth thinking seriously about getting some Java experience.

Dave Lorde
GeneralNo performance edge?? Pin
Ed K30-Oct-01 12:13
Ed K30-Oct-01 12:13 
GeneralRe: Java - Whats the big deal? Pin
Alvaro Mendez19-Nov-01 12:28
Alvaro Mendez19-Nov-01 12:28 
GeneralRe: Java - Whats the big deal? Pin
Nemanja Trifunovic19-Nov-01 12:47
Nemanja Trifunovic19-Nov-01 12:47 
AnswerRe: Java - Whats the big deal? Pin
Amanjit Gill30-Oct-01 14:35
Amanjit Gill30-Oct-01 14:35 
GeneralRe: Java - Whats the big deal? Pin
jan larsen23-Jan-02 23:26
jan larsen23-Jan-02 23:26 
GeneralRe: Java - Whats the big deal? Pin
Amanjit Gill24-Jan-02 16:31
Amanjit Gill24-Jan-02 16:31 
GeneralHelp with program for counting using hashtable Pin
john kappas18-Oct-01 11:58
john kappas18-Oct-01 11:58 
GeneralRe: Help with program for counting using hashtable Pin
Ravi Bhavnani18-Oct-01 12:08
professionalRavi Bhavnani18-Oct-01 12:08 
GeneralRe: Help with program for counting using hashtable Pin
Ravi Bhavnani18-Oct-01 12:09
professionalRavi Bhavnani18-Oct-01 12:09 
Generalwriting a simple application - AWT problem Pin
Jon Salter17-Oct-01 3:35
Jon Salter17-Oct-01 3:35 
GeneralRe: writing a simple application - AWT problem Pin
18-Dec-01 3:14
suss18-Dec-01 3:14 
GeneralHashing with quadratic probing Pin
john kappas15-Oct-01 7:35
john kappas15-Oct-01 7:35 
GeneralRe: Hashing with quadratic probing Pin
ejc16-Oct-01 20:35
ejc16-Oct-01 20:35 
GeneralRe: Hashing with quadratic probing Pin
john kappas18-Oct-01 11:57
john kappas18-Oct-01 11:57 
QuestionHow do you set the size and location of a JButton in an applet? Pin
6-Oct-01 6:34
suss6-Oct-01 6:34 
AnswerRe: How do you set the size and location of a JButton in an applet? Pin
Peter Weyzen6-Oct-01 21:50
Peter Weyzen6-Oct-01 21:50 
GeneralRe: How do you set the size and location of a JButton in an applet? Pin
7-Oct-01 4:37
suss7-Oct-01 4:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.