Hi Andreas
Yes it should be possible, look at [1]
in short, you need to tell glassfish that you want to deploy this as
an OSGi bundle rather than Java EE
asadmin deploy --type osgi myservice.jar
Let me know if that works for you,
Jerome
[1]
http://blogs.sun.com/dochez/entry/glassfish_v3_extensions_part_2
On Apr 20, 2009, at 10:23 AM, glassfish_at_javadesktop.org wrote:
> Hi,
>
> is it possible to deploy and run declared services in gf v3? My goal
> is to not depend on gf apis, so that i am able to deploy my stuff on
> other osgi based app server too.
>
> I used this tutorial to create an first shot.
> http://www.eclipsezone.com/eclipse/forums/t96740.html
>
> My Manifest,mf and services.xml files are attached.
>
> Is there anything wrong in my files or isn't it possible to use
> declared services in gf v3.
>
> Thanks in advance
>
> Andreas
> [Message sent by forum member 'aluedeke' (aluedeke)]
>
> http://forums.java.net/jive/thread.jspa?messageID=342891
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>