1 Reply Latest reply on May 3, 2004 12:07 AM by guydaniel

    a simple example with EJB and database

    alemito

      Hi,
      where could I find a simple example for the connection of a DB (mySQL) with JBoss, accessed by an EJB ?

      I'm newbie both EJB and JBoss.

      thanx all

        • 1. Re: a simple example with EJB and database
          guydaniel

          The free download "Getting started with JBoss 3.2" has a really good section in it at the end for setting up JBoss to use MYSQL.
          The JBoss IDE getting started docs have a great little tutorial on how to build and deploy an EJB SessionBean. Make sure that you use version M6.

          When you want more, then go and look at http://xdoclet.sourceforge.net/, download their examples to get stuff about how you should do CMP.