1 Reply Latest reply on Nov 6, 2003 12:09 PM by Darran Lofthouse

    How to execute client file

    surajmundada Newbie

      Hi

      Need some help to see the results of jar file.

      I deployed my count.jar successfully.

      --------------------------------------------------------------------

      18:15:04,406 INFO [MainDeployer] Starting deployment of package: file:/E:/jboss
      -3.2.0_tomcat-4.1.24/server/default/deploy/count.jar
      18:15:04,421 INFO [JARDeployer] looking for nested deployments in : file:/E:/jb
      oss-3.2.0_tomcat-4.1.24/server/default/deploy/count.jar
      18:15:04,437 INFO [MainDeployer] Deployed package: file:/E:/jboss-3.2.0_tomcat-
      4.1.24/server/default/deploy/count.jar
      ---------------------------------------------------------------------

      I have also my client file ready.

      Now how should I exactly execute/run my CountClient.java/CountClient.class file to see the result ? I mean, should I run "java CountClient" on command prompt or use "Ant" ?

      I have included all the jar files in my classpath.

      my directory structure is :

      d:\sample programs\count\Count.class
      d:\sample programs\count\CountHome.class
      d:\sample programs\count\CountBean.class
      d:\sample programs\count\CountClient.class
      d:\sample programs\count\ejb-jar.xml


      count.jar includes :

      meta-inf\manifest.mf
      Count.class
      CountHome.class
      CountBean.class
      ejb-jar.xml & respective java files.

      waiting for reply....

      suraj