Re: proper package structure to implement JMI interfaces

Martin Matula <[email protected]> Wed, 28 Jan 2004 21:56:50 +0100
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
Since no packagePrefix tag seems to be present in your metamodel, the 
package structure for the implementation classes should be:
impl/library/diagraminterchange/DiagramImpl.java
Anyway, I would strongly recommend to add org.netbeans.implPackagePrefix 
and javax.jmi.packagePrefix tags to your metamodel so that your package 
names conform to the official conventions.
Regards,
Martin

Fu,Bin wrote:

> Hi,
>  
> I want to implement following JMI interface generated from MDR:
>  
> library/diagraminterchange/diagram.java
>  
> according to guidance on web page 
> http://mdr.netbeans.org/custom_implementations.html  I tried with 
> following package structure
>  
> library/diagraminterchange/diagramImpl.java
> and
> javax/jmi/impl/library/diagraminterchange/diagramImpl.java
>  
> both don't work, what should be the proper package structure to 
> implement my JMI interfaces?
>  
> Thanks & regards!
>  
> Bin