Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home Development
    • Development

    Java to Support More Languages

    Written by

    Darryl K. Taft
    Published August 14, 2006
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      When Sun Microsystems began looking at what needed to be added to the Java platform, high on the list was support for dynamic languages, according to Graham Hamilton, a Sun vice president and fellow in the Sun platform team.

      Sun was interested not only in providing support for so-called dynamic or scripting languages—which enable developers to build applications more quickly than with static languages such as Java—but also in providing better support for popular languages overall, Hamilton said.

      The company is looking to make changes to the next major version of the Java SE (Standard Edition) platform after the upcoming release, according to Hamilton. That release is known as Java SE 6 and is code-named Mustang, but the follow-on version to that is Java SE 7, code-named Dolphin. Hamilton discussed some of the features that are expected to appear in Dolphin.

      /zimages/3/28571.gifRead more here about new features in the “Mustang” version of Java SE.

      In an interview with eWEEK, Hamilton, based at Suns Santa Clara, Calif., headquarters, said the company is moving to provide enhanced support for scripting languages such as JavaScript as well as for popular languages such as Microsofts Visual Basic on the Java platform.

      “The Java language is a great language,” he said. “There are other language styles out there. Some people like using scripting languages, some people like using dynamic languages and some people like Visual Basic.”

      What the company is not trying to do is clone any specific version of Visual Basic, Hamilton said. Sun is attempting to support common VB.Net features on the Java platform.

      “If youre familiar with VB.Net, this will be a very easy-to-learn language for you,” Hamilton said of the Basic implementation Sun is working on.

      Meanwhile, Sun has also delivered a technology preview showing JavaScript support on the Java EE (Enterprise Edition) Web tier, he said.

      Sun has demonstrated an application that uses JavaScript, both on the client in the browser and on the server side. The application uses AJAX (Asynchronous JavaScript and XML) effects within the browser and then makes calls back into JavaScript code running on a Java EE application server.

      Why the need to provide support for varied platforms?

      “There are different kinds of languages with different strengths,” Hamilton said. “We tend to think Java is great for long-lived, maintainable source code. We put a lot of thought into making Java a language thats clear and easy to read.”

      But there are times when, for instance, a marketing department has a Web tier, GUI presentation layer that appears to change every other day. “[If so,] you may want a language thats focused on a more exploratory style for rapid turnaround—where continual change is more important. Scripting languages are really good for that,” Hamilton said.

      Developers may also “choose to have a mixed development style where you use Java for long-lived business logic and then you use scripting languages or dynamic languages for your presentation tier—where your presentation tier is changing rapidly,” he said.

      Sun is also working on projects to support dynamic languages such as Ruby on the Java platform and the Python language on the Java platform.

      /zimages/3/28571.gifClick here to read more about Suns plans to increase support for dynamic languages.

      Meanwhile, developers who work in Java every day chimed in to share their views on where Sun is taking Java.

      “I like what they did for scripting in Java SE 6,” said John Zukowski, a developer with SavaJe, in Boston, a maker of Java software for mobile devices.

      “If Java SE 7 includes more scripting languages in the standard platform, I can see it being useful for people who work with the scripting languages now,” Zukowski said. “With [Java SE] 6, you get the framework and JavaScript. There are many other scripting languages besides just JavaScript, so making some of the more popular ones standard could be beneficial for those users.”

      John Crupi, chief technology officer at JackBe, in Bethesda, Md., said enhanced support for dynamic languages “should be a top priority for SE 7. More and more AJAX and so-called Web 2.0 capabilities will drive Web computing for the next few years.”

      “If Java doesnt have a good scripting/dynamic language story, [Sun] will be sitting on the sidelines,” Crupi said. Crupi was a distinguished engineer at Sun until earlier this year, when he moved to JackBe.

      Benjamin Booth, a developer with WebMethods, in Fairfax, Va., said scripting support in Java is “hugely important. Ruby is my new favorite language, so Im very interested in finding ways to use it wherever possible without completely cutting over from Java.”

      Moreover, “with so much money invested in Java libraries, rewriting everything in Ruby doesnt make sense,” Booth said. “JRuby shows how this is possible and makes a strong argument for Rubys usefulness in enterprise development.”

      For Bruce Snyder, a developer with LogicBlaze, in Marina del Rey, Calif., scripting language support “is one of the most important features because it will allow Java to compete at a level at which it has neglected to date.”

      Snyder said he sees the rise in popularity of Ruby as “a testament to the fact that not everyone needs a compiled language for a simple database-backed Web application. Adding scripting language support to the Java platform will extend its influence and life in ways that nobody can foresee today.”

      Not all developers were big on the scripting support.

      “The scripting I could care less about, as I am not sure the level of leverage scripting will play in Java,” said Jeff Genender, CTO at Savoir Technologies, in Evergreen, Colo. “The interoperability with other languages of it will be interesting … but I still think the jury is out on whether this will have any widespread impact in Java development.”

      Meanwhile, Cedric Beust, a developer at Google, in Mountain View, Calif., said of Suns plans to add more support for dynamic languages: “Im afraid its too little—and probably too late as well. The only added support is one bytecode in the virtual machine that—while a big progress for scripting languages—still requires a lot of work from language developers interested in writing a JVM [Java virtual machine]-based scripting language.”

      Hamilton said other new features to come in Java SE 7 could include upgrades to the Java language itself, including better support for XML.

      LogicBlazes Snyder said that while he likes the idea of making it easier to navigate XML, “Im not particularly fond of the idea of supporting in-line XML directly in the Java language. XML literals are already supported by the likes of Groovy et al., and I think thats a good place for it.”

      On the other hand, Beust said, the use of a LINQ-like module “might be inevitable for enterprise software, so you might as well integrate it so the compiler can help you write it correctly.”

      Meanwhile, Hamilton said Sun is looking at a couple of other Java language changes, including one called “super packages.”

      “Super packages are a new, higher-level scoping mechanism,” Hamilton said. “And the developers we talked to are quite excited about that because that is solving a real problem for large-scale development.”

      /zimages/3/28571.gifCheck out eWEEK.coms for the latest news, reviews and analysis in programming environments and developer tools.

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×