Feature stories, technical articles, interviews, and technical tips related to the Java Platform, Standard Edition.
Java technology is secure, ubiquitous, and open. You can develop and deploy Java Rich Internet Applications that work seamlessly with ASP.net technology.
The first IDE to offer support for the Java EE 6 specification and GlassFish v3 now includes improved support for PHP, Project Kenai, Maven, and C/C++. Check out the release highlights
Working with parallel arrays in Java, unfortunately, requires lots of boilerplate code to solve even simple problems. Closures can eliminate that boilerplate. It's time to add them to Java.
Do you have a desktop application that you'd like to distribute via the Java Store? Convert a desktop application into a Java Web Start application. Download the source code
Sun's Carol McDonald blogs about her presentation on Java garbage collection, monitoring, and tuning. Read more
Microsoft's Windows 7, expected to release on October 22, 2009, is supported in Java SE 6 Update 16 and later. Download the latest update
This article describes how heavyweight and lightweight components can play well together, used in the same container, in your Swing application. Read More
Sun engineering director Octavian Tanase blogs provides sample code in his blog on how to use license management in your Java Store application. Learn more
Attend Java Champion Kirk Pepperdine's 4-day expert-led workshop scheduled for September 29 - October 2, 2009 in New York City and get help solving your most challenging performance problems.
Java SE for Embedded 6u10 EA is available for headless and headful configurations. Download the free evaluation today!
In this article, Sun engineer Eric Bruno explains this much anticipated JDK 7 feature. Learn more
This functionality is part of the public AWT package in JDK 7. Here's a sneak peek at the updated Swing tutorial.
In this screencast Bernard Traversat, Director of Java Store Engineering, shows how easy it is for developers to register for the Java Warehouse Developer Portal. (Some steps may have changed slightly since this screencast was recorded.)
Learn how to concatenate your user and library classes into a single JAR file, so that you can upload your apps to the Java Warehouse.
Learn about the new support in JDK 7 that should help make dynamically typed languages run extremely fast in the JVM.
JDK 7 provides support for Stream Control Transport Protocol (SCTP) in Java and, in this article, Sun Engineer Chris Hegarty explains what that means.
This overview introduces the new JDK 7 G1 garbage collector in the Java HotSpot VM. A beta version is in the Java SE 6 update 14.
This white paper describes Version 2.0's recommended security-specific coding guidelines, including accessibility, extensibility, input/output parameters, classes, and serialization.
The Compatibility and Performance Program gives key developers early access to the newest JDK releases. Learn More.
This new boThis new book, which focuses on the Java RTS APIs, features working code examples and visual diagrams that make real-time concepts clear.ok, which focuses on the Java RTS APIs, features working code examples and visual diagrams that make real-time concepts clear.
This article talks about Kerberos programming (using the JGSS API) on Windows, especially in a Kerberos environment of Windows Active Directory (AD).
For your convenience, Sun has bundled Java SE 6 Update 13 and the JavaFX 1.1 SDK, each with its own license
This course provides participants with practical experience, using JDK 6, in designing a vertical solution for a distributed, multi-tier application.
Do you want to learn about JavaFX Script technology? This book is a quick and easy read for those who are already familiar with GUI programming in the Java platform.
NetBeans IDE 6.0 increases developer productivity with a smarter, faster editor, Ruby/JRuby/Ruby on Rails support, enhancements for improved Swing development, a new Visual Game Designer, updated Data Binding support, integrated Profiling and more.
This article shows you two ways to create applications that are extensible, allowing you to add functionality and enhancements to an application without making changes to its original code base.
This overview of performance and scalability improvements in Java Platform, Standard Edition 6 (Java SE 6) provides benchmark results that demonstrate the impact of these improvements.
Learn how to avoid memory-retention problems when working with third-party classes that use finalizers.
Learn how to set up a logging handler and configure the server.
Part 3 of the Learning Curve Journals describes the differences between functions and operations in JavaFX Script.
Sun Microsystems, Inc., is announcing two new Java SE security response features, each designed to strengthen the Java platform's position as one of the most widely used, secure software platforms available.
Learn how to avoid memory-retention problems when working with third-party classes that use finalizers.
Learn how to use RMI to effortlessly demonstrate and test client-server functionality with JavaFX Script technology.
This first in a series follows staff writer John O'Conner as he gets started with JavaFX Script. He goes through the steps, so you don't have to -- from downloading the latest JDK to accessing the plugins for the NetBeans or Eclipse IDEs.
JavaFX Script is a highly productive scripting language that enables content developers to create rich media and content for deployment on Java environments. This article, aimed at traditional Java developers, is a brief but thorough introduction to Sun's exciting new technology.
Learn to use the Swing Application Framework to manage life-cycle events, UI component event handling, threading, localizable resources, and simple persistence in your Java technology applications.
Listen to this interview with Chet Haase, covering various topics in the Desktop Java space from the Consumer JRE to media support to applets to JavaFX Script, and his upcoming book.
Learn how the Java Persistence API allows you to use POJOs in desktop applications.
Software engineer Felipe Ortiz has been working with Java SE 6 for some time now, and he blogs on his view of its top features and biggest disappointments.
Learn about using the Unified Modeling Language (UML) to plan your applications and understand others' applications.
The Consumer JRE release will address several serious issues in deploying and running Java applications. Even better, you don't have to wait for the next major release of the JDK to get these features.
JavaFX is a new family of products designed to simplify the creation and deployment of high-impact content for a wide range of devices, from desktop to mobile device to set-top box to Blu-ray Disc.
View the slides from the Java SE technical track at the JavaOne Conference 2007. Watch for multimedia to be added over the next month.
This year's Virtual Flying Dukes JavaOne Developer Competition was a soaring success. See videos of the winning entries .
Learn more about Shannon Hickey and about this year's Extreme GUI Makeover session at the JavaOne Conference by viewing the interview on You Tube.
This document lists upgrade issues that may affect currently deployed applications, source code or app configurations, or development tools.
In this demo, Roman Stroubl shows NetBeans 6 features in the area of Java Desktop applications, including improved support for the Swing application framework. View the demo
Jean Elliott, Java Software Product Marketing Senior Director, tells Integration Developer News about the exciting activity around the Java platform over the last year.
Java Sun writer and programmer Robert Eckstein presents his Top 10 Java SE picks (from over 40 choices) for this year's conference in this video blog for Java Sun. View the video
Renowned bug fixer Brian Harry offers tips about how to fix bugs and explores the intricacies of Swing code.
Create and animate a 3D avatar that catches a t-shirt launched from a virtual stage using jMonkeyEngine (jME). Prizes will be awarded to the first 50 contestants who correctly solve the problem, with larger prizes for the most creative, humorous, and realistic solutions. Read more
Check out the top five new samples or browse the existing samples that show the NetBeans IDE technology at work.
Peter von der Ahé, tech lead for
javac, discusses the Kitchen Sink Language, the Java Compiler API, and new ways of thinking about generics, reification, and type inference for local variables.
With over 40 technical, birds-of-a-feather (BOF), and hands-on lab sessions devoted to desktop technologies at this year's JavaOne conference, choosing which ones to attend can be difficult. John O'Conner lists his top 10 picks.
Developers new to Java technology will find plenty to do at the 2007 JavaOne conference. Come learn about robotics, desktop, deployment, Ajax, and much more.
Learn from Sun IDE engineer Joshua Marinacci about the Swing
PropertyChangeListener method, and from Scott Violet on the
ActionListener method. Go to the Core Java Technologies Tech Tips
Are you ready for the 2007 JavaOne conference, coming to San Francisco May 8 to 11? Kick off with Java University on May 7. Explore in-depth technical sessions and After Dark events.
MySpace.com has streamlined its support for uploading videos by creating a new Java applet that does the job. The applet was created in-house by the Content Delivery Network group, and has launched worldwide to rave reviews.
In this screencast, learn how easy it is to develop Java desktop applications with the improved GUI Builder in NetBeans IDE 6.0.
Java SE 6 provides developers with even more control over how they access and use locale-sensitive resources in their applications.
Sun technology evangelist Brian Goetz explains why writing dumb code is a smart idea and talks about Java SE performance.
The Sun Developer Network (SDN) won the 2007 Jolt Award for Best Website/Developer Network. Jolt calls SDN the #1 "indispensable site for developers."
And the Jolt Award goes to ... the NetBeans IDE for Development Environment! It was also among the Jolt Productivity winners in Collaboration Tools. In Mobile Development Tools, the NetBeans Mobility Pack and Sun Java Wireless Tookit combo was a Productivity winner.
GUI programmers: Learn how to implement a common variation of the model-view-controller (MVC) design pattern using Java SE and the Swing toolkit.
F3, a declarative Java scripting language, stands for Form Follows Function. Sun Microsystems engineer Christopher Oliver says, "I just wanted an easy way of creating GUI's," and plans to open-source it soon.
DevX.com tests and reviews DTrace and Java SE 6, noting how the dynamic duo provides "an unprecedented view across all layers of software that are involved in business applications."
Simplify development of your Web 2.0 applications with this all-in-one download.
Fortify Software Inc. and FindBug set up a public website where developers could submit open-source code to check for security holes and bugs. Fortify has released the results, and it found Java code to be far freer of defects.
This early access release adds the Sun Web Developer Pack and provides a new app server version, Sun Java System Application Server 9.1 Beta (based on GlassFish V2 Beta). Read the overview. And download it now.
The SDN Mobile Java site presents a six-part series on the Personal Information Management API (JSR 75). Java ME expert and JCP member Enrique Ortiz provides the definitive text on the PIM API.
Read more about desktop features in JDK 6: table sorting and filtering, the new modality model, the Desktop API, splash screens, the system tray, LCD text, single-threaded rendering, and native look and feel.
Get started with the Java XML Digital Signature API, and learn the basic steps in generating and validating an XML signature.
Tell us your experience deploying and managing the Java Runtime Environment in your enterprise! Take 5 minutes to answer the Corporate JRE Survey.
Sun Microsystems senior staff engineer Mandy Chung offers a handy table with an overview of Java SE's new and enhanced features in these areas.
Will Java Plug-In applications running on IE7 in Vista be able to share data with Java Web Start? Get answers to this and other Java Plug-In Technology questions.
Your source for leading-edge technologies, proven standards-based software, and comprehensive service, support, and training offerings to help build out your Web 2.0 solutions.
Sun Microsystems engineer Michael McMahon blogs on the lightweight HTTP server API and SPI in Sun's implementation of JDK 6.
Vincent Ryan, an engineer on the Java Security team at Sun, is the resident expert for this session on the System Administrator Portal. Send or view questions, and read the responses.
This new OpenSolaris-based distribution is an integrated environment for developing Solaris, Java, and AMP-based applications. Simplified installation, tuned for multiboot configuration.
Using the Image Search demo application, learn how the
SwingWorker class can help you create and manage worker threads that improve your user interface performance.
Ask the Experts: Got a question about Java Plug-In technology? Here's you chance to get answers from key members of the Java SE Deployment Team.
Sun Distinguished Engineer Vasanthan Dasan discusses how Java SE 6 and Sun Developer Services provide enhanced management and monitoring capacities for mission-critical applications that make developers' jobs easier.
Alistair Dickie is an Australian Army Officer who wanted to draw on maps and ended up creating a networked interface for collaborative planning (real-time drawing updates across a network). Here's his first-hand account.
Community Marketing Managers for Sun's Java Platform implementations answer a variety of questions about Sun's open-source efforts.
Learn about what Java technologies you can use to create web applications, when you might decide to use individual technologies, and where to go to get started, using JDK 5.0 with the Java EE platform.
FareCompare.com is becoming known for providing updated airfare ticket prices faster than anyone else. The founders made a bet on Java technology that enables them to fly faster with each update of the platform and save consumers money.
Joshua Marinacci, NetBeans Engineer, describes how to use the persistence API in Java Web Start and how to add stripes to JList components. Join the Sun Developer Network to get these and other tips in your email inbox each month.
Read about Java SE 6's features on this page's links to engineers' blogs and one release note.
VM agents are a good way to assess what is happening inside the Java Virtual Machine (JVM). Learn what VM agents are, what they can do, and how they work.
Java technology-based applications using time or time-zone functionality may need adjusting due to US Daylight Savings Time changes and Western Australia's Daylight Savings Time adoption. In addition, read the Sun Alert.
Earning a Sun Java technology certification provides a clear demonstration of your technical skills and professional dedication. Learn more about certification.
Build more powerful applications, fuel innovation, and protect your investment using Java SE 6 and NetBeans 5.5 with a complete portfolio of supporting developer products and services from Sun.
Read about the first book to detail features planned for the final release of the Java SE 6 platform: language and utility updates, the
java.io.Console method, changes in AWT and JFC/Swing, new XML libraries, and more.
The Free Design layout mode and GroupLayout manager in its GUI Builder help you create platform-independent designs for user interfaces. New features simplify internationalization and reuse of GUI components in Java SE 6 or earlier versions.
Sun is open sourcing its implementation of the Java platform as free software. Get involved! Visit the three new open-source Java communities that Sun is seeding and download the code: OpenJDK, Mobile & Embedded and the GlassFish community.
Learn how to create a Java technology-based client for the eBay production server. You'll use the Java API for XML Web Services (JAX-WS) tools in the Java SE 6 platform, as well as Web Services Definition Language (WSDL).
Jean Elliott, Sun's director of product marketing for the Java Platform, Standard Edition (Java SE), discusses how to make optimal use of the platform and her views on open source.
Which Java technologies and which packages do you need to create a desktop application? This introduction teaches you some of the basics and points you to resources for more information.
NetBeans.org has released NetBeans IDE 5.5 FCS, Mobility Pack FCS, Profiler Pack FCS, Enterprise Pack FCS, C/C++ Pack (Beta 3), and Visual Web Pack (Technology Preview).
Scott Violet discusses Java technology on the desktop, new developments in Swing, and the NetBeans IDE GUI Builder.
Using a new API in the StarOffice 8 SDK in a Java environment, create new menus and toolbars, and make them persistent.
The Java SE platform contains a large set of security APIs and tools. This article discusses important enhancements on native security integration using JDK 6.
Shannon Hickey, technical lead for the Swing toolkit team at Sun Microsystems, explores his passion for drag and drop, his hopes for a compatibility API, and his creative process as a developer.
Daylight Savings Time changes in 2007 will affect Java applications in the United States. Updated Java Runtime Environments contain updated rules to report correct time.
In the latest issue of the Core Java Technologies Tech Tips, Chris Campbell, a Java 2D engineer at Sun Microsystems, shares his tips and tricks for creating soft clip, light, and shadow effects using 2D APIs.
The Java SE 6 platform now provides support for the Java API for XML Web Services (JAX-WS) 2.0 to help you build web applications and incorporate newer XML-based web services functionality.
Read about the upcoming additions to the Java Technology Fundamentals newsletter. Then settle in to learn about Java Web Start software, concurrency, and garbage collection tuning.
This technical tip describes common problems and suggest solutions for determining both length and equality of String objects.
When an application runs slowly, is unresponsive, or hangs, the problem may be memory leaks, deadlocks, or difficulties with synchronization. Learn about the Java SE 6 platform's tools for diagnosing such problems.
This test page contains an applet that automatically tests for and displays information about your operating system and, if installed, the JVM software and JRE implementation release software versions.
Alan Bateman explains how to configure the JMX agent to use LDAP instead of file-based authentication, using the
LoginModule in Java SE 6.
Learn how a little code tweaking can seamlessly launch a Java application from the browser under a specified version of the JRE.
The Java SE platform contains headless mode capabilities -- a system configuration in which the display device, keyboard, or mouse is lacking. This program details how you can perform different operations in this mode, even with graphic data.
Download the Java SE 6 beta 2, and see if you like what it gives you.
Sun Microsystems' Danny Coward and Mark Reinhold offer a quick take on the top 10 features in Java SE 6 Beta 2, as well as a list of approved features.
This article's demo application uses the decorator design pattern to help you produce sorted lists. The pattern provides additional functionality to the
ListModel object you already use and requires only minimal changes to your existing application code.
If you've attended past JavaOne conferences, you know a highlight is the Java Platform "Roadmaps" session. It's where Sun's top technical folks outline the key directions for the next releases of the Java platform.
Ben Galbraith -- co-founder of Ajaxian.com and presently a consultant specializing in enterprise architecture and Swing/Ajax development -- demonstrates eight ways to be more productive in developing Swing applications.
Did you know that 87.5% of all PCs run Java technology, and over 65% of all Java technology-enabled PCs run the Java SE platform? More interesting factoids were revealed at the session on current and future directions of the Java Desktop APIs, given by Thorsten Laux, Chet Haase, Scott Violet, and Oleg Sukholdosky.
New ways to work with JFC/Swing technology, deployment strategies for Java platform applications, and updates from Effective Java author Joshua Bloch -- here are 10 must-see sessions for Java SE platform developers at the 2006 JavaOne Conference.
Sun Microsystems Distinguished Engineer Greg Bollella explains why real-time doesn't mean real-fast, and slips a tip for the 2006 JavaOne Conference Slot Car Programming Challenge.
A recent Microsoft Internet Explorer update changes the behavior of active content in the browser. This guide describes how Java developers can use the Microsoft recommendations to minimize the impact.
As a result of time zone changes in Australia for this year, applications running on older Java Runtime Environments may report incorrect time between March 26 and April 2, 2006. This brief article describes the problem and how to fix it.
Learn how to deploy Java DB, based on the Apache Derby database, within desktop Java applications. The article uses the Address Book demo to show you how to work with Java DB as an embedded database.
OS-specific tasks, JDIC's
Action classes can now let you add or remove file-type associations in your Java technology applications.
The much anticipated beta of Java SE 6 has been launched. Check out this release, the result of unprecedented levels of collaboration between Sun engineers, registered researchers, and the Java community.
Design patterns are general solutions to common problems in software design. Read this Tech Tips issue and learn about two of the more frequently-used patterns: Singleton and Observer.
Learn about Java SE 6's new Desktop API, which allows Java applications to interact with the default applications associated with specific file types on the host platform.
Learn about some often-requested features that will be a hit with Java SE 6 programmers: setting file and directory permissions, obtaining disk space, adding components to tabbed pane tabs, as well as the inclusion of the
Learn how Java SE 6 allows greater functionality for dialog boxes, supporting modeless, document, application, and toolkit modality to ease the user's experience.
Variable arity methods, sometimes referred to as varargs methods, accept an arbitrary set of arguments. JDK 5.0 adds a varargs facility that's a lot more flexible than before. Learn more in this Tech Tip.
The father of Java technology and the chief engineer of the Java Platform, Standard Edition discuss J2SE 5.0, the twists and turns of JFC/Swing, autoboxing, enhanced
for loops, and more.
Learn about multiple tips and tricks to help you make your JFC/Swing components look better and work more efficiently, from creating transparent and animated windows to using audio and more.
JComboBox are great components for displaying object lists, but they don't always display user-friendly text by default. This article shows you how to customize how objects are displayed in
The upcoming J2SE Java SE 6 release includes a new system tray API, which allows you to embed a small icon in the OS system tray, attach a popup menu, and listen for various mouse events. This article explains how to take advantage of the two new classes that represent the system tray functionality in Java SE 6.
Chapter 6, "Collections of Objects," highlights the significant improvements in J2SE 5.0 to collections, which hold and organize references to other objects.
Paul J. Perrone, chief architect of Tommy, an autonomous, unmanned Java technology-powered dune buggy that is set to compete in the semifinals of the DARPA Grand Challenge at the California Speedway, discusses the uses of Java software in robotics applications.
A standard part of any GUI application, the splash screen lets the user know that the application is starting. Learn how Java SE 6 allows the application to show the splash screen even before the virtual machine starts.
Software engineer Li Moore discusses Google's switch to J2SE 5.0: "This release is purely an improvement, in terms of language features, libraries, stability, performance, and tools."
To be effective, an application should respect the user's language and geographic region. Learn how to use locale-sensitive objects to customize your Java technology application with the use of language, country, and variant codes.
J2SE 5.0 provides support for validating an XML document against a schema, as well as evaluation of XPath for selecting document nodes. This article shows how to make the most of javax.xml.validation and javax.xml.xpath libraries, and it provides simple tutorials on both XML schema and XPath.
One of the popular features of the J2SE 5.0 libraries is the addition of concurrency utilities. Locking is one of the areas improved by the concurrency utilities. Learn more in this tech tip.
Thinking of migrating to J2SE 5.0 but just need a little more information? We have aggregated J2SE 5.0 articles, tips, features, white papers and more to help make the process that much easier.
The J2SE 1.4 platform was great, but J2SE 5.0 is even better. This article describes why developers should migrate to J2SE 5.0.
The Java Data Objects API provides a standard approach for achieving object persistence in Java technology by using a combination of XML metadata and bytecode enhancement. This tutorial covers the essentials.
The desktop client group describes highlights of the upcoming release of Java Platform, Standard Edition (Java SE, formerly known as J2SE). Learn more about the current status of features and bug fixes for Swing, 2D, AWT, internationalization, and deployment.
The easy-to-use Java 2D API can help you create some stunningly high-quality graphics. This article, part 1 of 3, helps you become familiar with shapes, lines, and the Java 2D rendering pipeline.
The JDK Core Engineering Team provides details of some important core features coming in Java SE 6.
Use the assertions facility in the Java 2 Platform, Standard Edition (J2SE) to debug code early in the development process.
Any time you introduce dynamic effects, animations, or time-based events to a Java application, you find yourself re-implementing the same functionality you have written for every application that required timing or animation. This article considers the current situation and what is needed in a timing framework.
As part of the development process for Java Platform, Standard Edition (Java SE 6), we are accepting external source code contributions for both bug fixes and features. Here's what's going on and how you can contribute!
Learn about the latest performance improvements in J2SE 5.0.
This article shows how you can use the new Annotations feature of J2SE 5.0 to add constraints like minimum and maximum length, regular expressions, and more to your JavaBean properties.
Use this guide to quickly and easily migrate from Eclipse to Sun Java Studio Enterprise.
On February 15, 2005, Scott Violet and Chet Haase hosted an online chat on desktop performance. Topics included SwingWorker, Longhorn, grey rectangles and more.
Ever wondered what kind of image to use in your application? Or what method to use in creating it? This article attempts to address this challenging topic.
This guide helps developers migrate Java applets, standalone applications, Java Web Start applications and development tools from version 1.3 and 1.4 of the Java platform to version 5.0.
Five important reasons to move to the Java 2 Platform, Standard Edition (J2SE platform) 5.0, supported by data and references to prove that the 5.0 release will reduce development and runtime.
Have you ever needed to pass in many instances of the same object type to a method, but you don't know at compile time how many instances there will be? Find out how the new varargs language feature makes it easy to handle situations like this.
Find out and hear a message from James Gosling!