Presentation: The State of JavaScript
InfoQ
Brendan Eich reviews the history of JavaScript, then introduces and demonstrates some of the new features coming in ES6. By Brendan Eich
Brendan Eich reviews the history of JavaScript, then introduces and demonstrates some of the new features coming in ES6. By Brendan Eich
An interview with JavaOne Rock Star Martijn Verburg, by yours truly, titled "Challenging the Diabolical Developer: A Conversation with JavaOne Rock Star Martijn Verburg," is now up on otn/java. Verburg, one of the leading movers and shakers in the Java community, is well known for his 'diabolical developer" talks at JavaOne where he uncovers some of the worst practices that Java developers are prone to. He mentions a few in the interview: * "A lack of communication: Software development is far more a social activity than a technical one; most projects fail because of communication issues and social dynamics, not because of a bad technical decision. Sadly, many developers never learn this lesson.* No source control: Some developers simply store code in local file systems and e-mail the code in order to integrate their changes; yes, this still happens.* Design-driven design: Some developers are inclined to cram every design pattern from the Gang of Four (GoF) book into their projects. Of course, by that stage, they've actually forgotten why they're building the software in the first place." He points to a couple of core assumptions and confusions that lead to trouble: "One is that developers think that the JVM is a magic box that will clean up their memory and make their code run fast, as well as make them cups of coffee. The JVM does help in a lot of cases, but bad code can and will still lead to terrible results! The other trend is to try to force Java (the language) to do something it's not very good at, such as rapid Web development. So you get a proliferation of overly complex frameworks, libraries, and techniques trying to get around the fact that Java is a monolithic, statically typed, compiled, OO environment. It's not a Golden Hammer!" Verburg has many insightful things to say about how to keep a Java User Group (JUG) going, about the "Adopt a JSR" program, bugathons, and much more. Check out the article here.
The past three Java.net polls were about JavaOne. The last two polls asked if you've ever attended JavaOne and your view on the most significant announcement at this year's JavaOne. Before that, our poll asked people to forecast this year's top announcement. In that poll, a majority of voters thought the most significant announcement would be related to JavaEE or JavaSE / OpenJDK, as I discussed earlier. So, how do the voters think they did at forecasting the most significant JavaOne 2012 announcement? Pretty well, actually. A total of 520 votes were cast for the just completed poll, with the following results: The most significant announcement at JavaOne 2012 was related to: 23% (122 votes) - JavaEE 28% (145 votes) - JavaSE / OpenJDK 8% (42 votes) - JavaME / Embedded Java 11% (56 votes) - JavaFX 24% (123 votes) - I don't know 6% (32 votes) - Other This is remarkably close to what was forecast in the earlier poll. JavaSE / OpenJDK received 28% in both polls; JavaEE slipped from 27% to 23% between the pre- and post-JavaOne polls; JavaFX received 11% in both polls; and JavaME / Embedded Java rose to 8% in the post-JavaOne poll from 6% in the pre-JavaOne poll. Perhaps somewhat curiously (or, perhaps not), "I don't know" doubled from 12% in the forecast poll, to 24% in the post-JavaOne poll. Once again, these are not scientific polls -- but if we think about this nonetheless, it implies that, going into JavaOne, developers have clearer expectations about what will happen that's most significant at the conference; whereas after the conference, which is a blur of announcements, events, news and stories, it's less easy to ascertain or select a "most significant announcement". As for the Have you ever attended a JavaOne Conference? poll, 449 people voted. It's not a surprising result that only 20% of the voters have attended a JavaOne in the past. It was nice to see that 21 voters (5%) were attending their first JavaOne in 2012. And, 41% (182 voters) hope to attend a JavaOne some day. New poll: start-ups and the cloud Our new Java.net poll asks Would you use a cloud platform to host a new start-up today? Voting will be open until Friday, November 2. Articles Our latest Java.net article from Manning Publications is Architecture and Star Schema by William D. Back, Nicholas Goodman, and Julian Hyde, authors of Mondrian in Action. Java.net Weblogs Since my last blog post, there have been several new java.net blogs: John Ferguson Smart, Agile Java Development Practices Workshop In Canberra; John Ferguson Smart, Behavior-Driven Development Talk at the Canberra Java Users Group; John Ferguson Smart, Combining Continuous Delivery Practices with Maven and Jenkins; and Gabriele Carcassi, Moving to Blogger. Spotlights Our latest Java.net Spotlight is Janice J. Heiss' Challenging the Diabolical Developer: A Conversation with JavaOne Rock Star Martijn Verburg: Few developers have done more to move and shake the Java community in recent years than Martijn Verburg. He was voted by his peers as a JavaOne Rock Star for his "Diabolical Developer" session at the JavaOne 2011 conference, in which he identified some of the worst practices of Java developers. He is co-leader of the thriving London Java Community, and leads the global effort for "Adopt a JSR" and "Adopt OpenJDK" programs... Before that, we spotlighted: Tori Wieldt's JavaOne Community Keynote Videos: If you weren't able to attend JavaOne 2012 in San Francisco, one of the high points was the Community Keynote on the last day. It was by the community and for the community. It included a visit from James Gosling, demos, and community members describing what they've been up to. You can watch highlights... or watch the full keynote... Arun Gupta's WebSocket Applications using Java: JSR 356 Early Draft Now Available (TOTD #183): WebSocket provides a full-duplex and bi-directional communication protocol over a single TCP connection. JSR 356 is defining a standard API for creating WebSocket applications in the Java EE 7 Platform. This Tip Of The Day (TOTD) will provide an introduction to WebSocket and how the JSR is evolving to support the programming model. First, a little primer on WebSocket... Heather Van Cura's JCP EC Nominations and Meet the Candidates Call: The Nominations period for the 2012 JCP EC Elections closes tomorrow, 11 October at midnight pacific time. Eligible JCP Members (all current JSPA 2 signers) may nominate themselves. You will need your Elections credentials to complete the nomination, which were sent to the primary contacts of all eligible JCP Members via email last week... Steve Meloan's JavaOne 2012 Review: Make the Future Java: After five days of non-stop keynotes, technology sessions, hands-on labs, panel discussions, BOFs, networking, and nighttime club/music crawls, many JavaOne attendees are probably still just catching their breath. They're back at their workplaces now-heads filled with cutting-edge new concepts, technologies, possibilities, business contacts... Java News Here are additional Java News stories we've recently featured: Tom Eugelink: Writing Google Calendar in JavaFX; Dustin Marx: The Checker Framework; NetBeans Community: NetBeans Governance Board Election; Roger Brinkley: Community Outreach - Where Should I Go; Andreas Grabner: How to Triple Throughput and Improve Application Performance Through End-to-End Testing; jaxenter: JAX London day two roundup; Markus Eisele: Trip-Report Oracle OpenWorld and JavaOne 2012 ; Chris Mayer: Hadoop Evolved : Doug Cutting tells of the platforms origins and future; Peter Pilgrim: JavaOne 2012 Report 3 Analysis & Conclusions; Geertjan Wielenga: HTML5 Development for Dummies; Stephen Colebourne: ElSql - Library/DSL to manage SQL; Patroklos Papapetrou: Scala Refcard Released! And the Top 5 Scala Articles of the Week; Stuart Marks: JavaOne 2012: Hallway Track and Recap; Peter Pilgrim: JavaOne 2012 Report Part 2; and Heather Van Cura: JavaOne pictures and Community Commentary on JCP Awards. Subscriptions and Archives: You can subscribe to this blog using the java.net Editor's Blog Feed. You can also subscribe to the Java Today RSS feed and the java.net blogs feed. -- Kevin Farnham (@kevin_farnham)
Dear Spring Community, Just to close off SpringOne2GX 2012 with the bang, I am pleased to announce the release of Spring Integration 2.1.4.RELEASE and Spring Integration 2.2.0.RC2! Resources for Spring Integration 2.1.4.RELEASE Downloads | JavaDocs | Reference Documentation | Release notes Resources for Spring Integration 2.2.0.RC2 Downloads | JavaDocs | Reference Documentation | Release notes Please read the following blogs to catch up on the new features of Spring Integration 2.2 MongoDb Adapter Support Pseudo Transaction and Transaction Synchronization JPA Support Retry and more to follow: Special thanks to our community contributors - Artem Bilan and Amol Nayak for making these releases happen.
Pete Goodliffe presents advanced techniques for creating iOS apps based on real life examples that show how to make the most of Objective-C, how to create Retina apps, and others. By Pete Goodliffe
Jeff Hawkins discusses 3 operating principles of the neocortex and introduces Grok, a predictive modeling product based on those principles. By Jeff Hawkins
James Gosling looks at, JavaFX Ensemble, and app that demonstrates all the amazing stuff in the new JavaFX. "What a lovely new world of UIs" he says.
Few developers have done more to move and shake the Java community in recent years than Martijn Verburg. In his "Diabolical Developer" persona, he identifies some of the worst practices of Java developers.
Mozilla Sweet.js enables developers to enrich JavaScript by adding new syntax to the language through the use of macros. This helps developers to customize the JavaScript syntax for their style, or to expand it by creating a new JavaScript-based DSL useful for their niche domain. By Abel Avram
Mik Kersten, the community team lead for the Eclipse Mylyn project and Eclipse Board Member, discusses the inspiration behind Mylyn, his surprise at its quick success in open source community, and its influence on other development tools. Taking place at Agile 2012, Mik also discusses the role of developers in Agile Lifecycle Management and recent changes in the DevOps movement. By Mik Kersten
A busy week for the JAX editorial team. JAX London was a blast to cover and chatting to some industry luminaries such as Doug Cutting, Tim Berglund and Martijn Verburg was certainly a highlight for myself. You’ll see those videos soon but today we’re feeling a bit sad that it’s all over. Not to worry, Friday 5 will hopefully cheer us all up! 1. Let There Be Code Now this is inspiring. Hat tip to Geertjan Wielenga for notifying us of the work of the organisers behind the 2012 Blind and Visually Impaired Computer Programming (BVIP 2012) camp at the Washington State School for the Blind. The video highlight teachers and students learning to write computer software using the Sodbeans IDE, a derivative of NetBeans, and the Quorum programming language. A fantastic initiative that we think deserves extra visibility 2. Why you hating on MongoDB? The NoSQL battlelines have been drawn. If recent surveys are to be believed, two NoSQL databases have risen to the top - 10gen’s MongoDB and Apache Cassandra (Datastax) yet they’re not really comparable. Both have their merits and use cases, yet we’re seeing a lot of negative blogposts about the former. Here’s yet another one from Todd Cullen in a sea of opinions about MongoDB’s frailties and why he’s sticking to SQL for now. Do you agree with him? 3. Megaupload over. Now just Mega You apparently can’t keep Kim Dotcom and his band of partners down. 2012 has been a bit of a whirlwind for the controversial German-born entrepreneur. Still indicted by the US government and awaiting extradition, Dotcom then dreamt up a Spotify rival Megabox and bizarrely had time to release an album in that time. His next move, revealed to Wired, is Mega - described “as a unique tool that will solve the liability problems faced by cloud storage services, enhance the privacy rights of internet users, and provide themselves with a simple new business.” Despite deleting the word upload, comparisons to the notorious file-sharing company of old will be made, with many claiming it’s just a reboot to get round the lengthy list of legal issues that Megaupload fell foul of. We shall wait to see if that’s the case, but Megabox hasn't appeared yet, so it could merely be a way of Dotcom staying in the public eye. 4. Google value plummets thanks to accidental email Always be wary of clicking send. Google’s shares were suspended yesterday, after an unfinished email detailing their latest quarterly results found its way to the US stock market authorities. The email, showing Google’s poor financial performance even had PENDING LARRY QUOTE at the top (referring to Google’s chief executive Larry Page) showing it wasn’t ready for eyes outside of the company. The impact was felt quickly, as Google’s stock fell 9% before trading ended, knocking $20bn off the value of the search engine giant. They’re pointing the blame at financial printer PR Donnelly for the pre-emptive filing according to the Guardian’s Charles Arthur. The perils of flotation surface again, after Facebook’s tentative opening on the stock market. Have the tech behemoths lost their lustre or are we reading too much into it? 5. JSON Editor Online And finally this tool is getting a lot of attention on Reddit, although mainly because people are discussing the merits of JSON and it existing in the first place. A neat experiment meaning you can view, edit and format the JSON data-interchange format. A really nice UI, plus it’s all open source. Check it out That's your lot for this week - have a good weekend!
In a security update released yesterday, Apple have disabled the Java browser plug-in on OS X. This comes in the wake of several Java-based zero-day exploits, as well as accusations that Oracle are failing to patch vulnerabilities quickly. Many publications urged readers to uninstall Java in order to protect themselves, a storm of bad PR which appears to be continuing unabated. Apple has offered no official statement regarding the removal of the Java plug-in. However, it is worth noting that this update does not remove Java altogether from the system, and that applications that rely on Java, such as OpenOffice, Vuze and Photoshop, will be unaffected. With client-side Java rapidly disappearing in favour of HTML5, this shouldn’t affect too many developers, and users can still re-install the plugin if they really need to. Still, this apparently leaves two versions of Java, SE 7 and SE 6 running side-by-side. And it’s embarrassing that Java is now considered so insecure that, as a safety precaution, OS X users are by default not allowed to use it. It seems Java’s future on the desktop is looking increasingly bleak.
Why should you learn Clojure now? It's the coolest new language on the JVM. What makes it so cool? It's a dynamically typed, functional Lisp that offers sophisticated capabilities like software transactional memory. Why should I learn it? Lisp is the most powerful style of programming language possible. These are the opinions of Thoughtworker Neil Ford and he'll tell you why Clojure is elevated above other JVM languages. Filming Courtesy of Marakana Tech TV -marakana.com
In this episode of The AWS Report, I spoke with AWS Evangelist Matt Wood to learn about his track on Big Data and Analytics at AWS re:Invent. The track sounds awesome and I hope to be able to attend some...
Judging from the number of requests that I have had for this particular combination of EC2 features, I'm expecting this to be a very popular post. You can now launch EC2 micro (t1.micro) instances within a Virtual Private Cloud (VPC)....
The contentof this article was originally written by Se Hoon Park on the Cubrid blog. Preview Text: In this article I will explain how JVM works, its structure, how it executes Java bytecode, the order of execution, examples of common mistakes, and more . . .
Description: Decouples abstraction from implementation. Inheritance tightly couples an abstraction with an implementation at compile time. The Bridge pattern can be used to avoid binding between abstraction and implementation and to select the implementation at runtime. "decouple an abstraction from its implementation so that the two can vary independently". Preview Text: ...
For my last session of JavaOne 2012, I elected to attend Emmanuel Bernard's and Stephane Epardaud's (both of RedHat) "Introduction to Ceylon" presentation held in Hilton Golden Gate 6/7/8. Preview Text: It was stated that Ceylon design highly prizes readability and may, if necessary, require a little more verbosity, rather than rely on...
At this year's JavaOne, I did a session "JavaFX for Business Application Developers" and a BOF "Live-Coding BOF: Writing a Game with JavaFX". This post provides the material. JavaFX for Business Application Developers First the slides of the session "JavaFX for Business Application Developers" There is more material including a video available. Preview Text: ...
Well quite frankly i'm late to the game, but here i am, getting my hands dirty(or wet or whatever you might call it) in the world of android. This post will focus on how to set up the android SDK, setting up ADT for eclipse as well as an introduction to the structure of a typical android project using an example. Lets get going (said in a robotic voice of course)... Preview...
Preview Text: I have to say, that this year the JavaOne conference was a blast, and not just because I presented three times. Java has moved forward, following the tagline from the 2011 conference, "Moving Java Forward". This year's tag line is on the tee-shirt was "Make The Future Java", indeed. Legacy ...