Archive
EJB3 tutorial, part 04: Introducing JPA
In the last post about EJB3 (phew, three months ego ...) we discussed the session beans' lifecycle callbacks. So far we know how to create a stateless (or stateful) session bean and call it from a standalone client. We used JBoss Tools for development.
In this post I would like to switch to Netbeans 6.8 and Glassfish which is nicly integrated with it. You can download it from netbeans.org. Choose the Java package (180MB), it will have everything you need. Also creating JEE projects seems to be a little bit easier and less confusing (and we want to learn EJB3 technology and not care about the tools). So, let's get to work.
EJB3 tutorial part 03: session bean’s lifecycle callbacks
In previous posts we've learned how to create Session Beans (both Statless and Stateful). In this post I would like to show how to use lifecycle callbacks.
EJB3 Tutorial part 02 – Stateless vs. Stateful
In the previous post we've set up our environment to work with EJB3. It's based on Eclipse, JBoss Tools and JBoss Application Server. However you can follow the tutorial with the environment set up of your choice. Another popular one would be Netbeans. You can download it as a bundle with Glassfish server. If you decide to switch it please remember that some things presented here might be environment specific and may work differently (but most of them shouldn't).
In this post we will say a little bit more about Session Beans and we will try to cover the differences between Stateless and Stateful Session Beans.
EJB3 Tutorial part 01 – environment setup and first EJB with JBoss Tools and JBoss AS
As a part of preparations for my SCBCD exam I will try to present a series of tutorials on EJB3 and JPA. It will help me to test my knowledge and maybe someone else will find it useful.