openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: problem in looking up local interfaces and reflection
Date Wed, 04 Mar 2009 14:53:51 GMT
Hi,

This seems more like a question for the EJB container, rather than the JPA
provider, unless I've misunderstood what you're asking. Which application
server are you using?

-mike

On Wed, Mar 4, 2009 at 1:45 AM, is_maximum <mnrz57@gmail.com> wrote:

>
> Hello
>
> I have a problem when I want to lookup my session beans.
> I have declared @EJB on the session bean in which a POJO class will be
> created using reflection and will be executed in a separate thread. I did
> this before without reflection and it works fine but if my class is
> instantiated at runtime the lookup won't work.
>
> The class that is instantiating with reflection is actually a batch job and
> we can't change the way it will be created and also we need to use local
> interfaces in that job.
>
> Is there any workaround to evade this problem or did I missed something?
>
> thanks
> --
> View this message in context:
> http://n2.nabble.com/problem-in-looking-up-local-interfaces-and-reflection-tp2420798p2420798.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>
>

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