Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 49409 invoked from network); 22 Aug 2006 15:13:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Aug 2006 15:13:30 -0000 Received: (qmail 66618 invoked by uid 500); 22 Aug 2006 15:13:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 66565 invoked by uid 500); 22 Aug 2006 15:13:23 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 66422 invoked by uid 99); 22 Aug 2006 15:13:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 08:13:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2006 08:13:22 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11A957142FB for ; Tue, 22 Aug 2006 15:10:17 +0000 (GMT) Message-ID: <20958847.1156259417070.JavaMail.jira@brutus> Date: Tue, 22 Aug 2006 08:10:17 -0700 (PDT) From: "Matt Hogstrom (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Closed: (DAYTRADER-10) Update the import statements of Quote.java and QuoteHome.java In-Reply-To: <18273594.1156196775618.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DAYTRADER-10?page=all ] Matt Hogstrom closed DAYTRADER-10. ---------------------------------- Fix Version/s: 1.2 Resolution: Fixed > Update the import statements of Quote.java and QuoteHome.java > ------------------------------------------------------------- > > Key: DAYTRADER-10 > URL: http://issues.apache.org/jira/browse/DAYTRADER-10 > Project: DayTrader > Issue Type: Improvement > Components: EJB Tier > Affects Versions: 1.2 > Environment: All > Reporter: Slava > Assigned To: Matt Hogstrom > Priority: Minor > Fix For: 1.2 > > Attachments: FixForDaytrader-10.patch > > > Java 5 EE introduces a new "javax.ejb.Remote" interface. > Currently Daytrader EJBs Quote.java and QuoteHome.java import Java packages with wild cards. > For example: > import javax.ejb.*; > import java.math.BigDecimal; > import com.ibm.websphere.samples.trade.*; > import java.rmi.*; > Prior to Java 5 EE there was only one Remote interface (java.rmi.Remote). Therefore it is clear that Quote.java and QuoteHome.java extend the java.rmi.Remote interface. > When we start to support Java 5EE however, there will be two "Remote" interfaces (java.rmi.Remote and javax.ejb.Remote. That will cause confusion for the java compiler during the ejbdeploy. > The solution is really simple: to provide the full interface name/path during imports. > I know that this is not a problem for Daytrader yet but it will become. So lets be proactive, fix the imports now and avoid the problem in the future. > I am providing a fix for this issue. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira