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

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)

Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards

The editors of SYS-CON Media's Java Developer's Journal are in a unique position when it comes to Java development. All are active coders in their "day jobs," and they have the good fortune in getting a heads-up on many of the latest and greatest software releases. They were asked to nominate three products from the last 12 months that they felt had not only made a major impact on their own development, but also on the Java community as a whole. The following is a list of each editor's selections and the reason why they chose that product. Joe Winchester Desktop Java Editor SwingLabs SwingLabs is an open source laboratory for exploring new ways to make Swing applications easier to write, with improved performance and greater visual appeal. It is an umbrella project for various open source initiatives sponsored by Sun Microsystems and is part of the community... (more)

Installing Ruby on Rails and PostgreSQL on OS X, Third Edition

Over the past few years, I’ve helped you walk through the process of getting Ruby on Rails up and running on Mac OS X. The last version has been getting a lot of comments related to issues with the new Apple Leopard, so I’m going this post will expand on previous installation guides with what’s working for me as of January 2008. The following guide is how our development team at Planet Argon prefers to setup our development workstations During this installation, we’ll have what we feel is the optimal development stack for building Ruby on Rails applications with our favorite database server, PostgreSQL. Ready? Let’s get started… Phase One During this initial phase, we’re going to install the underlying dependencies that we’ll be building off of. XCode 3.0 The first thing that you’ll need to install to get far with this process is XCode tools, which is distributed b... (more)

Robert Greene, Leon Guzenda and Rick Cattell on Sun Microsystems acquisition of MySQL.

On Wednesday Jan 16, 2008 Jonathan Schwartz, Chief Executive Officer and President, Sun Microsystems, Inc., announced in his blog that SUN is acquiring MySQL AB. On 26 February 2008 Sun Microsystems, Inc. announced it has completed the acquisition of MySQL AB, for approximately $1 billion in total consideration. Kevin Harvey, Chairman of the MySQL board of directors told InfoQ that there were two main drivers behind Sun's purchase of MySQL " it solidifies Sun's role in the Web 2.0 datacenter, and it also confirms Sun's position as a leading provider of open source software." I have asked three of our experts, Robert Green, Leon Guzenda, and Rick Cattell a few questions on this. Robert is responsible for defining Versant's overall object database strategy, Leon is responsible for the Objectivity object database strategy. Rick worked for several years at Sun Microsystems,... (more)

JDBC Connection Pooling for Rails on Glassfish

In Light Engineering (LED), we’re known to be multilingual – depending on the project, we’ve been known to speak Perl, Python, Java, C++, Javascript and PHP, to name a few. Our weapon of choice is still Ruby on Rails, the popular MVC framework. Out belief is that Rails makes certain types of tasks easy, and others laughably trivial. ... (more)

The 64KB Java Language Problem - Lesson Learnd from Using Rhino to Process JavaScript

This entry documents a few tips related to using Rhino JavaScript Engine to process JavaScript code. If you are using Rhino, you probably won’t run into the issues covered in this post during development or even testing. However, you are fairly likely to run into these issues after your system goes live. It would easily result in days or even weeks of soul searching (speaking from my personal experience:-)). Part of the problem seems to be the lack of documentation from the web. The other part of the problem is that the problem is rather a Java language problem(very convoluted). - Java limits the maximum method size to be 64KB. 1. JVM Byte Code Size Limit Problem On rare occasions, you will see exceptions like the followings from Rhino when processing JavaScript files: Exception in thread “main” java.lang.IllegalArgumentException: out of range index at org.mozilla... (more)

BlueStripe emerges from stealth-mode; launches factfinder & ASM for Virtual Infrastructure!

BlueStripe Software Unveils Industry’s First Solution Dedicated to Bringing World-Class Application Service Management to Virtual Data Center Environments BlueStripe, founded by systems management professionals from Wily Technology and IBM/Tivoli, emerges from stealth mode to solve the “next big problem” in application management RTP, N.C. – September 8, 2008 – BlueStripe Software, the industry’s first provider of Application Service Management (ASM) solutions for virtualized data center environments, today announced the official launch of operations and its first commercial product, FactFinder. FactFinder is the industry’s only solution to enable enterprises to stage, deploy, and manage business-critical applications in virtual data center environments with the same degree of confidence and control as traditional environments. FactFinder gives IT departments t... (more)

The state of scripting

Scripting used to be a quick fix or a spare-time hobby; today it's become a must-have for even the Java-based developer's toolkit. Get perspective on what's next for dynamic languages, from leading lights in JavaScript, Rhino, Perl, IronRuby, Python, and Tcl. ... (more)

JSON in Java

JSON is being widely used in Web Technology for data transfer in JavaScript. But with AJAX coming into picture JSON has become the most popular tool for sending data from remote page to the calling page. Well there are different packages available for implementing JSON in Java. Here i am using one of the package to show how we can use the JSON package in Java. This article will give a small glimpse of how we can send large data from JSP/Servlet to client Page using JSON and AJAX. ... (more)

A Sneak Peek at Sun's Cloud Computing Offerings

Sun's role in enabling Cloud Computing is not widely recognized today. However, did you know Sun is playing a big role in this space? Check out this round-up of Sun's Cloud Computing porfolio below and stay tuned for more to come from Sun in this space. MySQL is almost the defacto database of choice powering the web-scale next-generation of database driven web applications in the cloud. Cloud computing solutions for MySQL makes it easy to develop, deploy, and manage your new and existing MySQL-backed applications in a virtual computing environment. The MySQL Enterprise for Amazon EC2 subscription is a comprehensive offering of database software and production support to deliver applications on Amazon EC2 with optimal performance, reliability, security, and uptime. For the first time, organizations can now cost-effectively deliver database driven web-scale computing i... (more)

Stax Networks Launches: Google App Engine For Java

Seattle-based Stax Networks launches this morning into private beta. Stax is offering a platform as a service product for Java applications - basically, the easiest way to think about it is Google App Engine for Java applications (or Heroku for Ruby on Rails applications)., Java is still extremely popular for business applications (Indeed has 64,000 Java job openings currently as well). Stax is built on top of Amazon EC2 and allows developers to create, text and deploy Java applications without having to build out their own physical infrastructure. For now Stax isn’t charging users at all. Eventually they’ll move to a model that charges for resources uses, similar to EC2 and other infrastructure platforms. If you want to try it out, create an account using the “techcrunch” invite code. The company was founded by Spike Washburn, Cold Fusion creator J.J. Allaire a... (more)