The Largest Java & Web Services Expo
Total Page:16
File Type:pdf, Size:1020Kb
THE LARGEST JAVA & WEB SERVICES EXPO IN THE WORLD! P.99 TM The World’s Leading Java Resource Java COM May 2002 Volume:7 Issue:5 FULL CONFERENCE PROGRAM INSIDE PAGE 99 Database Systems: Optimizing Database Didier Cabannes 12 From the Editor Performance in J2EE Apps The best of both worlds Alan Williamson pg. 7 Feature: The Critical Role of Walter Hurst J2EE Editorial Application Architecture A fundamental issue 22 Ajit Sagar pg. 9 J2SE Editorial Show Review: First Impressions Ajit Sagar Keith Brown pg. 36 JavaOne 2002: How did it measure up to past shows? 30 J2ME Editorial AI: Programming Neural Networks in Java Jeff Heaton Jason R. Briggs pg. 62 An efficient way to perform certain operations 38 Industry Commentary Kuldip Singh Pabla pg. 64 JDBC 3.0: Something for Everyone John Goodson The new features and why they’re important 56 JDJ Labs Enterprise JavaBeans pg.90 Java-Miner pg. 92 Jini & J2ME: Jini Surrogate As a Platform William Swaney Using HTTP as a protocol 66 RETAILERS PLEASE DISPLAY for J2ME Games UNTIL JULY 31, 2002 Feature: OSGi: The Last Mile of Peter Kriens Software Deployment Solve last-minute problems 74 Pro Mobile: Keep Mobile Data and Applications Jeff Capone in Sync with Java An integral part of your mobile strategy Java Clients 84 Intermittent Connectivity WAP/Brows Based Clien ateways I SYS -CON App Management: Manifest Destiny Norman Richards MEDIA Simplify the packaging and releasing of Java applications 94 Sonic Software www.sonicsoftware.com 2 MAY 2002 Java COM Zero G www.zerog.com MAY 2002 3 Java COM Apple Computer, Inc. www.apple.com/macosx 4 MAY 2002 Java COM Apple Computer, Inc. www.apple.com/macosx MAY 2002 5 Java COM BEA www.bea.com/download 6 MAY 2002 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 My Kingdomfor a Phone J2SE EDITOR-IN-CHIEF: ALAN WILLIAMSON EDITORIAL DIRECTOR: JEREMY GEELAN EXECUTIVE EDITOR: NANCY VALENTINE he whole wireless space has been an of you who don’t know the name, Bruce was J2EE EDITOR: AJIT SAGAR interesting one to keep an eye on for the main engineering man behind the data- J2ME EDITOR: JASON R. BRIGGS the past couple of years, in particular base at Oracle, so when he talks about data- J2SE EDITOR: T KEITH BROWN how it relates to the Java space. Sure, we’ve bases, you kinda wanna listen. PRODUCT REVIEW EDITOR: JIM MILBERY heard wonderful tales about the vast mil- PointBase was doing some cool stuff with FOUNDING EDITOR: SEAN RHODY lions of phones in Japan and how quickly syncing technology, as they had given up PRODUCTION Java is being adopted there, but for the rest of hope regarding the always-on network, and J2EE VICE PRESIDENT,PRODUCTION AND DESIGN: JIM MORGAN us here in the West, it’s not quite as exciting. their clients were looking for real-world ASSOCIATE ART DIRECTOR: LOUIS F. CUFFARI Regular readers know only too well my woes solutions they could use today. It was a great EDITOR: M’LOU PINKHAM with my Nokia and the lack of Java support. JDBC database/driver that operated at the MANAGING EDITOR: CHERYL VAN SISE The question is this: Is it a pipe dream or is it J2ME level. You would simply tag the table ASSOCIATE EDITORS: JAMIE MATUSOW really coming? columns you wanted synced with the data- GAIL SCHULTZ That was the question I posed to Nokia at base at the back end, and when the network JEAN CASSIDY Home ONLINE EDITOR: LIN GOETZ JavaOne. Whereby I was given the usual mar- was available, the two would automatically TECHNICAL EDITOR: BAHADIR KARUV, PH.D. keting pitch about the great array of develop- sync with one another, recovering should the er’s tools and shown the nice color chart of all network drop. It doesn’t seem that impres- WRITERS IN THIS ISSUE the models that have been Java-enabled. sive on the face of it, until you realize they do BILL BALOGLU, JASON BELL, JASON R. BRIGGS, KEITH BROWN, Naturally, I ooh’d and ah’d in the right places. all this in under 50KB! However, the reason I DIDIER CABANNES, JEFF CAPONE, JOHN GOODSON, JEFF HEATON, I then asked to what extent would the KVM mention PointBase is that they were atypical WALTER HURST, PETER KRIENS, KULDIP SINGH PABLA, BILLY PALMIERI, be integrated. For example, would I be able to of the shift in the wireless space I witnessed NORMAN RICHARDS, AJIT SAGAR, HENDRIK SCHREIBER, BILL SWANEY, ALAN WILLIAMSON, BLAIR WYMAN access the hundreds of telephone numbers at JavaOne. SUBSCRIPTIONS: already stored in my Nokia address book? Developers were going to great lengths to FOR SUBSCRIPTIONS AND REQUESTS FOR BULK ORDERS, The answer was no! Excuse me? Okay, try not tell me about their solutions regarding the PLEASE SEND YOUR LETTERS TO SUBSCRIPTION DEPARTMENT to panic, I thought, not a major problem. I state of the network, and the conditions their SUBSCRIPTION HOTLINE:[email protected] just need to import them to my Java applica- software would excel in, such as a tempera- tion and they can reside there. I asked for mental network going up and down. This I COVER PRICE: $5.99/ISSUE DOMESTIC: $49.99/YR. (12 ISSUES) confirmation that my Java application would found reassuring because I live in a rural CANADA/MEXICO: $79.99/YR. OVERSEAS: $99.99/YR. be able to make phone calls from my now area where reception for my mobile is not (U.S. BANKS OR MONEY ORDERS). BACK ISSUES: $10/EA., INTERNATIONAL $15/EA. imported contact list. No was the answer always 100%; I was beginning to worry that I again, “That would be a security risk and vio- may be left behind in this new always-on, EDITORIAL OFFICES: late the openness of the specification.” always-connected, Web-serviced world! SYS-CON MEDIA 135 CHESTNUT RIDGE RD., MONTVALE, NJ 07645 At this point, I couldn’t believe what I was On the whole, JavaOne was a good show TELEPHONE: 201 802-3000 FAX:201 782-9600 hearing. Is this true? We have a with plenty of walking space between the JAVA DEVELOPER’S JOURNAL (ISSN#1087-6944) is published monthly (12 times a year) for $49.99 by SYS-CON Publications, Inc., 135 Chestnut phone…whose main purpose in life is to booths (you definitely knew the bottom had Ridge Road, Montvale, NJ 07645. Periodicals postage rates are paid at make calls. That’s its calling, to use a very fallen out of the dot-com world). I caught up Montvale, NJ 07645 and additional mailing offices. POSTMASTER: Send address bad pun. We can load applications on it that with a lot of old faces, listened attentively to changes to: JAVA DEVELOPER’S JOURNAL, SYS-CON Publications, Inc., can’t actually take advantage of the core what they were up to, had a brush with J2EE 135 Chestnut Ridge Road, Montvale, NJ 07645. functionality of the phone? Major oversight, Blueprints, and met a vast array of new faces. ©COPYRIGHT: wouldn’t you say? Tell me again why I want It was a great event, as usual. Copyright © 2002 by SYS-CON Publications, Inc. All rights reserved. my next phone to be Java-enabled? Someone We were there with SYS-CON Radio No part of this publication may be reproduced or transmitted in any form or by any please e-mail me and tell me I’m wrong. interviewing the latest and greatest. Keith means, electronic or mechanical, including photocopy or any information storage and At JavaOne, I had a great meeting with Brown, our esteemed J2SE editor, conducted retrieval system, without written permission. For promotional reprints, contact reprint coor- dinator Carrie Gebert, [email protected]. SYS-CON Publications, Inc., reserves the right Bruce Scott from PointBase; he kindly spent the majority of the interviews, which you can to revise, republish and authorize its readers to use the articles submitted for publication. time discussing what they were doing and listen to online at www.sys-con.com/java/. where they see the future of J2ME. For those Until next month … 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. MAY 2002 7 Java COM TogetherSoft Corporation www.togethersoft.com/1/jd.jsp 8 MAY 2002 Java COM J2EE EDITORIALOR J2EE INDEXX Are You Being Served? J2ME Customer service and relation- 9 ship management is the corner- stone of a successful business. AJIT SAGAR J2EE EDITOR Before selecting a vendor who supplies J2EE wares, make sure that adequate support will be available when you’re struggling with critical and complex issues. J2SE Are YouBeing Served? by Ajit Sagar J2EE FAQ ’ll never buy a Casio watch again.