3 Replies Latest reply on Jul 22, 2002 11:04 AM by spamela

    Just a simple Hello World

    pamela

      Hello.

      I downloaded the latest jboss and tomcat bundle a few days ago. The installation went well.

      Problem: i can't find a simple 'hello world' example that works.

      So, i followed the Monica Pawlan tutorial download from sun. The first example was a simple Session Bean. The example made use of the server and deploy tool that comes with the j2sdkee1.3 download. I followed the instructions compiled all the files, created the jar, the war, the ear, etc. and deployed using the tool. That went well, with the example REALLY working! - but that was not JBoss.

      Question: 1)How can I run that simple example on JBoss? Where do i load what? e.g the jar the war, the servlet etc.
      2)Is there documentaton on how to DEPLOY a SIMPLE hello world enterprise bean (ie. without all the bombs and whistles) on JBoss?

      ps. i downloaded the quickstart from JBoss but when i went to the topic that was supposedly going to teach me how to deploy all i read were 2 dissappointing words -- and i quote "bla bla".

      Help!!!

        • 1. Re: Just a simple Hello World
          sgturner

          Drop your war and ear files into default/deploy. Do to bin directory and type run.bat -c default. And get the latest copy of QuickStart. Its all in there.

          • 2. Re: Just a simple Hello World
            stefankuhn


            Hi!

            I'l send you the important part of my web app.
            Pls also see my posted msg in this forum
            (How to set up a data source in JBoss3.0 and accessing it from your session bean)

            Rgds
            Stefan

            • 3. Re: Just a simple Hello World
              spamela

              Hey it works!!! at least partially, but enough to make my day. The html works and the servlet also works (hurray!). The servlet however can't find the session bean (jndi problem).

              What i did: I followed your suggestion - I loaded the .ear file on the deploy folder and run the server.

              Problem: where do i configure the jndi?