Two Problems with java in 8.5

I’m having a couple of problems developing java in the new 8.5 designer client. First, I built an application on local that included several java classes to make external calls to some web services. The app works great and I can see the classes and .java code in the java perspective. However, when I create a new replica of the app on one of our servers, I no longer see any of the java classes or .java files in the java perspective, I don’t even see the package (I created a separate package for the java classes i.e. they aren’t in the defaultpackage).

The app runs fine on the server and I can make changes to the local java code, rep them to the server and the changes are picked-up. Both the client and server are 8.5FP1.

Second problem is how do you get a handle to a session in those java classes. I’ve tried the usual - NotesFactory.createSession(), but get Cannot create a session from an agent. Based on the error, I thought maybe Domino ran the java as an agent or hooked it to an agent or something, so I changed one of my classes to extend AgentBase and tried Session s = getSession(), but the result was s = null.

Any help would be appreciated,

Scott.

Subject: Let’s hope that

IBM improves the Java tools in Eclipse so that programming Domino becomes much easier…