
JDJEDGE CONFERENCE & EXPO FINAL PROGRAM INSIDE P.91 TM Java COM FINAL CONFERENCE PROGRAM INSIDE PAGE 91 Q&A: An Interview with Jason Hunter Alan Williamson 9 From the Editor Open sourcing Java – what it means to developers Alan Williamson pg. 7 Interfaces: Combining RMI with SOAP Samudra Gupta J2EE Editorial Develop a framework that SOAP-enables RMI services 16 Ajit Sagar pg. 12 J2SE Editorial Feature: Spread Your Wings with Cocoon David Rosenstrauch Keith Brown pg. 42 An innovative and powerful tool for content site developers 28 J2ME Editorial Java Systems: Broken Windows in the Java World Joe Xu Jason R. Briggs pg. 66 The Java bug’s evil twin and how it impacts your system 44 Career Opportunities Bill Baloglu & Billy Palmieri JNI Techniques: Using the Java Native Andrew J. Chalk pg. 112 Interface Productively Simplify repetitive tasks 58 Cubist Threads Blair Wyman pg. 114 Wireless Music:Whole House Audio from Bill Ray RETAILERS PLEASE DISPLAY the Palm of Your Hand It’s only the beginning 68 UNTIL AUGUST 31, 2002 Feature: Adding Commands to Fred Daoud Displayable Components ...the object-oriented way 74 MIDP: Programming Games in J2ME Sami Lababidi The battle for market share in the MIDP games arena 86 SYS -CON Michael Barlotta MEDIA Java Techniques: Java Design Using interfaces and abstract classes to create flexible code 94 Sonic Software Zero G www.sonicsoftware.com www.zerog.com 2 JUNE 2002 JUNE 2002 3 Java COM Java COM Apple Apple Computer, Inc. Computer, Inc. www.apple.com/macosx www.apple.com/macosx 4 JUNE 2002 JUNE 2002 5 Java COM Java COM FROMF THE EDITORDI J2ME INTERNATIONAL ADVISORY BOARD • CALVIN AUSTIN (Lead Software Engineer, J2SE Linux Project, Sun Microsystems), • JAMES DUNCAN DAVIDSON (JavaServlet API/XMP API, Sun Microsystems), • JASON HUNTER (Senior Technologist, CollabNet), • JON S. STEVENS (Apache Software ALANWILLIAMSON EDITOR-IN-CHIEF Foundation), • RICK ROSS (President, JavaLobby), • BILLROTH (Group Product Manager, Sun Microsystems), • BILL WILLETT (CEO, Programmer’s Paradise) • BLAIR WYMAN (Chief Software Architect IBM Rochester) EDITORIAL J2SE EDITOR-IN-CHIEF: To Our CFML Friends: ALAN WILLIAMSON EDITORIAL DIRECTOR: JEREMY GEELAN EXECUTIVE EDITOR: NANCY VALENTINE J2EE EDITOR: AJIT SAGAR J2ME EDITOR: JASON R. BRIGGS We Welcome You J2SE EDITOR: KEITH BROWN PRODUCT REVIEW EDITOR: JIM MILBERY FOUNDING EDITOR: SEAN RHODY “ ly me to the moon...let me walk Keep your eyes open. Look outside your Java among the stars” or at least America. I circle and ask those who haven’t the in-depth PRODUCTION Fam at present sitting in a Continental knowledge you have what their perception of Java J2EE VICE PRESIDENT,PRODUCTION AND DESIGN: JIM MORGAN plane flying over the beautiful Scottish is. I think you’ll be surprised by the responses. ASSOCIATE ART DIRECTOR: LOUIS F. CUFFARI islands, sun beaming in through the window, The CFML language has enjoyed years of EDITOR: M’LOU PINKHAM contemplating the week ahead of me. My success as a server-side application imple- MANAGING EDITOR: CHERYL VAN SISE ASSOCIATE EDITORS: JAMIE MATUSOW destination is Toronto where I will be attend- mented in C/C++. Therefore, the move to the GAIL SCHULTZ ing the CFML conference, CFNORTH. Java platform is a controversial one, raising JEAN CASSIDY It has been very interesting to watch how an eyebrow or two within CFML’s loyal user Home ASSISTANT EDITOR: JENNIFER STILLEY the CFML community is reacting to the Java base. The posts by respected CFML people ONLINE EDITOR: LIN GOETZ releases. Their responses serve to illustrate regarding the move to Java are startling; I TECHNICAL EDITOR: BAHADIR KARUV, PH.D. the point I have been banging on about for urge you to check out the official CFML mail- WRITERS IN THIS ISSUE the last few months: outside of the Java com- ing list archives for examples of posts that BILL BALOGLU, MICHAEL BARLOTTA, JASON R. BRIGGS, KEITH BROWN, munity, we still have a long way to go in the will send your blood racing. BEA ANDREW CHALK, FRED DAOUD, SAMUDRA GUPTA, JEFF HEATON, education and perception of our beautiful We have a barrage of posts from people SAMI LABABIDI, BILLY PALMIERI, BILL RAY, DAVID ROSENSTRAUCH, language. Allow me to give you another berating Java, claiming it could never be as AJIT SAGAR, ALAN WILLIAMSON, BLAIR WYMAN, JOE XU example of ignorance. As luck would have it, fast as a native implementation, and it’s no the May issue of the in-flight magazine has wonder CFMX is running slow. I’m assuming www.bea.com/download SUBSCRIPTIONS: an article on Web technologies. This article these people haven’t given CFMX a chance. FOR SUBSCRIPTIONS AND REQUESTS FOR BULK ORDERS, is, of course, aimed at the masses, but let me In our tests, CFMX outperforms the CF5 ver- PLEASE SEND YOUR LETTERS TO SUBSCRIPTION DEPARTMENT give you its paragraph on what JSP is: sion running on the same hardware. So SUBSCRIPTION HOTLINE:[email protected] where these people are getting their facts COVER PRICE: $5.99/ISSUE Like ASP, a specification that allows a from is beyond me. DOMESTIC: $49.99/YR. (12 ISSUES) browser to ask the database for information. What has happened is that the old CANADA/MEXICO: $79.99/YR. OVERSEAS: $99.99/YR. For example, people play games against each Chinese whispers network has begun. The (U.S. BANKS OR MONEY ORDERS). BACK ISSUES: $10/EA., INTERNATIONAL $15/EA. other on the Internet on JSP pages. focus of conversation has moved from CFML EDITORIAL OFFICES: Advantages: works well behind the scenes. to whether or not Java is up to the task. We all SYS-CON MEDIA 135 CHESTNUT RIDGE RD., MONTVALE, NJ 07645 Disadvantages: whereas ASP pages are pro- know that Java is more than up for the job of TELEPHONE: 201 802-3000 FAX:201 782-9600 grammed with PERL, JSP pages are pro- serving dynamic content; this was its calling JAVA DEVELOPER’S JOURNAL (ISSN#1087-6944) is published monthly grammed with a very specific set of tools – one and this is where Java is making serious (12 times a year) for $49.99 by SYS-CON Publications, Inc., 135 Chestnut Ridge Road, Montvale, NJ 07645. Periodicals postage rates are paid at for which it may be harder to find expert headway, at the server side. Montvale, NJ 07645 and additional mailing offices. POSTMASTER: Send address maintenance. Although it appears as if we, the Java changes to: JAVA DEVELOPER’S JOURNAL, SYS-CON Publications, Inc., —Continental, May 2002 community, are the only people who really 135 Chestnut Ridge Road, Montvale, NJ 07645. know this for sure. Our message doesn’t ©COPYRIGHT: Read it? Do me a favor, read it again. seem to be getting out there. Copyright © 2002 by SYS-CON Publications, Inc. All rights reserved. What do you think? Not really selling JSP is There’s a huge movement within the No part of this publication may be reproduced or transmitted in any form or by any it? In fact, you would probably get a bad feel- CFML community to come to Java and sit at means, electronic or mechanical, including photocopy or any information storage and ing about JSP. As we know, the author is our table to share in the delights we offer. retrieval system, without written permission. For promotional reprints, contact reprint coor- wrong; if anything JSP is the easiest way to This is wonderful and we welcome and dinator Carrie Gebert, [email protected]. SYS-CON Publications, Inc., reserves the right to revise, republish and authorize its readers to use the articles submitted for publication. get your hands on Java – no compiling, just encourage our new developers. save and surf! How difficult is that I ask you? More power to you. Java and Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States and other countries. SYS-CON Publications, Inc., is independent of Sun Microsystems, Inc. All brand and product names used on these pages are trade names, [email protected] service marks or trademarks of their respective companies. AUTHOR BIO Alan Williamson is editor-in-chief of Java Developer’s Journal. During the day he holds the post of chief technical officer at n-ary (consulting) Ltd, one of the first companies in the UK to specialize in Java at the server side. Rumor has it he welcomes all suggestions and comments. 6 JUNE 2002 JUNE 2002 7 Java COM Java COM An Interview with Jason Hunter J2ME Open sourcing Java – a Q&A session J2SE Two: “Is the reference implementation for Java (the JDK) available as open source?” This agreement does not address JDJ caught up with Jason Hunter, Apache that. Apache doesn’t believe in telling Sun or anyone else what Software Foundation vice president, after JavaOne to discuss the license their code must be under. What Apache believes is that if major announcement regarding the controversial issue of open you don’t like a code license, you must have the ability to code it sourcing Java. Jason holds a seat on the JCP Executive yourself. The purpose of this agreement is to allow that. Committee overseeing the Java platform. Three: “Will Java be developed following the open source JDJ asked readers to pose their questions to Jason, so you method?” Right now there’s a formal process by which Java J2EE can hear it straight from the horse’s mouth! specifications are created within the Java Community Process (JCP). The JCP will probably remain as a formal specification- creating body, although Apache hopes it will become more open. <alan>: What does this announcement mean? The project I lead, JDOM, is JSR number 102, and with the JSR <jason>: It heralds an agreement between Apache and Sun we’re proving you can have open development on a Java speci- regarding open source implementations of Java standards.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages59 Page
-
File Size-