4 Replies Latest reply on Jan 18, 2004 3:00 AM by andyjeff

    Announce : WebShop

    andyjeff

       

      "andyjeff" wrote:
      "andyjeff" wrote:
      "andyjeff" wrote:
      Hi,

      just to let all know that I have released a J2EE 2.0 app and beans, WebShop, under the GPL. It provides beans and a sample servlet implementation of an internet shop. It contains beans like Basket, Account, Inventory, Product, Stock, etc, etc. The aim is to develop it to provide all of the crucial aspects of a shop needed by any e-commerce part of an organisation.

      It currently is set up to run on JBoss 3.0.4, but could be modified to run on other J2EE servers easily. It can be found at

      http://www.ajsoft.freeserve.co.uk/Products/WebShop/

      Hope it is of use.


      Andy


        • 1. Re: Announce : WebShop
          lanex

           

          "lanex" wrote:
          "lanex" wrote:
          Thank you for sharing your work!

          I'm very new to JBoss and I might not understand all the issues...

          But I have encountered some problems using WebShop.

          I'm using JBoss 3.0.4 on Win2000 Server with Jetty and the database is hypersonic (one with came with the JBoss).

          (I've tried also MySql as a database, but there are some errors when deploying the bean.)

          I'm able to deploy webshop.ear just fine, load the starting page, view the cart, so it seems to work. However I cannot register or see any database content (I have manually inserted some rows). I can load the registration page, but nothing seems to be updated to the database. So this is some sort of connectivity problem, I think. Database seems to be running ok, and the tables are also created when starting JBoss.

          Could you give me some advice how to fix this?

          Thanks in advance!


          • 2. Re: WebShop
            andyjeff

             

            "andyjeff" wrote:
            "andyjeff" wrote:
            Hi,

            As for your efforts to get data into WebShop so you have something to see ...

            a). are you sure you have put the data into the HypersonicSQL DB that JBoss is using ? I'm not that familiar with HSQL, other than using it indirectly via Jboss.
            b). with MySQL, what errors do you get ? In the deployment descriptors of the bean, it references the DefaultDS of JBoss, so MySQL would have to be put there.


            If you want some data adding into WebShop, you could download the source package, and there is a script 'bin/testproduct.sh' which loads in some data using a test client. In addition there is a script for creating a couple of accounts in the system. These 2 scripts are for Unix, but if you look at them, they do simple things like set the CLASSPATH, and run a Java client.


            You can email me direct if you wish, the email is on the website where you download WebShop from.


            • 3. Re: Announce : WebShop
              neptune5

               

              "neptune5" wrote:
              "neptune5" wrote:
              By the way this project doesn't deploy under Jboss 3.2.1 it comes up[ with invalid Ejbs for the basket bean.

              And his website above doesn't exist anymore..!


              • 4. Re: Announce : WebShop
                andyjeff

                 

                "andyjeff" wrote:
                "andyjeff" wrote:
                The beans do actually deploy on 3.2.1. You need to deploy the Beans first, and when it is deployed, you deploy the app.

                And the website is now at

                http://www.ajsoft.net/Products/WebShop/

                HTH