Innovate. Share. Transform.

Sun Developer Journal

Subscribe to Sun Developer Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get Sun Developer Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories

We can visualize resource starvation using an elaborate rendition of the Dining Philosophers Problem. This classic metaphor of resource allocation among processes was first introduced in 1971 by Edsger Dijkstra in his paper "Hierarchical Ordering of Sequential Processes." It's been a model and universal method for verifying theories on resource allocation ever since. The metaphor goes like this: There are three well-known philosophers in an Asian bistro. Dinner is served but they are only given three chopsticks because the restaurant's supply truck has been stuck in a snow storm for a couple of days. Naturally each philosopher needs two chopsticks to eat his dinner and each is protected from interference while he uses a chopstick. Plato skipped lunch that day and insists that he should have priority or else he'll faint. If he doesn't give up his chopsticks, the other ... (more)

An Introduction to Abbot

Graphical user interface (GUI) testing is a potentially problematic area because constructing effective test cases is more difficult than the corresponding application logic. The roadblocks to effective functional GUI testing are: Traditional test coverage criteria like "80% coverage of the lines of code" may not be sufficient to trap all the user interaction scenarios. End users often use a different user task interaction model than the one conceived by the development team. Functional GUI testing needs to deal with GUI events as well as the effects of the underlying application logic that results in changes to the data and presentation. The common methods for functional GUI testing are the "record and execute" script technique and writing test programs for different scenarios. In the "record and execute," the test designer interacts with the GUI and all the eve... (more)

Ellison at JavaOne: Myths About JavaFX, Android, and J2ME

