This screencast is the last in a series of four on Eclipse Europa. Each tutorial builds upon techniques covered in previous screencast, so it would be best to see the screencasts in order:
- Tour around Europe: Eclipse for Java EE (Part I)
- Tour around Europe: Eclipse for Java EE (Part II)
- How to: JSF in Eclipse Europa (Part I)
In this screencast-tutorial we will assemble a JEE application by combining a JSF module and an EJB module from previous tutorials.
Creating an enterprise application project (03:30):
JSF editing and deployment (01:50):
For this tutorial we have used materials from:
and these books:
- Eclipse Web Tools Platform: Developing Java(TM) Web Applications
- Core JavaServer(TM) Faces (2nd Edition)
- JavaServer Faces in Action
- JavaServer Faces
- Enterprise JavaBeans 3.0 (5th Edition)
- Head First EJB
- EJB 3 in Action
For a JBoss application server installation instructions take a look at this screeencast.
If you liked this post, share it with others using the links below.

3 comments:
Hi!
I did all casts of jboss and eclipse! They are very good... =)
Helped me a lot!
Ty!
Hi!
Great screen casts! Although I work with J2EE a lot, I had not tackled JEE 5 nor Eclipse Europa yet and this got me started very nicely. The Linux version of Europa seems to be a bit buggy compared to the one you use though.
Here are some ideas for a Part III, if you fancy expanding on this excellent trail:
How to make the ID auto generated. I found out that it is extremely simple: just add @GeneratedValue(strategy=GenerationType.AUTO) to the relevant column in the entity class (this is JEE standard) and AUTO_INCREMENT to the ID column in the database DDL (this is MySQL specific). And hey presto, no need to enter the ID anymore!
Add a link (HTML 'a' tag) back to the addCustomer JSP from the listCustomers one. There may be some tricky stuff to explain like how to make sure you get the proper context root so that it points to a valid URL.
Add an editCustomer JSP with links to it from listCustomers. This would be a good way to explain how to pass request parameters to the backing bean (in this case the ID of the customer to edit), as well as how to update existing data through the persistence manager.
Thanks again for a brilliant and easy to follow tutorial!
thanks for these nice screencasts.
That's exactly what I was looking for.
Post a Comment