What about Java5?

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
n3m3sis
Havaldaar
Posts: 123
Joined: Sun Apr 18, 2004 2:35 pm
Location: Islamabad

What about Java5?

Postby n3m3sis » Tue Oct 12, 2004 5:31 am

Hi all,

Sun recently released a much awaited update to the Java language. Now it said to be at par with C#.NET
Check the Corresponding slashdot discussion:
http://it.slashdot.org/it/04/10/11/1454 ... =108&tid=8

What do you think will be the effect on open source adoption, if java is open sourced, and what effect will this release have on .NET, will it surpass it?

I think java5 is gr8, in the sense that whatever you can do in .NET you can in java and that with similar methods. But the singular advantage of Java is that you can have all .NET features in your program and that too while remaining cross-platform independant. That counts I think.

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Re: What about Java5?

Postby lambda » Tue Oct 12, 2004 5:30 pm

n3m3sis wrote:What do you think will be the effect on open source adoption, if java is open sourced, and what effect will this release have on .NET, will it surpass it?


why should java be open sourced?

jargon
Lieutenant Colonel
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Postby jargon » Thu Oct 14, 2004 5:06 am

at least there is mono, for a java hater such as me.
jargon

zaeemarshad
Lieutenant Colonel
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Location: Islamabad
Contact:

Postby zaeemarshad » Thu Oct 14, 2004 4:38 pm

jargon!

i have just dipped my toes in the java world. I would really appreciate if you would tell me the reasons to switch to mono. I am personally interested in Personal Java or J2ME. I dont have a clue as to how mono is able to compete with java in this dimension or am I just comparing them in the wrong dimension?

Regards
Zaeem

jargon
Lieutenant Colonel
Posts: 691
Joined: Mon Oct 13, 2003 9:40 am

Postby jargon » Thu Oct 14, 2004 8:26 pm

zaeemarshad wrote:jargon!

i have just dipped my toes in the java world. I would really appreciate if you would tell me the reasons to switch to mono. I am personally interested in Personal Java or J2ME. I dont have a clue as to how mono is able to compete with java in this dimension or am I just comparing them in the wrong dimension?

Regards
Zaeem


I just have an inate hatred for Sun, because of their business practices (Damn you Schwartz!). Mono is the linux implementation of the CLR for .NET, its pretty complete, also runs on Windows and OSX. But you may have a reason to stay w/ Java, perhaps for work, etc... Your comparison would still be .NET vs Java , minus some .NET features. But I'm not speaking in the work-sense, more of hobby programming.
http://www.go-mono.org
jargon

farhantoqeer
Major General
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Location: Karachi
Contact:

Postby farhantoqeer » Thu Oct 14, 2004 8:39 pm

Personaly i cant give a try to MONO rightnow for a production environment, i am managing a development of an ERP from last 1 year based on JAVA/PostgreSQL, never found anything problematic yet. I think there are some issues in MONO as far as cross-platform execution is concerned. JAVA is much more mature then MONO.
A: Yes
Q: Is top-posting bad?

zaeemarshad
Lieutenant Colonel
Posts: 660
Joined: Sat Jul 06, 2002 12:35 pm
Location: Islamabad
Contact:

Postby zaeemarshad » Thu Oct 14, 2004 10:22 pm

Jargon is pretty accurate in saying it should be .NET vs Mono. Java caters with a different breed of problems as well. Though an article forced me to consider taking a look at python and sajjad zaidi programs in Python as well :) . So i am thinking about learning a bit of python as well. Mono is never gonna be a problem i think. We have got Fawad at our side. :)

Cheers
Zaeem

n3m3sis
Havaldaar
Posts: 123
Joined: Sun Apr 18, 2004 2:35 pm
Location: Islamabad

Postby n3m3sis » Fri Oct 15, 2004 9:11 am

Mono is the linux implementation of the CLR for .NET, its pretty complete, also runs on Windows and OSX


Not without Windows.Forms support which is due late 2005!
Currently you can only do web-programming and shell programming with it.

Whereas java development kit for Linux is complete.

n3m3sis
Havaldaar
Posts: 123
Joined: Sun Apr 18, 2004 2:35 pm
Location: Islamabad

Postby n3m3sis » Fri Oct 15, 2004 9:15 am

Mono is the linux implementation of the CLR for .NET, its pretty complete, also runs on Windows and OSX


Not without Windows.Forms support which is due late 2005!
Currently you can only do web-programming and shell programming with it.

Whereas java development kit for Linux is complete.

whizkid
Cadet
Posts: 8
Joined: Sat Oct 16, 2004 8:18 pm
Location: Karachi
Contact:

There is an alternative to Mono

Postby whizkid » Sat Oct 16, 2004 8:39 pm

DotGNU supports Windows Forms... please look at the snapshots.

http://www.dotgnu.org/pnet.html
http://www.dotgnu.org/screenshots.html

fawad
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL
Contact:

Postby fawad » Sun Oct 17, 2004 10:01 am

Like I mentioned, it depends on what you're doing with it. My work is mostly involved with the business logic and web services, so mono works as well as .NET proper for me.

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Fri Oct 22, 2004 12:17 pm

i'll second whizkid's recommendation of portable.net.

mrkkhattak
Site Admin
Posts: 285
Joined: Wed Aug 07, 2002 8:00 pm
Location: Karachi
Contact:

Postby mrkkhattak » Sat Oct 23, 2004 12:21 pm

Assalamualaikum,

Can we divide these languages in two groups ? one most suitable for desktop applications & two most suitable for web applications.

If we do so I will go for php (after php5 it is a must - as it now has a better suppor for OO & XML) in web applications group. What do you ppl say ?

As far as python is concerned (for both groups) I think as it is a pure open source OO language, I will go for it in the OO world (i may not go for mono or java)

-Meraj

fawad
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL
Contact:

Postby fawad » Mon Oct 25, 2004 7:55 am

AOA Meraj,
Java, .NET/mono and PHP satisfy different audiences. Java and .NET are layered systems, where the presentation of the application (web, thick client, RMI, etc.) are just a layer. They aren't suited for one delivery mechanism over another. PHP has an affinity towards the web, which makes it more suitable for web apps (though other interfaces like gtk+ bindings exist.

That said, the choice of a tool is really dependent on the application scenario. Creating a guestbook page for your personal website? Use PHP. Creating the next amazon.com? Use Java/.NET.

farhantoqeer
Major General
Posts: 917
Joined: Thu Jun 27, 2002 5:45 pm
Location: Karachi
Contact:

Postby farhantoqeer » Mon Oct 25, 2004 8:15 am

Hi all,

What programming language you use if you are going to write a desktop application (Inventory, Accounts, HR/Payroll etc etc) with mixed clients using Linux, Windows?
A: Yes

Q: Is top-posting bad?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest