Tech all over the world
Wednesday, June 27, 2007
  Java Technology Fundamentals (June '07)

You are receiving this email at kiri.tech@gmail.com because you have subscribed to the Java Technology Fundamentals newsletter. To update your communications preferences, please see the links at the bottom of this message. We respect your privacy and post our privacy policy prominently on our Web site: http://www.sun.com/privacy.

Please do not reply to the mailed version of the newsletter; this alias is not monitored. Feedback options are listed in the footer.


June 2007

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.

The Java Technology Fundamentals Newsletter is now available in a blog format. Content will appear throughout the month and include extras.

Start reading the Java Technology Fundamentals Blog today!

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

In This Issue

» Basic Java Technology Programming
» Making Sense of the Java Platform Classes and Tools Annotations
» Desktop Java Platform Development
» Server-Side Java Platform Development
» Java Technology Training
» For More Information

  Basic Java Technology Programming

Generating UML From the NetBeans IDE

by John Zukowski

Imagine having been given the source code for a project that needs to be maintained, and the maintainer is long gone. You have the task of adding a new feature. Take a look at what you can discover by using a tool such as the Unified Modeling Language (UML) Modeling module of the NetBeans IDE 5.5 to explore the source code and generate UML diagrams of the system.

The abook.zip file includes a project designed by Sun Microsystems. It is a basic address-book management system. Using the NetBeans IDE and the UML Modeling module, you'll discover the objects in this application. First, you need to install NetBeans if you don't have it already.

Launch the NetBeans IDE. By default, the UML Modeling Module is not part of the installation, so you must add that after installing and launching the IDE. Go to the Update Center's Tools menu, then click on Update Center to launch the wizard.

Update Center Wizard
Figure 1. Update Center Wizard

Make sure you have selected the NetBeans Update Center option. When you select Next, the wizard connects to each Update Center for potential modules to add, such as the UML Modeling one. Although you can also install the UML Bank App Sample module, it is the UML Modeling module under Features that you need to install for this article.

UML Modeling Selection
Figure 2. UML Modeling Selection

Although the UML Modeling module is only 10 KB, pressing Add with UML Modeling selected will add not only the selected module but all of its dependencies, totaling over 18 MB in this case.

Include In Install
Figure 3. Include In Install

Press the Next button at the bottom to add all the necessary modules and get the UML Modeling module, after you accept a few licensing agreements.

Download
Figure 4. Download

After the 17 modules, including UML Modeling, are installed, press the Next button to see the list of certificates you must view before installation, and then press Finish. This will prompt you to restart the IDE to install the modules.

Restart
Figure 5. Restart the IDE

You'll see the IDE exit and restart while it installs everything. Once it has restarted, you can now start analyzing the provided source.

To open this project, select the File menu, then the Open Project menu item. You'll need to locate the top-level directory for where you unzipped the ZIP file. For instance, if you unzipped everything to C:\work, select the ABook entry in the C:\work directory, then press the Open Project Folder button. Loading causes a complaint about the derby JAR file not being found. Just click past the problem for now. You're not going to run anything just yet.

Read the rest of this article
  Making Sense of the Java Platform Classes and Tools

"Hello World!" for the NetBeans IDE

These detailed instructions are for users of the NetBeans IDE. The NetBeans IDE runs on the Java platform, which means that you can use it with any operating system for which a JDK 6 is available.

This tutorial covers the following:

  • A Checklist
  • Creating Your First Application
    • Create an IDE Project
    • Add JDK 6 to the Platform List, if necessary
    • Add Code to the Generated Source File
    • Compile the Source File
    • Run the Program
  • Continuing the Tutorial with the NetBeans IDE

Read the tutorial

  Desktop Java Platform Development

Trail: Data Transfer

The Swing toolkit supports the ability to transfer data between components within the same Java application, between different Java applications, and between Java and native applications. You can transfer data by way of a drag-and-drop gesture or by using the clipboard to cut, copy, and paste.

Drag and Drop

You can easily enable drag-and-drop support for many of Swing's components, sometimes with a single line of code. For example, it's trivial to enable drag-and-drop and copy-and-paste support for JTable, Swing's table component. All you need to provide is the data representing the selection and the way to get your data from the clipboard -- that's it.

Cut, Copy, and Paste

Most of the text-based components, such as the Editor pane and text field, support cut, copy and paste out of the box. Of course, menu items need to be created and "wired up" to the appropriate actions. Other components, such as list and tree, can support cut, copy, and paste functions with some minimal work.

PasswordStore supports data transfer in a variety of ways:

  • The text in both the list and the table view supports cut, copy, and paste.
  • The text fields in the Details Panel, the Filter text field, and the Notes text pane support cut, copy, paste, and drag and drop.
  • The Company icon region in the Details panel accepts a dropped image -- jpg, png, gif, or tif.
Read the tutorial
  Server-Side Java Development

Why Move to Java EE?

Java Platform, Enterprise Edition 5 (Java EE 5) is the latest version of the premier platform for developing robust, scalable enterprise applications. Here are some highlights:

  • Easier development. The focus in Java EE 5 is ease of development. With Java EE 5, there is less code to write -- much of the boilerplate code has been removed; defaults are used whenever possible; and annotations are used extensively to reduce the need for deployment descriptors.

  • EJB -- simpler, better. EJB 3.0 makes programming with Enterprise JavaBeans technology simpler through the use of Plain Old Java Objects (POJOs). It also introduces a new persistence API.

  • Enhanced web services. Java EE 5 includes simplified web services support and the latest web services APIs, making it an ideal implementation platform for service-oriented architectures (SOA).

  • JavaServer Faces, JavaServer Pages Standard Tag Library (JSTL), Ajax, and more. Constructing web applications is made easier with JavaServer Faces technology and JSTL. Java EE 5 supports rich thin-client technologies such as Ajax, technologies that are crucial for building applications for Web 2.0.

Read the tutorial

  Java Technology Training

Instructor-Led, Self-Paced Web, CD, and Virtual Courses

  • Object-Oriented Analysis and Design Using UML (OO-226):
    This course progresses through a primer on OO technology and software development methodologies, requirements gathering and analysis (including interviewing stakeholders), system architecture and design, implementation, testing, and deployment.

  • Introduction to Developing Rich-Client Applications (WJO-1107):
    This course defines the concept of a Java technology rich-client application (also known as a Swing application) and describes how to use the Swing API. Students learn how to use the features of the NetBeans IDE for rapid application development. The course demonstrates how to extend the NetBeans platform to build a simple Swing application.

  • Developing Applications for the J2EE Platform (CDJ-310A):
    This course provides students with the knowledge to build and deploy enterprise applications that comply with Java 2 Platform, Enterprise Edition (J2EE) standards. Students are taught how to assemble an application from reusable components and how to deploy an application in the J2EE platform runtime environment.

See the course catalog

  For More Information


To comment about the content of this newsletter, send an email to fundamentals_newsletter@sun.com.

© 2007 Sun Microsystems, Inc. All rights reserved. For information on Sun's trademarks see: http://www.sun.com/suntrademarks

To unsubscribe from this list, reply to this message with "Unsubscribe" in the subject line or use this link:
http://communications1.sun.com/r/c/r?2.1.3J1.2Vd.12SMlS.C3pnmu..H.EXVg.1jJy.aT1raXJpLnRlY2hAZ21haWwuY29tWZQHJe00

To manage your Sun subscriptions, visit the Subscription Center.

Sun Microsystems, Inc., 10 Network Circle, MPK10-209 Menlo Park, CA 94025 U.S.A.





 
Tuesday, June 26, 2007
  W3C Public Newsletter, 2007-06-25
Dear W3C Public Newsletter Subscriber,

The 2007-06-25 version of the W3C Public Newsletter is online:

http://www.w3.org/News/Public/pnews-20070625

A simplified plain text version is available below.

Janet Daly, W3C Communications Team
-----------------------------------

Voice Recommendations Approved for Speech-Driven Web Applications

The World Wide Web Consortium today released "Voice Extensible
Markup Language (VoiceXML) 2.1" as a W3C Recommendation, confirming
the standard for voice-driven Web applications. Used daily in
millions of telephone calls, VoiceXML enables rapid development of
audio dialogs. Version 2.1 extends the language with eight commonly
implemented features including dynamic access to grammars and
scripts. Completely interoperable, VoiceXML 2.0 applications will
work under VoiceXML 2.1 without modification. VoiceXML and the
Recommendation for "Semantic Interpretation for Speech Recognition
(SISR) Version 1.0" approved in April are critical pieces of W3C
Speech Interface Framework. Read the testimonials and press release
and visit the Voice Browser home page.

http://www.w3.org/TR/2007/REC-voicexml21-20070619/

http://www.w3.org/TR/2007/REC-semantic-interpretation-20070405/

http://www.w3.org/Voice/#intro

http://www.w3.org/2007/06/voice-testimonial

http://www.w3.org/2007/06/voice-pressrelease

http://www.w3.org/Voice/

Canonical XML 1.1 Is a Candidate Recommendation

W3C is pleased to announce the advancement of "Canonical XML 1.1" to
Candidate Recommendation. The canonical XML method is used to
determine whether an application has changed a document and whether
two XML documents are identical, allowing for low-level changes in
syntax permitted by XML 1.0. When the canonical forms are identical
the originals are logically equivalent within the application's
context. Version 1.1 addresses inheritance of attributes when
canonicalizing document subsets, to not inherit xml:id, and to treat
xml:base URI path processing properly. Implementation feedback and
comments are welcome through 30 September. Visit the XML Core home
page.

http://www.w3.org/TR/2007/CR-xml-c14n11-20070621/

http://www.w3.org/XML/Core/

Workshop on XML Signature and Encryption: Call for Participation

Position papers are due 14 August for the Workshop on Next Steps for
XML Signature and XML Encryption to be held 25-26 September in
Mountain View, California, USA, hosted by VeriSign. Attendees will
discuss next steps for the XML Signature and XML Encryption
specifications and share their experiences implementing and
developing these standards. Topics may include interoperability and
robustness, performance, legal requirements for digital signature
formats, and the impact of the evolving XML environment. The
Workshop is expected to give its recommendations to the XML Security
Specifications Maintenance Working Group. The Workshop is free free
and open to all, however, submission of position papers is required
of all participants. Visit the Security home page and read about W3C
Workshops.

http://www.w3.org/2007/xmlsec/ws/cfp

http://www.w3.org/2007/xmlsec/

http://www.w3.org/2007/xmlsec/

http://www.w3.org/Security/

http://www.w3.org/2003/08/Workshops/

Serializing SPARQL Query Results in JSON

The RDF Data Access Working Group has updated the "Serializing
SPARQL Query Results in JSON" Working Group Note for the simplified
"SPARQL Query Results XML Format," removing two attributes.
JavaScript Object Notation (JSON), a lightweight data-interchange
format, is used as an alternative to XML vocabulary to serialize the
results of SPARQL query forms. SPARQL offers developers and end
users a way to write and consume search results across a wide range
of information and provides a means of integration over disparate
sources. Visit the Semantic Web home page.

http://www.w3.org/TR/2007/NOTE-rdf-sparql-json-res-20070618/

http://www.w3.org/TR/2007/WD-rdf-sparql-XMLres-20070614/

http://json.org/

http://www.w3.org/2001/sw/

XMLHttpRequest Object for Ajax: Working Draft

Documenting changes since Last Call, the Web API Working Group has
released an updated Working Draft of "The XMLHttpRequest Object."
The core component of Ajax, the XMLHttpRequest object is an
interface that allows scripts to perform HTTP client functions, such
as submitting form data or loading data from a remote Web site. Read
about the Rich Web Clients Activity.

http://www.w3.org/TR/2007/WD-XMLHttpRequest-20070618/

http://en.wikipedia.org/wiki/Ajax_%28programming%29

http://www.w3.org/2006/rwc/

Enabling Read Access: Working Draft

The Web Application Formats (WAF) Working Group released an updated
Working Draft of "Enabling Read Access for Web Resources." Sandbox
restrictions on cross-site access to browsers can be relaxed
selectively with this mechanism. An HTTP header or XML processing
instruction or both can indicate read access is allowed. Read about
the Rich Web Clients Activity.

http://www.w3.org/TR/2007/WD-access-control-20070618/

http://www.w3.org/2006/rwc/

W3C Names Daniel Dardailler Director of International Relations and
Offices

W3C has named Daniel Dardailler to the new position of Director of
International Relations and Offices. Daniel oversees W3C Offices and
liaisons for international bodies such as UN organizations, the
Internet Governance Forum, ISOC, ISO, and ICANN. Daniel will
continue his role as Associate Chair for Europe. W3C named Klaus
Birkenbihl to the new position of Offices Coordinator. Visit the
Offices home page and read about International Relations and the W3C
management team.

http://www.w3.org/People/danield/

http://www.w3.org/People/danield/

http://www.w3.org/Consortium/Offices/

http://www.w3.org/2001/11/StdLiaison

http://www.w3.org/People/Klaus/

http://www.w3.org/Consortium/Offices/

http://www.w3.org/2007/IntlRel.html

http://www.w3.org/People/domain?domain=Management

Past home page news...

http://www.w3.org/News/

Upcoming Meetings

* W3C Workshop on Next Steps for XML Signature and XML Encryption,
25-26 September
* W3C/OpenAjax Alliance Workshop on Mobile Ajax, 28 September
* W3C Workshop on RDF Access to Relational Databases, 25-26
October
* More About Workshops...

http://www.w3.org/2003/08/Workshops/

* W3C Membership Meeting Calendar...

http://www.w3.org/Consortium/meetings

Upcoming Talks

* 27 June, Madrid, Spain: La Web como canal principal para la
Administración Electrónica. José Manuel Alonso presents at Foro
TIC Dintel.
* 11 July, New York, USA: Making Sense of Language Identification:
How changes in ISO 639 and IETF BCP 47 affect language tagging
and selection. Addison Phillips presents at 10th Open Metadata
Forum.
* 31 August, Singapore, Singapore: Introduction to the Semantic
Web. Ivan Herman gives a tutorial at International Conference on
Dublin Core and Metadata Applications.
* 24 September, Curitiba, Brazil: Streaming-Archival InkML
Conversion. Stephen M. Watt, Birendra Keshari present at
International Conference on Document Analysis and Recognition
(ICDAR).
* 24 September, Curitiba, Brazil: New Aspects of InkML for
Pen-Based Computing. Stephen M. Watt presents at International
Conference on Document Analysis and Recognition (ICDAR).
* 26 September, Sydney, Australia: CSS. Bert Bos gives a lecture
at Web Directions South / W3C SIG Day.
* 27 September, Sydney, Australia: Web Directions breakfast. Bert
Bos presents at Web Directions South.
* 27 September, Sydney, Australia: A new life for old standards.
Bert Bos presents at Web Directions South.
* 3 October, Gijón, Spain: Browser panel. Bert Bos participates in
a panel at Fundamentos Web 2007.
* View upcoming talks by country

http://www.w3.org/2004/08/W3CTalks?date=Recent+and+upcoming&coun

tryListing=yes&submit=Submit
* More talks...

http://www.w3.org/Talks/

W3C Membership

W3C Members receive the W3C Member Newsletter, a weekly digest of
Member-only announcements and other benefits.

If you or your organization cannot join W3C, we invite you to
support W3C through a contribution.

http://www.w3.org/Consortium/join

http://www.w3.org/Consortium/sup

About W3C

The World Wide Web Consortium (W3C) is an international consortium
where Member organizations, a full-time staff, and the public work
together to develop Web standards. Read about W3C.

Contact Us

Bookmark this edition or the latest Public Newsletter and see past
issues and press releases. Subscribe to receive the Public
Newsletter by email. Comments? Write the W3C Communications Team
(w3t-comm@w3.org).

http://www.w3.org/News/Public/pnews-20070625

http://www.w3.org/News/Public/

http://lists.w3.org/Archives/Public/w3c-announce/latest

http://www.w3.org/Press/

mailto:w3c-announce-request@w3.org?subject=Subscribe
mailto:w3t-comm@w3.org

This edition on the Web:

http://www.w3.org/News/Public/pnews-20070625

Latest Public Newsletter: http://www.w3.org/News/Public/

Copyright © 2007 W3C ® (MIT, ERCIM, Keio). Usage policies apply.

 
Tuesday, June 19, 2007
  SDN Backstage Pass
You are receiving this email at kiri.tech@gmail.com because you are a Sun Developer Network member. To update your communications preferences, please see the links at the bottom of this message. We respect your privacy and post our privacy policy prominently on our Web site: http://www.sun.com/privacy
SDN Member Bulletin
Backstage Pass
Dear Sun Developer Network Member,
Here are this quarter's new benefits, available only to Sun Developer Network members. Just another example of how your ALL ACCESS Backstage Pass from Sun is working for you.
Earn Cool Stuff with Code Samples and Tech Tips
Share your knowledge! SDN Share is an online community where developers can submit content, interact with peers through comments and voting, and earn rewards for their contributions. Submit technical content and accumulate reward points for Amazon.com gift certificates. Guitar Player
We Want Your Feedback
Take a quick five question survey on what you would like to see on the SDN Developer Portal, view the pilot, and get a complimentary three-day pass to Safari Books Online. The Safari Library contains the broadest range of technical content online available from Prentice Hall, O'Reilly Media, Peachpit Press, Addison Wesley and more.
JavaOne Multimedia Sessions and Hand-On Labs
Missed the JavaOne conference? Multimedia technical sessions, hands-on labs, and PDFs are now available. Each multimedia session includes the speaker's audio, slides and transcripts.
More SDN Benefits
We've put together some special offers and discounts just for SDN members.
» No-Cost Online Training Classes
» 40% Off Technical Books
» 10% Off Java Wear and SunWare
» 10% Off on Sun Education Classes
» Complimentary Wallpaper Art by James Gosling
» Save 60% on Dr. Dobb's DVD Release 3
Thank you,
Sun Microsystems
If you have any questions or feedback, please send a message to sdn-feedback@sun.com.
Information about the Sun Developer Network
© 2007 Sun Microsystems, Inc. All rights reserved. For information on Sun's trademarks see: http://www.sun.com/suntrademarks

To unsubscribe from this list, reply to this message with "Unsubscribe" in the subject line or use this link:
http://communications1.sun.com/r/c/r?2.1.3J1.2T%5f.12SMlS.C3cg6O..H.EWIk.1ipC.aT1raXJpLnRlY2hAZ21haWwuY29tDfXQHFL0

To manage your Sun subscriptions, visit the Subscription Center.

Sun Microsystems, 4150 Network Circle, Santa Clara, CA 95054 U.S.A.

If you have any questions or feedback, please send a message to sdn-feedback@sun.com.




 
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