felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imóveis Nacionais <imoveisnacion...@gmail.com>
Subject Re: Very beginner question: maven, netbeans. Implementing a client....
Date Tue, 12 Feb 2013 15:10:10 GMT
On Tue, Feb 12, 2013 at 12:47 PM, Holger Hoffstätte <
holger.hoffstaette@googlemail.com> 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: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

Well, It seems that I have to 'import' the 'server' jar into de client
bundle project, right?

Alex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message