Solved

Standalone applications in Java

Posted on 2003-10-29
4
294 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RSS Feed Validation 2 63
Advice on what platform to use for a web app for AWS 3 98
SP to delete duplicates 15 70
API Soap Calls 4 112
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa‚Ķ
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

786 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