Tech all over the world
Friday, August 25, 2006
  Java Technology Fundamentals Newsletter (August '06)

August 25, 2006

Welcome to the Java Technology Fundamentals Newsletter

This monthly newsletter provides a way for you to learn the basics of the Java programming language, discover new resources, and keep up-to-date on the latest additions to Sun Developer Network's New to Java Center.

 Note: For the code in this issue of Fundamentals to compile, you need to use the JDK 5.0 software.

In This Issue

» What Do You Want to Read in the Newsletter?
» Making Sense of the Java Classes & Tools
» Java Bits
» Tuning Garbage Collection With the 5.0 Java Virtual Machine
» What's New on Java Studio Creator
» Tutorials & Tips From NetBeans.org
» The NetBeans IDE 5.0 BlueJ Edition
» Free Developer Tools
» For More Information

 

  What Do You Want to Read in the Newsletter?

We asked what you wanted to read in Java Technology Fundamentals, and you responded. Thank you to everyone who replied. The survey will remain online in the New to Java Center so that you can continue to add topics as the need arises.

Based on reader feedback, you will see two new sections in this newsletter in coming months:

  • Desktop Java Development -- This section will contain an article each month covering topics specific to desktop programming on the Java platform, such as application planning and UML, Swing, JDBC, IO, and application deployment.

  • Server-Side Java Development -- This section will cover Java server-side technologies in two-tier systems, explaining technologies such as JavaServer Pages (JSP), servlets, JDBC, and sample applications such as online polls, forms, session servlets, and so forth to demonstrate how the technologies fit together.

The Java Technology Fundamentals Newsletter will continue with the Java Programming Basics and with Making Sense of the Java Classes & Tools to cover the fundamentals of syntax and programming, the nuts and bolts of Java technologies. Additionally, the newsletter will continue to point to articles and tutorials on the NetBeans integrated development environment (IDE) and Sun Java Studio Creator IDE sites for those of you learning to program in an IDE.

If you didn't have a chance to add topics you'd like to see covered in this newsletter, click here

To see what we have covered in past issues, click here:

  Making Sense of the Java Classes & Tools

Lesson: Java Web Start Software

Java Web Start software provides the power to launch full-featured applications with a single click. Users can download and launch applications, such as a complete spreadsheet program or an Internet chat client, without going through complicated installation procedures.

With Java Web Start software, the user can launch a Java application by clicking a link in a web page. The link points to a Java Network Launching Protocol (JNLP) file, which instructs Java Web Start to download, cache, and run the application.

Java Web Start software provides Java developers and users with many deployment advantages:

  • With Java Web Start, you can place a single Java application on a web server for deployment to a wide variety of platforms, including Windows 2003/Vista/2000/XP, Linux, and Solaris operating systems.

  • Java Web Start supports multiple, simultaneous versions of the Java Platform, Standard Edition. Specific applications can request specific Java platform versions without conflicting with the different needs of other applications. Java Web Start automatically downloads and installs the correct version of the Java platform as necessary based on the application's needs and the user's environment.

  • Users can launch a Java Web Start application independently of a web browser. The user can be off-line or unable to access the browser. Desktop shortcuts can also launch the application, providing the user with the same experience as a native application.

  • Java Web Start takes advantage of the inherent security of the Java platform. By default, applications have restricted access to local disk and network resources. Users can safely run applications from sources that are not trusted.

  • Applications launched with Java Web Start are cached locally, for improved performance.

  • Java Web Start provides limited support for applets through its built-in applet viewer. However, this is not intended to be a full-scale applet environment, such as the one provided by Java Plug-in. Java Web Start's applet viewer has certain limitations; for example, you cannot specify class files as resources, and it does not accept policy files.

In Java Platform version 1.4.2 and later, Java Web Start software is installed as part of the Java Runtime Environment (JRE). Users do not have to install it separately or perform additional tasks to use Java Web Start applications.

Read the rest of the lesson
 

  Java Bits

Lesson: Concurrency

Computer users take it for granted that their systems can do more than one thing at a time. They assume that they can continue to work in a word processor while other applications download files, manage the print queue, and stream audio. Even a single application is often expected to do more than one thing at a time. For example, that streaming audio application must simultaneously read the digital audio off the network, decompress it, manage playback, and update its display. Even the word processor should always be ready to respond to keyboard and mouse events, no matter how busy it is reformatting text or updating the display. Software that can do such things is known as concurrent software.

 The Java platform is designed from the ground up to support concurrent programming, with basic concurrency support in the Java programming language and the Java class libraries. Since version 5.0, the Java platform has also included high-level concurrency APIs.

This lesson introduces the platform's basic currency support and summarizes some of the high-level APIs in the java.util.concurrent packages.

Read the lesson
 

  Tuning Garbage Collection With the 5.0 Java Virtual Machine

The Java 2 Platform, Standard Edition (J2SE platform) is used for a wide variety of applications from small applets on desktops to web services on large servers. In the J2SE 1.4.2 platform, the user could choose from four garbage collectors, but without an explicit choice by the user, the serial garbage collector was always chosen. In version 5.0, the choice of the collector is based on the class of the machine on which the application is started.

This "smarter choice" of the garbage collector is generally better but is not always the best. For users who want to make their own choice of garbage collectors, this document will provide information on which to base that choice. This will first include the general features of the garbage collection and tuning options to take best advantage of those features. The examples are given in the context of the serial, stop-the-world collector. Then specific features of the other collectors will be discussed, along with factors that you should consider when choosing one of the other collectors.

Read this article
 

  What's New on Java Studio Creator

Using Dynamic Page Navigation

In this tutorial, you use the Sun Java Studio Creator integrated development environment (IDE) to create an application that uses dynamic page navigation. The application determines at runtime which page displays based on the value returned by the Drop Down List component. The Drop Down List enables the user to choose a destination page, and the application navigates to one of two available destination pages. You also learn an alternative and more advanced method of dynamic page navigation, which allows the page navigation to occur as soon as the selection is made from the Drop Down List.

Read the tutorial
 

  Tutorials and Tips on NetBeans.org

Advanced Free-Form Project Configuration

Free-form projects in the NetBeans IDE provide a very powerful tool for Java developers who build and run their applications using an Ant script.

If you are comfortable working with Ant, you can edit your Ant script and the IDE project configuration file to achieve an even tighter integration between the NetBeans IDE and your build process.

This article assumes that you have already completed the first steps in setting up a free-form project. See this guide for setting up a free-form standard project and a free-form web project.

Read the tutorial and do the exercises: http://www.netbeans.org/kb/articles/gui-functionality.html

Read the tutorial and do the exercises

  The NetBeans IDE 5.0 BlueJ Edition

The University of Kent and Sun Microsystems are collaborating to create a smooth migration path for students learning the Java programming language from beginners' stages through to the use of professional development tools.

Sun Microsystems has for some time also supported the development of BlueJ, a programming environment developed at the University of Kent, UK, and Deakin University, Australia. BlueJ is an environment specifically aimed at beginning programmers. It offers educational tools such as visualization and interaction facilities that greatly aid the learning of object-oriented concepts. First released in 1999, BlueJ has become one of the most popular environments for programming education in introductory programming courses at universities and colleges.

Read more:
 

  For More Information

Free Developer Tools
 

Sun is offering the award-winning Sun Java Studio Enterprise and Sun Java Studio Creator IDEs at no cost to all developers worldwide who join the Sun Developer Network (SDN).

Get your free tools.



To send us feedback on this newsletter, please email fundamentals_newsletter@sun.com.

Comments and Contact Information: To send feedback about the SDN Program News:

Subscribe/Unsubscribe: You can subscribe to other Sun Developer Network (SDN) publications here:
https://softwarereg.sun.com/registration/developer/en_US/subscriptions

IMPORTANT: Please read our Licensing, Terms of Use, and Privacy policies:
http://developer.java.sun.com/berkeley_license.html
http://www.sun.com/share/text/termsofuse.html





 
Thursday, August 03, 2006
  Sun Developer Network Program Newsletter
August 2, 2006
  Product and Technology Releases
» Update Your Preferences!
For information on Product and Technology releases, please update your preferences.
» J2SE 1.4.2 Documentation Archive
Get the full documentation archive for J2SE 1.4.2.
» NEW! BPEL Orchestration Tools
Learn how to create, deploy, and test a BPEL application with the NetBeans Enterprise Pack 5.5 Early Access Kit.
» Java Platform, Standard Edition 6 Beta 2
Download the newest beta version of Java SE 6, code-named Mustang.
  SDN Technical Articles
» WSIT Makes Interoperability a Reality
Web Services Interoperability Technology (WSIT) is an open-source implementation of next generation Web services technologies that deliver interoperability between Java EE and .Net to help you build, deploy, and maintain Composite Applications for your Service Oriented Architecture.
» Using Headless Mode in the Java SE Platform
The Java SE platform contains headless mode capabilities -- a system configuration in which the display device, keyboard, or mouse is lacking. This article details how you can perform different operations in this mode, even with graphic data.
» Integrating and Using JasperReports in NetBeans
This article walks you through the process of integrating JasperReports, a popular, open-source reporting tool with a customizable datasource API, into the NetBeans IDE.
» Building on Linux: Sun Tools at SDN Channel
Find out how Sun is bringing forth nearly two decades of compiler development in Sun Studio software, in addition to providing acclaimed Java technology tools for Linux at SDN Channel.
  Viewpoints
» Innovation Happens Elsewhere: Part Two of a Conversation With Sun Microsystems Laboratories' Ron Goldman
Sun Microsystems Laboratories' Ron Goldman discusses the importance of open-source software and how companies can participate successfully in open-source projects.
  Books
» Java Tutorial Update: J2SE 5.0
This practical guide for programmers contains hundreds of complete working examples and has recently been updated to include J2SE 5.0.
  Community
» SDN Blog
Get connected to the folks behind the Sun Developer Network. Check out the SDN'sider for updates, announcements, and cool contests.
» Join the Java Developers Online Community
Browse the Java technology discussion forums to share questions, ideas, and insights on Java technologies and programming techniques.
  Training
» Java SE Learning Path Course Catalog
This path provides essential training necessary for you to become proficient in the basics of Java technology programming using the Java SE platform.
» Free 10-Week AJAX Programming Online Course Begins August 4
Learn about the basic concepts of Asynchronous JavaScript and XML (AJAX) as well as how to use various frameworks and toolkits: Dojo, jMaki, Google Web, and JavaServer Faces technology components.
  In This Issue
» Product and Technology Releases
» SDN Technology Articles
» Viewpoints
» Books
» Community
» Training
» Events and Offers
» Announcements


» Oracle Openworld (Oct. 22-26, San Francisco, Calif.)
Join developers, partners, customers, systems integrators, and ecosystem ISVs for a week of keynotes, break-out sessions, hands-on workshops, networking, and fun.
» International Conference on Principles and Practices of Programming in Java (Aug. 31, Mannheim, Germany)
Meet researchers, teachers, practitioners, and programmers who study or work with the Java programming language to discuss the principles and practice of its use in a friendly and convivial academic environment.
» Interop 06 New York (Sept. 18-22, New York, N.Y.)
Interop showcases the interoperability of IP converged networks. Discover just how powerful the latest business solutions can be -- IP telephony, network management, wireless security, and more.





» Save on New Books on the Solaris 10 OS
Save 30% on Solaris Internals, Second Edition and Solaris Performance and Tools. These books are indispensable for users of the Solaris 10 OS and OpenSolaris.
» Java Studio Enterprise and Web Services Orchestration Blueprints
The Java BluePrints Solutions Catalog now includes the Web Services Orchestration Using BPEL category, which presents solutions for developing composite business processes that logically aggregate, orchestrate, and consume web services.
» Contribute to the Java SE 6 Platform
Sun releases weekly snapshots of the complete source, binaries, and Javadocs for the Java SE 6 platform, currently in beta. Review or contribute code as it is being developed.



Comments and Contact Information: To send feedback about the SDN Program News, or for technical assistance with newsletter delivery, broken links, or subscribe/unsubscribe, fill out the web form.

To unsubscribe from this list, reply to this message with "Unsubscribe" in the subject line or use this link:
http://sun.r.delivery.net/r?1.1.3J1.2Vb.12SMlS.BzlJzy..H.Cxa2.1VxU.aT1raXJpLnRlY2hAZ21haWwuY29tsLnrK~

IMPORTANT: Please read our Licensing, Terms of Use, and Privacy policies:
http://developer.java.sun.com/berkeley_license.html
http://www.sun.com/share/text/termsofuse.html
http://www.sun.com/privacy




 
News, Articles, events from all over the world

My Photo
Name:
Location: India

Born on shraavana shudha chauthi of dundubhi naama samvaswara, Im kiran alias kini alias kiri bought up by loving parents. Being from agricultural family I have learnt plowing, carting but never learnt climbing trees. Now away from home I have lost touch with the agricultural skills.

ARCHIVES
January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / April 2007 / May 2007 / June 2007 / July 2007 / August 2007 / September 2007 / October 2007 / November 2007 / December 2007 / January 2008 / February 2008 / March 2008 / April 2008 / May 2008 / June 2008 / July 2008 / August 2008 / September 2008 / October 2008 / November 2008 / December 2008 / January 2009 / February 2009 / March 2009 / April 2009 /


Powered by Blogger