This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I deployed an application and when I tried to look up one of the session beans, it failed to construct an InitialContext object using the default contstructor. When I specify the factory and url, everything works.
I don't want to specify host specific things! What will happen when I enable clustering? I loose transparency! What is the diffence between the 2 approaches? I just want to use the default constructor !! Anybody any ideas? thanx in advance ...
Do you mean a standalone Java application that's an EJB client, or a Web application? If it's a standalone Java application, the issue is one of which client container you use. Do a search in the InfoCenter for "launchClient.bat" and read up on the J2EE client container. Kyle