- In build.bat, comment out set ANT_HOME=..\..\..\ant-dist and set the variable in the environment.
- Then run build runejb, and there you get:
- In build.xml, you have to change the classpath as it was restructured in JBoss AS5:
deploy/jboss-aop-jdk50.deployer -> deployers/jboss-aop-jboss5.deployer
Then add:
<fileset dir="${jboss.home}/common/lib">
<include name="**/*.jar">
</include>
</fileset>
- Last, in Client.java
calculator = (Calculator) ctx.lookup("TODO:insert name");
should be changed tocalculator = (Calculator) ctx.lookup("CalculatorBean/remote");
Ref: JBoss EJB3 Tutorial
No comments:
Post a Comment