The Artima Developer Community
Sponsored Link

Articles Forum
Dynamic Language Support on the JVM

15 replies on 2 pages. Most recent reply: Dec 30, 2007 10:49 AM by SRK PRIV

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 15 replies on 2 pages [ « | 1 2 ]
SRK PRIV

Posts: 1
Nickname: srkpriv
Registered: Dec, 2007

Re: Dynamic Language Support on the JVM Posted: Dec 30, 2007 10:49 AM
Reply to this message Reply
Advertisement
This dynamic language support is quite interesting. But, I am more interested knowing whether Java support Dynamic Language Development?

For ex., something like;

if (MyClass instanceof "<class / interface Name>") {
// do something.
} else {
// do something else.
}

Where I can supply the "<class/Interface Name>" dynamically at runtime is that at all possible? Is that what this Dynamic Language Support of Java 6.0 does? This will be a real cool feature.

In other languages (including scripting) you can actually change/write a new program behaviour using dynamic development.

For eg., Using eval you can call a function or validate a string to an object in Java Script.

You can do similar or more things in PERL, PHP an so on.

Java didn't support any of the above feature until Java 5.0 as far as I know. Can I do the above in Java 6.0?

Thanks.

Flat View: This topic has 15 replies on 2 pages [ « | 1  2 ]
Topic: Data Binding in Java Previous Topic   Next Topic Topic: Generics in C#, Java, and C++

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use