[jboss-user] [EJB 3.0] - Using SequenceGenerator with Embedded EJB3.0

2007-06-12 Thread pKraemer
Hi, I have developed an application with embedded EJB3.0. The Ids of all Entity Beans should be generated automatic, so I use @SequenceGenerator and @GeneratedValue(strategy=GenerationType.SEQUENCE,...) as Generator Strategy. When I deploy the EntityBeans I get a warning that Hibernate does

[jboss-user] [EJB 3.0] - Runtime Exception during deployment with Embedded EJB3

2007-06-03 Thread pKraemer
Hello, during deployment of my stateless Session Bean I get a RuntimeException: | java.lang.RuntimeException: bean class has no local, webservice, or remote interfaces defined and does not implement at least one business interface | at

[jboss-user] [EJB 3.0] - embeddedEJB lookup Problem

2007-05-09 Thread pKraemer
Hello, I'm using the EJB3 embedded Version with Tomcat 5.5.23 My deployed Project has a structure like this: -de.testProject.ejb.security Contains Stateless SB and Local Interface -de.test.Project.web.mBeans Contains ManagedBean In my ManagedBean I do a lookup process like this:

[jboss-user] [EJB 3.0] - Re: Question @Inheritance

2007-04-13 Thread pKraemer
Well, I'm new to EJB so now I'm a little bit confused. Is there any problem to use Inheritance.JOINED? I think, SINGLETABLE means all attributes in both entity beans are in one database table. But there is one table for users (parent entity) and one table for registered users (child entity).

[jboss-user] [EJB 3.0] - Re: Question @Inheritance

2007-04-12 Thread pKraemer
Thx for your help Yes I use hibernate.hbm2ddl.auto = update but I did not try to use InheritanceType.JOINED. That was the problem. If I change it, it works fine. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4036613#4036613 Reply to the post :

[jboss-user] [EJB 3.0] - Problem with java.util.Map in Entity Bean

2007-04-11 Thread pKraemer
Well, I'm a bit confused how to solve this problem: I have got two tables in my database: | | Table1: | --- | -- locale_text -- | ---- | -- PK locale -- | -- PK,FK test_id-- | -- text -- |

[jboss-user] [EJB 3.0] - Question @Inheritance

2007-04-11 Thread pKraemer
Well it's me again with a question for using @Inheritance Well I got one super Entity: | @Entity | @Table(name=users) | @SequenceGenerator(name = user_sequence, sequenceName = user_id_seq) | @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) | public class User implements

[jboss-user] [Beginners Corner] - Re: JBoss 4.0.5 and JSF Faces context not found

2007-04-10 Thread pKraemer
Hey, I tried it again with JBoss Wiki and O'Reilly's JSFExamples and it works fine. Then I try to run my one application, added the same librarys which are in JSFExamples and used simple MyFaces components. Now when I add the extension filter I get an error: anonymous wrote : | 1:45:50,602

[jboss-user] [Beginners Corner] - Re: JBoss 4.0.5 and JSF Faces context not found

2007-04-10 Thread pKraemer
Now I have added the common-file-upload.jar to JBoss lib. When I start the application with: http://localhost:8080/ConverterWeb/ I get: anonymous wrote : | org.apache.jasper.JasperException: Exception in JSP: /index.jsp:5 | | 2: %@ taglib uri=http://java.sun.com/jsf/core; prefix=f % |

[jboss-user] [Beginners Corner] - Re: JBoss 4.0.5 and JSF Faces context not found

2007-04-07 Thread pKraemer
I am requestion *.jsf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035525#4035525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035525 ___ jboss-user mailing list

[jboss-user] [Beginners Corner] - JBoss 4.0.5 and JSF Faces context not found

2007-04-04 Thread pKraemer
Hello, first let me say, I have red the wiki page about how to use JSF with JBoss. I use: JBoss 4.0.5 MyFaces Tomahawk EJB 3.0 I've deployed the application as an *.ear file including the ejb.jar and web.war file. There are no JSF libs within /WEB-INF/lib. anonymous wrote : When I start

[jboss-user] [EJB 3.0] - NamingException: failed to resolve to an ejb with a LocalHom

2007-02-05 Thread pKraemer
Hi, I am realy new to EJB and JBoss. So I followed the tipps for installing JBoss with EJB. Because I am using EJB with JSF I searched for a Tutorial including both and tried it out. I use: JBoss 4.04 On deploying the Project, I got the following Exception: