Hi, I've just downloaded JBoss and it�s already running on my machine. I got the on-line documentation and tried the example application template using ANT. The things worked well and the application was deployed. But WHAT was deployed ? The documentation does not tell me how to teste the application just deployed, or maybe i could not understand the whole thing. Is there some GUI based deployment tool just like in the reference implementation of J2EE ?? or must i use ANT and XDOCLET just like in the example ? How can i get an HELLOWORD example to deploy in JBoss ? Thanks in advice. Claudio Gualberto.
From memory, the main sample applications don't have a servlet interface, ejbs are deployed and you use a stand alone java client to access the ejb. Judging by your post, you have already written servlets before in the reference implementation. Deploying in jboss does not use any graphical tools, but it is actually much simpler. If you started the default configuration of jboss, just copy your WAR file (or ejb jars or EAR files) into $JBOSS_HOME/server/default/deploy and it will be deployed. You can then access the application via http://localhost:8080/mywar/ [ March 19, 2003: Message edited by: Lionel Port ]
I copied my .EAR file with a EJB stateless and a test Servlet to the deploy directory at the default server ( the one i�m using ). My Servlet is running ok, but when i try to lookup the EJB the lookup() method is throwing an NamingException. I�m constructing the InitialContext with no arguments ( it works on SUN J2EE default implementation ) i already see at the deployment file inside the .EAR file, and the JNDI name of the EJB is correct. How can i work around it ? Claudio Gualberto.