OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | easybeans-issues List | July 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[easybeans-issues] [JIRA] Commented: (EZB-283) BusinessMethodResolver doesn't find Interfaces from other OSGI bundles


    [ 
http://jira.easybeans.org/browse/EZB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_10465
 ] 

ekkehard gentz commented on EZB-283:
------------------------------------

thanks ! it works with the beans and interfaces in different bundles.
now I can do more real tests with easybeans
ekke

> BusinessMethodResolver doesn't find Interfaces from other OSGI bundles
> ----------------------------------------------------------------------
>
>                 Key: EZB-283
>                 URL: http://jira.easybeans.org/browse/EZB-283
>             Project: EasyBeans
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: EasyBeans 1.0
>         Environment: Eclipse 3.4 + OSGI (Equinox 3.4), Mac OSX 10.5.3, JDK 
> 1.5
>            Reporter: ekkehard gentz
>            Assignee: Gael Lalire
>            Priority: Blocker
>             Fix For: EasyBeans 1.1.0
>
>         Attachments: bundles.zip, eclipse_projects.zip
>
>
> as reported in the Newsgroup there's a problem with BusinessMethodResolver.
> If my @Stateless Bean is in bundle A
> and my @Remote Interface is in bundle B
> and StatelessBean implements StatelessRemote
> and in OSG Manifest bundle A imports packages from B or requires bundle B
> I got an error:
>  (W) BusinessMethodResolver.loop : No class was found for interface 
> my/interfaces/StatelessRemote. 
> if the interfaces and the beans are in the same package there's no problem
> I'm developing a client/server solution, both OSGI (Equinox), using Eclipse 
> Riena for Remote OSGI Services
> and using EasyBeans on the server
> my bundle with the interfaces is at server and client side, the beans are 
> only at server side
> I'm developing using Eclipse with PDE tooling and launching and so its easy 
> to test client and server
> together with PDE OSGI Launch configurations
> copying all interfaces in the beans bundle is no solution I'm satisfied 
> with, because then every step I'm testing
> I have to copy them - and I want to avoid this.
> main reason to use Easybeans instead of an EE server is the OSGI version of 
> Easybeans where I have all freedom to do my OSGI stuff in a client/server 
> solution
> Florent Benoit told me in the newsgroup
> "I think that this is because bytecode analysis based on ASM is looking up 
> only classes provided in the current bundle.
> We don't rely on java lang reflect module to find annotations. "
> I think because EasyBeans is an OSGI EJB container, then EasyBeans should 
> find classes and interfaces from bundles in OSGI bundle classpath
> at the moment I did no testing if there were problems too with @Entity 
> referencing to other Entity, @Embedded or so from other bundles
> for me this is a showstopper and I hope that you'll find a solution. 
> thx
> ekke

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.easybeans.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.