Yothin Pohn<br />SCJP, SCWCD, SCBCD
Originally posted by Yothin Pohn:
Now I'm studying EJB using j2eesdk ri and when I test java application client to connect ejb, I will use "runclient" command of j2eesdk/bin. I want to know that I can use basically "java" command to connect ejb or not and How should I do?
Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Originally posted by somkiat puisungnoen:
Please, see this :
This is code in %J2EE_HOME%\bin\runclient.bat, you can apply this code which use in java commamd.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Yothin Pohn<br />SCJP, SCWCD, SCBCD
Thanks for Mr. Weerawit. I think your suggest that is good approach but I think it still lack of something that is "Context.INITIAL_CONTEXT_FACTORY" and I don't know what is its value?.
Originally posted by Pradeep Bhat:
Have you checked samples that come with the server ?
Yothin Pohn<br />SCJP, SCWCD, SCBCD
Yothin Pohn<br />SCJP, SCWCD, SCBCD
Originally posted by Dani Mazzuca:
OK Kathy,
but what if you want to run the client from another machine, a one that has no J2EE installed. Is it possible to access the Naming server inside the J2EE RI from outside? Is it documented somewhere? I mean, which URL, etc should we use for the JNDI initial context?
Dani Mazzuca
Originally posted by Dani Mazzuca:
OK,
...
What king of naming server is that? I mean, it is
not an LDAP, not a COS naming (isn't it?) not a
file system. What kind of objects can we bind?
Could we bind and RMI remote object? Is it also
a directory server?
Yothin Pohn<br />SCJP, SCWCD, SCBCD
Yothin Pohn<br />SCJP, SCWCD, SCBCD
We don't have time to be charming! Quick, read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|