JBoss Community

Re: Using ejb-jar.xml for @Singleton bean

created by Benoit Heinrich in EJB3 - View the full discussion

Ok, here we are.

 

I hope I've forgot nothing in the zip ;)

If you have any problem running the example just let me know.

 

The only thing you need to do is:

 

  1. unzip the archive
  2. go to the startup-example directory.
  3. mvn clean install
  4. cp services-dist/target/01-services.ear to your deploy dir
  5. cp startup-dist/target/02-startup.ear to your deploy dir

 

The example is using the System.out instead of log4j and as you'll see the message doesn't show up.

Again, thanks a lot for all your help :)

 

/Benoit

Reply to this message by going to Community

Start a new discussion in EJB3 at Community