I been posting here for a bit now about EJB3.0 and to be honest, after several weeks of frustration things are finally starting to work!!!
I've managed to get my basic system up and running with comms from the 'client' (jsp/servlet based) to logic (ejb3.0)
both webapps have (until now) been running on Sun WebApp 9.0, but I have been thinking. As I'm using RemoteInterface between the two clients, and if my understanding is correct. I should be able to host the client on a seperate webapp server all together?
As you can see Tomcat is running under port 8080 (for now).
The problem is the Servlets (rather RemoteInterface' within the WAR) are not seeing the EJBs on the Sun WebApp.
Whilst the system doesn't crash, I get as far as calling the EJB and... nothing! just a blank webpage! :-(
All that's basically happenig in this sample is: - JSP (index.jsp) calls Servlet (POST) - Servlet calls 'local' copy of RemoteInterface - RemoteInterface does a 'setName' in EJB - Servlet calls RemoteInterface again - does a getName from EJB - Displays name to second JSP (output.jsp)