At JavaOne, Larry Ellison has made some very encouraging statements about Oracle’s commitments to Java, JavaFX, and the mobile developer market. It is certainly good news that Oracle (i.e., Larry) sees the significance of the Java platform in its integrality. However, there are many misunderstandings about the relationship between Java, JavaFX, and Android that even confuse the new Java owner. Here are some clarifications. 1) JavaFX is NOT Java Obviously, from a marketing standpoint, JavaFX is branded as Java; however, technically JavaFX is a language by itself, which happens to be compiled into Java bytecode and run on a Java VM. JavaFX is similar to Groovy or JRuby, minus the dynamic part (see #2). For example, introspecting a JavaFX object from Java requires some tricks since JavaFX Object/Class definitions do not map directly to those of Java Object/Class. (Note: ... (more)

Rocela responds to Oracle's acquisition of Sun Microsystems; Businesses must seize this as opportunity to strengthen strategic vendor relationships

Oracle customers reveal main concerns about deal: • Potential loss of vendor leverage and increased dependency on Oracle • Questions on strategic intent for platform and software products • Changes to the culture of Oracle and Sun Edinburgh, 28th January 2010 - In response to the completion of Oracle's buyout of Sun Microsystems, which has attracted criticisms for its impact on market competitiveness, Rocela, one of the largest independent Oracle consultancies working with more than 50 Oracle global clients, today urged end users to view the merger as an opportunity and not a threat. "Don't let emotions get in the way of the situation and take the deal on its face value" is Martin Mutch, CEO of Rocela's opinion. He believes that IT directors and CIOs should view this as a chance to build a relationship with Oracle that suits their terms, enabling them to take advantage of... (more)

Eighteen Open Source Content Management Systems (Part 3)

This is the third blog post in a series of blog posts about open source Content Management Systems (CMS). You can find the first two parts here (Part 1) and here (Part 2) . In the last article in this series we covered Xoops, Seotoaster, e107, Concrete5, and Typo3, five leading Content Management Systems. In this article we talk about the next five: MediaWiki, Moveable Type, dotCMS, Dotclear, and Zope/Plone.   11. Media Wiki MediaWiki is a PHP designed open source software wiki package, initially built for use on Wikipedia. Now it is used by several other projects of the non-profit Wikimedia Foundation and by many other wikis, including this website, the home of MediaWiki. The free software is available under the license of the GPL. It runs on a LAMP (Linux, Apache, MySQL, PHP) architecture. It’s designed to run on large server farms for websites that get mill... (more)

Sun to Keynote on "A World of Many Clouds" at Cloud Computing Expo in New York

Sun is joining Amazon and IBM in the top industry keynote lineup for SYS-CON's 2nd International Cloud Computing Conference & Expo in New York, March 30-April 1, co-located with the 5th International Virtualization Conference & Expo. Sun's Sr. VP of Cloud Computing, David Douglas, will be joining Amazon's CTO Dr Werner Vogels and IBM's Cloud Computing CTO Kristof Kloeckner. Between them these three industry thought leaders represent extremely well the steadily growing importance of Cloud Computing in the world of Enterprise IT. Douglas's keynote will be entitled "A World of Many Clouds." Sun is committed to making cloud computing a pervasive reality. Sun's open source philosophy and Java principles form the core of a strategy to provide interoperability for large-scale computing resources through open and transparent cloud platforms that minimize lock-in. Sun envisio... (more)

Writing Java Hello World for Google app engine

This article shows you step by step with screenshots how to write a simple hello world app in Java in Eclipse and deploy it to Google App engine. At the time of writing, access to google app engine for java is limited and you have to wait to get permission from google. In the meantime, I hope you find this tutorial insightful. ... (more)

Sun Ready To Renew Acquisition Talks With IBM, If They Promise To Walk The Walk

Looks like Sun Microsystems is open to renewing acquisition talks with International Business Machines (IBM) if the latter makes a stronger commitment to actually closing the deal, according to Bloomberg sources. Earlier this month, discussions over a potential takeover broke down when IBM withdrew its earlier $7 billion bid to buy Sun. Discussions have stalled, still according to the sources, and both companies are now waiting for the other to make a move. The information provided by the two unnamed sources implies that Sun withdrew exclusive negotations with IBM because there were apparently no guarantees that they would ultimately stick with the takeover if the companies encountered barriers such as an antitrust review. So basically Sun is saying: if you’re going to talk the talk, you’d better be prepared to walk the walk. Spokesmen from both companies declined t... (more)

Oracle-Sun: $7.4BN Deal Will Close Already This Summer

“We estimate that the acquired business will contribute over $1.5 billion to Oracle’s non-GAAP operating profit in the first year, increasing to over $2 billion in the second year,” said Oracle's President Safra Catz (pictured), after the board of both Oracle and Sun unanimously approved the acquisition of Sun by Oracle for $7.4 billion in a deal anticipated to close this summer, subject to Sun stockholder approval, certain regulatory approvals and customary closing conditions. “We expect this acquisition to be accretive to Oracle’s earnings by at least 15 cents on a non-GAAP basis in the first full year after closing,” said Catz in an offiocial statement this morning, before adding that the $1.5BN was a very satisfying aspect of the deal indeed: “This would make the Sun acquisition more profitable in per share contribution in the first year than we had planned for ... (more)

Oracle-Sun: Jonathan Schwartz Writes His Toughest Ever Email

"To me, this proposed acquisition totally redefines the industry," wrote Jonathan Schwartz this morning to Sun's employees in a company-wide email announcing the acquisition of Sun by Oracle. Among other remarks, Schwartz adds: "Let me assure you [Oracle is] single minded in [its] focus on the one asset that doesn't appear in our financial statements: our people." Here is the email in full: From: Jonathan I. Schwartz To: Subject: Today's Sun/Oracle Announcement Date: Mon, 20 Apr 2009 04:34:16 -0700 (07:34 EDT) Today's Sun/Oracle Announcement This is one of the toughest emails I've ever had to write. It's also one of the most hopeful about Sun's future in the industry. For 27 years, Sun has stood for courage, innovation, a willingness to blaze trails, to envision and engineer the future. No matter our ups and downs, we've remained committed to those ideals... (more)

Sun’s JavaOne 2009: Business As Usual

In the wake of Oracle's acquisition of Sun Microsystems, many of us questioned whether we would actually see the company's annual JavaOne developer conference and exhibition take place. Industry commentators and analysts have been postulating over possible the emergence of a new and more commercially driven iteration of the Java programming language and platform. Initial signs of this becoming a reality have come with the announcement of a new Java Store to showcase applications in front the 800 million desktop Java technology users worldwide. So it seemed that overall, it's business at usual at Sun. Larry Ellison & Scott McNealy at JavaOne 2009 (Photographer: John Todd / Don Feria) According to the company, the Java Store will contain personal productivity, business and entertainment software presented in an simple user interface that allows users to install applica... (more)