General Development

New Java – jestermax

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
hey, i just realized that the new java (1.6) is out now. does anyone know much about it? aka the new features? (i'm actually asking)

so far all i know is that they integrated Rhino into it by default. i prefer BeanScript myself but Rhino is much faster.

spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
you just found out?? i downloaded it like almost a month ago.
you know you should check out http://www.javalobby.org seeing that you are a java fan you would really enjoy it.

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
yeah, it came out mid december but i haven't had much time for java lately; i use: C# for work and C++ for 3D gaming.
spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
i don't know much about c# is it any better?

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
i prefer java personally but the argument could go either way i guess. Java has been around longer than C# so i guess there would be more support for it. then theres the Javadocs which rock (MSDN can kiss my butt ).

it's really up to personal preference. i've been coding java for a while now and you don't need fancy, memory hogging IDEs to use it (yes, i know there are IDEs for C# that aren't VS, but meh)

*stands back and prepares to be flamed by C# promoters*

SSquared

Member

Posts: 654
From: Pacific Northwest
Registered: 03-22-2005
quote:
Originally posted by jestermax:
*stands back and prepares to be flamed by C# promoters*

Well, I wouldn't want to get this too off topic. I agree with you and leave it up to personal preference.

Personally, I have found C# much better than Java. The API is much cleaner, clearer, and simpler to use. Java is terrific, no doubt. But C#/.NET has even taken some of Java's headaches and simplified them. Sorry, I don't have any examples. I just remember when I was first using C# thinking, "Wow, I would have had to do much more work to accomplish this in Java." I believe it was related to working with the UI.

Also, I am involved in C++, too, and the integration with C++ to C# is really simple. Using JNI is, well, rather tedious.

Unfortunately, I no longer keep up with Java, so I didn't even know about the latest release. I would like to at least see the list of new features.

steveth45

Member

Posts: 536
From: Eugene, OR, USA
Registered: 08-10-2005
The only addition to the latest version of Java that sounds remotely interesting is the inclusion of a scripting framework. Basically, it makes it easier to embed scripts of various kinds. Java, like C#, already has a clean enough syntax, so I have no idea why you would want to embed scripts, but there it is. What's nice, I suppose, is that you can create your own scripting interface with less hassle.

If you look at this page: https://scripting.dev.java.net/ you will see than many scripting languages have already been implemented. Some of them are designed for very specific tasks. Many are similar to Python or other dynamically typed languages.

------------------
+---------+
|steveth45|
+---------+

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
rhino is extremely fast for a java scripting language but beanshell USES java syntax and it's easy to hook up. so there's practically no learning curve when using it. the only downside is that it's horribly, horribly slow
spade89

Member

Posts: 561
From: houston,tx
Registered: 11-28-2006
hey, i heard somewhere that ruby script is taking over . they say it's really cool.

------------------
Matthew(22:36-40)"Teacher, which is the greatest commandment in the Law?" Jesus replied: " 'Love the Lord your God with all your heart and with all your soul and with all your mind. This is the first and greatest commandment. And the second is like it: 'Love your neighbor as yourself.All the Law and the Prophets hang on these two commandments."
Whose Son Is the Christ

jestermax

Member

Posts: 1064
From: Ontario, Canada
Registered: 06-21-2006
well ruby alone is gaining popularity, especially "Ruby on Rails"