users@glassfish.java.net

Re: Problem with accessing EJB Components in a Remote ...

From: <forums_at_java.net>
Date: Sun, 26 Jan 2014 18:42:26 -0600 (CST)

Hey Ferry, thanks a lot for your replay!!! I made Points 1. and 2. this is
clear. But Points 3. and 4. are my Problems. 1. The Ejb (EAR File) is NOT on
the same maschine as my Webapplication (WAR File). I think i must add the
properties to my Webapplication, because how could my WAR know where to find
the remote ejb 2. Then i have another Problem. Can I access the EJBwith the
annotation @EJB? Is this Initial Context bla in this case necessary? Don't
get me wrong, but if you have this annotation already, then I have a feeling
that this procedure (Initial Context) is in some cases perhaps very
laborious. I thought, that Java will make some voodoo (concerning on the
annotation) and lookup for my Remote EJB, assuming I've set the correct
properties. 3. An once another question. Can I set the properties in the
admin backend of the Glassfish (http://localhost:4848). I found the topic:
Configurations > server-config > ORB > IIOP Listeners Is this the right place
to refere the remote maschine and do I have something to consider? Thanks a
lot (and for your time!) Vladimir

--
[Message sent by forum member 'Grauzone']
View Post: http://forums.java.net/node/900930