This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I used JBuilder X to create my EJBs and a session facade to access my entity beans and a "business delegate" in front of the session facade so that my client code doesn't have to worry about the EJB details. I am using JBoss 3.2.3 to host the EJBs. Everything compiles fine, but at runtime, I had a "java.lang.NoClassDefFoundError: org/jnp/interfaces/NamingContextFactory" error. I then added jnp-client.jar to my classpath and now I'm getting "java.lang.NoClassDefFoundError: org/jboss/logging/Logger" error. I wanted my client code to not have to worry about the Application Server related details. What am I doing wrong? Thanks in advance - Buk
Hi, wich server are u using to hold your web app, or maybe it's not a web app(don't think so). If it's a web application all you have to do is to set to the classpath of your web server(problably tomcat/catalina) to recognize the jboss client api. Another option(problably better) is to download the jboss version that cames already budled with tomcat cause this should work fine without any necessity of aditional configuration. regards.
subject: Servlet accessing EJB through "business delegate" problem