Solved

Standalone applications in Java

Posted on 2003-10-29
4
253 Views
Last Modified: 2010-04-06
Hi,

This is a 2 part question.

1) I know Java is primarily a programming language for web development, but can you write non-web standalone applications with it as well, such as with C and VB?

2) I'm trying to evaluate if I should learn Java or one or more of .NET suite.  Is there someone out there who does both well who can shed light on the pros and cons of both and which .NET is equivalent to Java?

Thanks in advance.
Erwin
0
Comment
Question by:erwins
4 Comments
 
LVL 17

Expert Comment

by:dorward
ID: 9648056
(1) No, not really. Most of the Java development I read about is non-web (although a lot of apps written in it do access networks for various purposes).

If you look at http://java.sun.com/docs/books/tutorial/getStarted/index.html , you will note that it covers applications as well as applets. (JSP and Servlets aren't covered in the basics).

(2) Java is more mature and more cross platform (at least for the time being).
0
 
LVL 3

Expert Comment

by:DelTreme
ID: 9648994
(1) Yes, you can develop stand-alones using Java.

(2) Briefly this is my experience:

If you want to develop for multiple platforms, use Java
VB can be used to quickly create user-friendly apps
And to optimize for performance, I'd use C++
0
 
LVL 15

Accepted Solution

by:
jimmack earned 125 total points
ID: 9649236
1) Yes, 99% of all the Java I've written over the last 7 years has been standalone applications.

2) Java is one language that will run on many platforms.  .NET is many languages that will run on (primarily) one platform.  This second statement is being addressed by a couple of open source projects that will allow .NET to run on Linux.  The closest equivalent to Java in .NET is C# (which is very similar to Java).

If you want advice on whether to learn Java or .NET, then you would be better to look at where you want to work in the future.  Do the companies you want to work for use Java or Microsoft products?

If this is just for home/hobby interest at the moment, then go with Java because it's free.
0
 

Author Comment

by:erwins
ID: 9663263
Thank you for all your replies.  They were all very helpful.
Erwin
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now