You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Slava (JIRA)" <de...@geronimo.apache.org> on 2006/08/21 23:46:15 UTC
[jira] Created: (DAYTRADER-10) Update the import statements of
Quote.java and QuoteHome.java
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
Priority: Minor
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
[jira] Updated: (DAYTRADER-10) Update the import statements of
Quote.java and QuoteHome.java
Posted by "Slava (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/DAYTRADER-10?page=all ]
Slava updated DAYTRADER-10:
---------------------------
Attachment: FixForDaytrader-10.patch
I've attached the fix.
> 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
> Priority: Minor
> 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
[jira] Assigned: (DAYTRADER-10) Update the import statements of
Quote.java and QuoteHome.java
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/DAYTRADER-10?page=all ]
Matt Hogstrom reassigned DAYTRADER-10:
--------------------------------------
Assignee: Matt Hogstrom
> 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
[jira] Commented: (DAYTRADER-10) Update the import statements of
Quote.java and QuoteHome.java
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ http://issues.apache.org/jira/browse/DAYTRADER-10?page=comments#action_12429737 ]
Matt Hogstrom commented on DAYTRADER-10:
----------------------------------------
Thanks Slava...applied
Sending trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/Quote.java
Sending trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/QuoteHome.java
Transmitting file data ..
Committed revision 433666.
> 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
> 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
[jira] Closed: (DAYTRADER-10) Update the import statements of
Quote.java and QuoteHome.java
Posted by "Matt Hogstrom (JIRA)" <de...@geronimo.apache.org>.
[ 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