On Tue, Feb 12, 2013 at 12:47 PM, Holger Hoffstätte < [email protected]> wrote:
> On 02/12/13 13:21, Imóveis Nacionais wrote: > > > > How can I access server bundle interface type during compile time? > > > > By adding it into a separate -api jar for (both client and server) > compile time. For runtime you can either turn that jar into a bundle as > well (so that compile-time structure resembles runtime) or inline the > -api into the server bundle and have it exported, so that API and > implementation come as one deployment unit. There are advantages and > disadvantages to both approaches; neither is "right" or wrong". > The first part (api/client/server trifecta) has nothing to do with OSGi > and applies just as well to any regular Java project. > > -h > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > Well, It seems that I have to 'import' the 'server' jar into de client bundle project, right? Alex

