Hi!
I want to learn
JBoss Seam using few books I bought. I'm quite new to
Java EE and have only done a little bit using
JSF. Nevertheless I read what the Seam framework does and think this is what I want to do.
I understood the main concept of JSF and Seam, but I can't get any database example to work. I am using JBoss Tools for Eclipse to generate the (EAR) projects and using MySQL as database backend.
What I didn't understand yet: Do I have to create the database tables or will the
EJB component of Seam will do that from the entity beans?
I tried both, but it didn't work. I can't even get the registry example working. The errors vary, sometimes it is "javax.el.PropertyNotFoundException" and "Target unreachable" and sometimes it is "javax.ejb.EJBTransactionRolledbackException: Unknown entity".
There must be something I am doing wrong:
1) Creating a new EAR project using JBoss Tools
2) Choosing an existing MySQL database as data source (ping successful)
3) Creating a new entity bean using @Name, @Entity like
4) Create a new java class using @Stateless and @Name, as well as a manager class like
Where might be my mistake?
Thank you so much in advance!