views:

1901

answers:

5

I'd like to get into ejb3 to gain some practice in writing for it. I searched for tutorials and how-to's but could find some scarce unhelpful information.

I'm looking for a tutorial or walkthrough that will guide me from the very basics (Which software do I need to install?) to write a "Hello World" for EJB3 with JBoss.

In short - Where do I start?

Thanks!

+1  A: 

EJB in Action is a great book

dfa
Thanks! I'll Look it up..
Ben
+1  A: 

How about the JBoss EJB3 Tutorial - http://docs.jboss.org/ejb3/app-server/tutorial/

Nick Holt
Incidentally ranked in 3rd when you type 'JBoss EJB3' into Google ;-)
Nick Holt
I found it during my searching but its not very friendly for someone who's just starting.For example, I'm looking for something as basic as figuring out how to make jboss work with eclipse (or any IDE for that matter)
Ben
Take a look at the "Installing Guide" For an example in incoherent tutorials. :)
Ben
Hey Ben, sorry, I was only kidding with the comment ;-) JBoss will run straight off the install. To debug from an IDE you need to remote debug after making sure JBoss is listening for debug connections - that's a commented line in the run.bat in JBoss's bin directory. As for deployment use ANT to build your EAR and simply copy it to the JBoss deploy directory. Last time I used EJB3 with JBoss it wasn't part of the release but that was a while ago. Think that's fixed now but if it isn't the instructions on applying the patch are in the tutorial.
Nick Holt
+2  A: 

It would make sense to start with JBoss Seam as it's an easy introduction into EJB3 (and JSF). Have a look at their "Getting Started" page.

Damo
I have to say that there are a few good answers here.Yours is free so I marked it as "The" Answer.
Ben
A: 
David Rabinowitz
A: 

I would recommend EJB 3 tutorial in laliluna. That was my staring point for EJB 3 2 years ago.

http://www.laliluna.de/ejb-3-tutorial-jboss.html

It uses MyEclipse which is a commercial product. However you can still use Eclipse or JBoss IDE.

bionicoder