geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Hogstrom (JIRA)" <>
Subject [jira] Commented: (DAYTRADER-10) Update the import statements of and
Date Tue, 22 Aug 2006 15:10:14 GMT
    [ ] 
Matt Hogstrom commented on DAYTRADER-10:

Thanks Slava...applied

Sending        trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/
Sending        trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/
Transmitting file data ..
Committed revision 433666.

> Update the import statements of and
> -------------------------------------------------------------
>                 Key: DAYTRADER-10
>                 URL:
>             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 and import Java packages with wild
> For example:
> import javax.ejb.*;
> import java.math.BigDecimal;
> import*;
> import java.rmi.*;
> Prior to Java 5 EE there was only one Remote interface (java.rmi.Remote).  Therefore
it is clear that and 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:
For more information on JIRA, see:


View raw message