That’s One Gallopin’ Mustang, Sun!
October 1, 2006 —
(Page 1 of 2)
Unlike some of my more austere colleagues, I find what Sun is doing with the new releases of Java to be mostly good, and certainly exciting. Personally, I have felt this way since the Java 5 release. In my coding work these days, I use nearly all the features that release gave us. Generics, enums, annotations, varargs, printf(), the new for-looppretty much everything. I like the syntactic sugar and the convenience they bring, so I use them wherever I can.
We can all debate about whether these additions were too little, too late. However, as I have pointed out before, I really dont think its too late for Java in the way Bruce Tate (of Beyond Java fame) and the legions of Ruby enthusiasts do. The changes might be too little, but Sun has a bunch of new stuff in store for Java 6, code-named Mustang, thats got me wondering whether I should switch over even before its final release (currently set for October). Mustang also has one peculiar addition, which Ill discuss shortly.
An improvement that will be of interest to many readers is the incorporation of a bunch of XML and Web services technology from Java EE, combined with some annotation magic. You now can define a function and, with the single @WebService annotation, convert it into a Web service. (And if you want to test it on the spot without uploading your classes to the corporate Web server, you can use the built-in, barebones HTTP server.) Its pretty much that simple: An annotation and a pair of import statements are also needed.
Another feature, which will gladden the hearts of the scripting enthusiasts budding within us all, is the addition of a new bytecode, invokedynamic, that makes scripting engines embedded into Java much more efficient. The bytecode facilitates the execution of methods in the absence of type information. (Essentially, it permits the code to do non-Java things. While this addition is being done strictly to support embedding languages that use duck typing, one has to wonder whether this is not laying the groundwork for more scriptinglike Java syntax in the future.)
Share this link: http://sdt.bz/29602
Most Read Latest News Blog Resources
Zeichick’s Take: Radio moves from analog waveforms to digital packets
Streaming radio highlights the need for streaming applications to be designed to take up as little bandwidth as possible
|
|
Taking enterprise architecture to the business side
Startup Corso is bringing out a cloud-based planning platform that ties into business plans
|
|
Appcelerator Acquires Cocoafish to Add Instant Mobile Cloud Capabilities to its Industry Leading Titanium Platform
Appcelerator Offers Messaging, Social, Location and Storage Mobile Cloud Services to All Mobile App Publishers
|
|
ComponentOne Releases a Collection of 40+ UI Widgets Powered by HTML5 and jQuery
ComponentOne has announced the 2012 release of Wijmo: a kit of UI widgets for HTML5 and jQuery development
|
Taking enterprise architecture to the business side
Startup Corso is bringing out a cloud-based planning platform that ties into business plans
|
|
Top five apps to manage your workload
Web applications offer new ways to track your “to-do” lists
|
|
Not so fast when it comes to testing in the cloud
Developers face outsourcing, virtual lab management and mobile devices as obstacles
|
|
Xceed releases UX-focused suite for Microsoft’s WPF
"Blendables" helps match user experiences to developer visions
|
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
|
|
Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
|
|
RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
|
|
GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
|
The Hidden Costs of Software Licensing
Moving beyond paper-based software licensing to more flexible, software-based licensing is a business decision. There is a growing trend tow...
|
|
Case Study: You May Need a Development Mechanic
As a contractor for a major financial player in Germany, SOBEGE, a German-based consultancy specializing in embedded IT and web services, wa...
|
|
Ensuring Software Quality at a Major International Bank
One of the world’s leading international banks has adopted AgitarOne technology for delivering generated unit tests for their Java software...
|
|
Load Testing Adobe Flex Applications
Adobe Flex applications may be different from applications you’ve worked with before. For classic HTML web applications, the server does all...
|