| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles Books | Interview Transcripts Tutorials |
- Create dynamic applications with javax.tools by David J. Biesack - [Clicks: 27]
Many of today's applications require dynamic capabilities, such as enabling users to supply an abstract form of computation that extends an application's static capabilities. The javax.tools package, added to Java Platform, Standard Edition 6 (Java SE) as a standard API for compiling Java source, is a superb way to achieve this goal. This article provides an overview of the major classes in the package, demonstrates how to use them to create a facade for compiling Java source from Java Strings instead of files, and then uses this facade to build an interactive plotting application.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/j-jcomp/index.html - Dec, 2007 - Java SE 6 Performance White Paper - [Clicks: 38]
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.
http://java.sun.com/performance/reference/whitepapers/6_performance.html - Nov, 2007 - Creating Extensible Applications With the Java Platform by John O'Conner - [Clicks: 13]
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.
[Includes source code]
http://java.sun.com/developer/technicalArticles/javase/extensible/ - Sep, 2007 - Monitor and diagnose performance in Java SE 6 by Cathy Kegley, Greg Roberts - [Clicks: 19]
Java Platform, Standard Edition 6 (Java SE) focuses on performance, with expanded tools for managing and monitoring applications as well as diagnosing common problems. This article outlines the basis of monitoring and management in the Java SE platform and provides detailed information about the relevant enhancements in Java SE 6.
http://www.ibm.com/developerworks/java/library/j-java6perfmon/index.html - Sep, 2007 - Multicore processing for client-side Java applications by Kirill Grouchnikov - [Clicks: 20]
Is it acceptable that Java collection-sorting routines typically perform no faster on newer multicore machines than on single-core ones? No it's not! Kirill Grouchnikov shows you how to leverage the JDK 6 concurrency utilities to improve the processing speed of core array-sorting algorithms by up to 35 percent.
[Includes source code]
http://www.javaworld.com/javaworld/jw-09-2007/jw-09-multicoreprocessing.html - Sep, 2007 - Sun Advances Security for the Java SE Platform by Bill Curci - [Clicks: 7]
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. The new features include Sun's synchronized release of Java SE security fixes, and advance customer notification of those releases. They are designed to complement Sun's existing Sun Alert notifications, as well as the built-in Java Auto Update tool for Microsoft Windows users, and build a foundation for additional Sun Connection services and a customized Java SE platform for production environments that are expected in 2008.
http://java.sun.com/developer/technicalArticles/javase/security_adv/ - Sep, 2007 - Boost Web Service Performance in JAX-WS with Fast Infoset by Young Yang - [Clicks: 22]
Web service performance depends largely on the size of the XML data being transmitted and the speed of XML processing. Fast Infoset helps greatly with those aspects.
[Includes sample code]
http://www.devx.com/xml/Article/35385 - Sep, 2007 - Better JPA, Better JAXB, and Better Annotations Processing with Java SE 6 by Dustin Marx - [Clicks: 22]
In this article, you will learn how to take advantage of Java SE 6 support for JAXB and annotations processing to make deployment of JPA-based applications easier, especially for application deployers who may lack familiarity with the underlying Java code. Along the way, a few additional new Java SE 6 features will be demonstrated as well.
[Includes sample code]
http://www.oracle.com/technology/pub/articles/marx-jse6.html - Sep, 2007 - Better JPA, Better JAXB, and Better Annotations Processing with Java SE 6 by Dustin Marx - [Clicks: 18]
Apply Java SE 6 incorporation of annotation processing and JAXB 2.0 to improve your JPA-based application deployment experience.
[Includes sample code]
http://www.oracle.com/technology/pub/articles/marx-jse6.html - Sep, 2007 - JAX-WS Web Services Without Java EE Containers by Young Yang - [Clicks: 22]
Web services seem like they should be an enterprise topic, yet JAX-WS 2.0 is part of Java SE, not EE. One of the upshots of this is that you can create web services without needing a full-blown Java EE container. Young Yang shows how this works in practice.
[Includes sample code]
http://today.java.net/pub/a/today/2007/07/03/jax-ws-web-services-without-ee-containers.html - Jul, 2007 - Adding Drop Support with Jtree by John Zukowski - [Clicks: 12]
The text components offer built-in drop support, as does the JColorChooser component, but adding drop support to any of the other Swing components -- like JList, JTable, or JTree -- requires a little bit of extra work. The task might sound complicated, but thanks to the help of the new to 1.6 inner DropLocation class of TransferHandler, the task is relatively easy.
http://java.sun.com/mailers/techtips/corejava/2007/tt0607.html#2 - Jun, 2007 - Cookie Handling in Java SE 6 by John Zukowski - [Clicks: 12]
What used to be a difficult though doable task in J2SE 5.0, becomes simple construction of existing classes in Java SE 6.
http://java.sun.com/mailers/techtips/corejava/2007/tt0607.html#1 - Jun, 2007 - A Dynamic MVC Development Approach Using Java 6 Scripting, Groovy, and WebLEAF by Daniel Lopez - [Clicks: 24]
You've probably heard the benefits of scripting languages in Java SE 6, but have you thought about how to put them to use? In this article, Daniel Lopez shows how to use Groovy for the business logic of a fully MVC web app, swapping around view frameworks to prove its flexibility.
http://today.java.net/pub/a/today/2007/06/19/mvc-webappps-with-groovy-scripting-and-webleaf.html - Jun, 2007 - JSR 181: a Java Simplification Request by Michael Easter - [Clicks: 8]
This article has two goals: * A bewildering mix of JSRs comprise the Java WS space, both in terms of volume and the subtle relationships among them. We almost need a JSR Modeling Language (JML) to communicate! Defining JML is too ambitious, but the key JSRs are examined in a historical context, so as to set the stage for JSR 181; * Examples explore the JSR 181 development model.
http://www.ociweb.com/jnb/jnbJun2007.html - Jun, 2007 - Copying Arrays in Java 6 by Jeff Langr - [Clicks: 39]
The new arraycopy method supports more than just copying the entire contents of a source array into a target. It allows for a source and target start index, as well as a length that represents the number of elements to copy.
http://www.developer.com/java/data/article.php/3680241 - May, 2007 - Consumer JRE: Leaner, Meaner Java Technology by Chet Haase - [Clicks: 11]
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.
http://java.sun.com/developer/technicalArticles/javase/consumerjre/ - May, 2007 - Java theory and practice: The closures debate by Brian Goetz - [Clicks: 17]
Everyone has a favorite feature idea or two for adding to the Java language. With the open-sourcing of the Java platform and the rise in popularity of other languages for server-side applications (JavaScript and Ruby, to name two), the debate over the future of the Java language has never been more vigorous. Should the Java language embrace major new additions, such as closures? Or is that too much messing with a good thing? In this month's Java theory and practice, Brian Goetz reviews the concepts involved and provides details on the two competing closures proposals.
http://www-128.ibm.com/developerworks/java/library/j-jtp04247.html - Apr, 2007 - Unfreeze Your Applications with the New SwingWorker by Dan Andrews - [Clicks: 29]
Find out how the new SwingWorker, released last December with Java SE 6, alleviates the messy problem of what to do with time-consuming code.
http://javaboutique.internet.com/tutorials/swingworker/ - Apr, 2007 - What's New in JDBC 4.0? by Sharad Acharya - [Clicks: 45]
Java SE 6 offers a new version of the platform's database support: JDBC 4.0. Sharad Acharya shows off the new features, including simplified driver loading, better exception reporting and handling, support for more data types, and more.
http://today.java.net/pub/a/today/2007/04/10/whats-new-in-jdbc-40.html - Apr, 2007 - The Perils of Image.getScaledInstance() by Chris Campbell - [Clicks: 15]
Lots of developers use the simple Image.getScaledInstance() that's been around since Java 1.1, apparently not realizing that Java 2D provides better-looking, more performant, and more flexible options. Chris Campbell checks in with where image scaling is in Java SE 6 and what we might see in JDK 7.
http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html - Apr, 2007 - International Enhancements in Java SE 6 by John O'Conner, Naoto Sato - [Clicks: 19]
Java SE 6 provides developers even more control over how they access and use locale-sensitive resources in their applications. You can now add locale support, normalize text to adhere to the Unicode Standard, use non-ASCII domain names, and more.
http://java.sun.com/developer/technicalArticles/javase/i18n_enhance/ - Mar, 2007 - Use the Best of StAX and XMLBeans to Stream XML Object Binding by Michael Pilone - [Clicks: 273]
Learn how to combine the StAX and XMLBeans APIs to leverage the benefits of each: StAX to parse and chunk incoming XML into a manageable size and XMLBeans to load the chunks into objects for processing.
http://www.devx.com/xml/Article/34037 - Mar, 2007 - JDK 6 and JDBC 4.0 Advanced Concepts by W. Clay Richardson - [Clicks: 40]
This article addresses some of the advanced data management concepts starting with a new annotations capability added to the JDBC 4.0 specification.
http://www.codeguru.com/java/article.php/c13447/ - Mar, 2007 - Steal Our Code - [Clicks: 28]
Learn new and exciting features of Java SE 6 through the use of simple source examples, helpful popup balloons, and Java Web Start samples. And once you've mastered the basics, don't be afraid to steal our code!
http://java.sun.com/reference/stealourcode/ - Mar, 2007 - DTrace and Java: Exposing Performance Problems That Once Were Hidden by Jarod Jenson - [Clicks: 12]
The combination of DTrace and Java SE 6 enables an unprecedented view across all layers of Java software. Learn how to leverage the combo to gain tremendous insight into your Java applications, the JVM, or any other aspect of the software.
http://www.devx.com/Java/Article/33943 - Mar, 2007 - Java 6 Navigable Interfaces: What's in Them for Me? by Narendra Venkataraman - [Clicks: 21]
A Java developer determines where in a real development scenario he would use the two new navigable interfaces in Java SE 6, NavigableSet and NavigableMap, and comes away a bit disappointed.
http://www.devx.com/Java/Article/33872 - Feb, 2007 - The State of Swing. A Conversation with Chet Haase by Frank Sommers - [Clicks: 16]
Among the most significant new JDK 6 features are improvements to Swing and related client-side Java APIs. In this interview with Artima, Sun Java Client Group architect Chet Haase discusses how performance gains, new APIs, and closer integration with the native desktop help developers write more appealing and better performing Swing applications.
http://www.artima.com/lejava/articles/state_of_swing.html - Feb, 2007 - Programming With the Java XML Digital Signature API by Sean Mullan - [Clicks: 17]
One of the significant new features of the Java Platform, Standard Edition 6 (Java SE 6) is the Java XML Digital Signature API. This API allows you to generate and validate XML signatures. XML signatures are a standard for digital signatures in the XML data format, and they allow you to authenticate and protect the integrity of data in XML and web service transactions. This article will give you an overview of XML signatures and show you how to use the API in your applications.
http://java.sun.com/developer/technicalArticles/xml/dig_signature_api/ - Feb, 2007 - New and Updated Desktop Features in Java SE 6, Part 2 by Robert Eckstein - [Clicks: 29]
Part 1 of this article discussed several new or updated features available for the Java desktop developer in the final release of Java Platform, Standard Edition 6 (Java SE 6), including splash screens, the system tray, gray rect fix, LCD text, single-threaded rendering, and native look and feel. This article continues the outline, with details about the following elements.
http://java.sun.com/developer/technicalArticles/javase/6_desktop_features_2/ - Feb, 2007 - New and Updated Desktop Features in Java SE 6, Part 1 by Robert Eckstein - [Clicks: 24]
Read more about desktop features in JDK 6: splash screens, the system tray, LCD text, single-threaded rendering, native look and feel, and more.
http://java.sun.com/developer/technicalArticles/javase/6_desktop_features/ - Feb, 2007 - Managing Applications With Java SE 6: A Conversation With Vasanthan Dasan by Janice J. Heiss - [Clicks: 14]
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.
http://java.sun.com/developer/technicalArticles/Interviews/dasan_qa.html - Jan, 2007 - The Overlay Maker: Making the Most of Swing and Java2D by Alistair Dickie - [Clicks: 16]
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.
http://java.sun.com/developer/technicalArticles/javase/overlaymaker/ - Jan, 2007 - Improve Application Performance With SwingWorker in Java SE 6 by John O'Conner - [Clicks: 29]
This article describes how to avoid slow, sluggish, or unresponsive UIs by using the SwingWorker class to create and manage worker threads in a demo application called Image Search. This application demonstrates how to correctly use the SwingWorker application programming interface (API) by interacting with the popular Flickr web site to search and download images. You can download this demo application and its source code at the end of this article.
[Includes source code]
http://java.sun.com/developer/technicalArticles/javase/swingworker/ - Jan, 2007 - FareCompare Ready to Soar With Migration to Java SE 6 by Janice J. Heiss - [Clicks: 11]
FareCompare.com continually capitalizes on the latest developments in the Java platform to provide consumers with what the company touts as the most updated airfare information available anywhere. This article provides an overview of the company's services, followed by an under-the-hood look at its Java architecture.
http://java.sun.com/developer/technicalArticles/J2SE/farecompare/ - Jan, 2007
- Beginning Java SE 6: From Novice to Professional
by Sing Li, Kartik Asatkar, Naveen Balani, Sanjay Panchal - [Clicks: 85]
Beginning Java SE 6 Platform: From Novice to Professional steers you through the maze of the new Java Standard Edition (SE) 6 core and desktop platform and its programming API and concepts. You will learn these through action and example. Individual chapters introduce a particular API area, discuss the API, and provide a hands-on example. This book guides you from beginning to advanced techniques by starting off with a very simple Java SE 6 application, and then covering the fundamentals of generics, collections, annotations, reflections, IO, threads, and networking in Java SE 6. You’ll also have some fun learning and creating GUIs, and even use the latest in AWT and Swing as the foundation for a Java-based game application. And the chapters on JavaSound and Java 2D will be an enjoyable learning experience you’ll want to share with friends. Last of all, this book covers data access using the latest JDBC 4 API, security, and dynamic Java scripting language support (which may later open your Java experience to languages like Groovy, BeanShell, and JRuby). By the time you finish this book, you will have mastered the core techniques essential to professional Java developers.
Apress, Paperback - May, 2007 - Pro Java 6 Game Development: with Java 3D and JOGL
by Andrew Davison - [Clicks: 55]
Pro Java 6 Game Development: with Java 3D and JOGL looks at the two most popular ways of using Java SE 6 to write 3D games on PCs: Java 3D (a high-level scene graph API) and JOGL (a Java layer over OpenGL).Written by Java gaming expert Andrew Davison, this is the first book of its kind that incorporates the new Java (SE) 6 platform and its features including splash screens, scripting, and the desktop tray interface. This book is also unique in that it covers Java game development using the Java 3D API and Java for OpenGL -- both critical components and libraries for Java-based 3D game application development.
Apress, Hardcover - Apr, 2007
- The Java Compiler API. A Conversation with Peter von der Ahe by Frank Sommers - [Clicks: 27]
Most developers think of the Java compiler, javac, as an unobtrusive command-line tool to invoke when you want to turn Java source code into class files. The Java Compiler API, JSR 199, released in final form last December, opens up the Java compiler to programmatic interaction as well. Artima spoke with JSR 199 spec lead and Sun engineer Peter von der Ahe about what programmatic compiler access means for developers.
http://www.artima.com/lejava/articles/compiler_api.html - Apr, 2007
- Design and develop JAX-WS 2.0 Web services by Naveen Balani, Rajeev Hathi - [Clicks: 33]
Using Java API for XML Web Services (JAX-WS) technology to design and develop Web services yields many benefits, including simplifying the construction of Web services and Web service clients in Java, easing the development and deployment of Web services, and speeding up Web services development. This tutorial walks you through how to do all of this and more by developing a sample order-processing application that exposes its functionality as Web services. After going through this tutorial, you'll be able to apply these concepts and your newly acquired knowledge to develop Web services for your application using JAX-WS technology.
[Formats: html, pdf]
http://www.ibm.com/developerworks/edu/ws-dw-ws-jax.html - Sep, 2007