Tutorial StockWatcher trying to add ejb-functionality

2011-11-07 Thread Norman Klingspor
Hello, I'm trying to understand EJB / hibernate / java.persistence integration with GWT. My problem is, that I don't get the EJB-integration running. I tried several approaches on my own projects. This setup is, the StockWatcher-Tutorial that I finished and tried to add the functionality to

Re: not injecting an entityManger @PersistenceContext

2011-10-13 Thread Norman Klingspor
/ lucene/indexes/ -- /properties /persistence-unit /persistence On 12 Okt., 17:59, Norman Klingspor norman.klings...@googlemail.com wrote: I'm running jBoss 6.1.0.Final. On 12 Okt., 17:57, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: What version of Jboss are you

not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
Hi, I'm trying to integrate an EJB-Project (which is connected to a database by hibernate) into my GWT (in more detail move from CDI-Weld implementation to GWT). I created a new ejb-project only containing my entities and their clients. Within my GWT-project I reference to my ejb-project and

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
) [:0.0.2] ... 67 more On 12 Okt., 17:04, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Can you share the stackt trace? 2011/10/12 Norman Klingspor norman.klings...@googlemail.com Hi, I'm trying to integrate an EJB-Project (which is connected to a database

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
the function fails. On 12 Okt., 17:11, Norman Klingspor norman.klings...@googlemail.com wrote: oh, of course. This is the stacktrace: 2011-10-12 15:36:07,163 ERROR [org.apache.catalina.core.ContainerBase. [jboss.web].[localhost].[/kylintv.gwt]] (http-0.0.0.0-8080-1) Exception while dispatching

Re: not injecting an entityManger @PersistenceContext

2011-10-12 Thread Norman Klingspor
I'm running jBoss 6.1.0.Final. On 12 Okt., 17:57, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: What version of Jboss are you use? 2011/10/12 Norman Klingspor norman.klings...@googlemail.com oh, of course. This is the stacktrace: 2011-10-12 15:36:07,163 ERROR

GWT Persistence call failing

2011-09-29 Thread Norman Klingspor
Hi, I started a project with GWT using existing EJB-classes. Those EJB- classes are inside an own .jar-file but included into the GWT war\WEB- INF\classes\*.class compiled. My problem: The EJB-class (ProductHome) is instanciated, but my EntityManager (bound by @PersistenceContext) remains NULL.

Re: EJB integration in GWT-jBoss-project

2011-09-22 Thread Norman Klingspor
., 16:42, Norman Klingspor norman.klings...@googlemail.com wrote: Hi, 1 step closer :-) Reading through the descriptions once more: I forgot to copy my ejb-class-files into WEB-INF/classes/... After this, the function is finally called my code works out fine like this. So it is important

Re: EJB integration in GWT-jBoss-project

2011-09-19 Thread Norman Klingspor
:597) [: 1.6.0_25] at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 569) [:] ... 27 more Can someone help me here again? THX! Norman On 19 Sep., 07:24, Norman Klingspor norman.klings...@googlemail.com wrote: Friday I found the answer to my problem mentioned

Re: EJB integration in GWT-jBoss-project

2011-09-18 Thread Norman Klingspor
be using this thread for a short description of problems and their solutions until the first run is completed. I hope this'll help others like me. Norman On 16 Sep., 10:59, Norman Klingspor norman.klings...@googlemail.com wrote: Hi Karim, thanks for the help - and you were totally right. I just made

Re: EJB integration in GWT-jBoss-project

2011-09-16 Thread Norman Klingspor
Hi Karim, thanks for the help - and you were totally right. I just made the well i failed in adding compiled classes. Instead I included the source-files :-) Now, that I get this far, however, another error (of course) occurs: My jBoss brings up a deployment error: DEPLOYMENTS IN ERROR:

EJB integration in GWT-jBoss-project

2011-09-15 Thread Norman Klingspor
Hello, I'm trying to establish a shop-system through gwt. In Ecplise running on jBoss 6.1.0.Final, GWT 2.4 In my first approach I wanted to integrate my ejb-structures from the originial project. As a result I: 1.) created a shop.ejb project and integrated all classes relevant from my original

Re: EJB integration in GWT-jBoss-project

2011-09-15 Thread Norman Klingspor
correction: STEP 4.) folder: WEB-INF/lib of course. The error remains the same. On 15 Sep., 17:24, Norman Klingspor norman.klings...@googlemail.com wrote: Hello, I'm trying to establish a shop-system through gwt. In Ecplise running on jBoss 6.1.0.Final, GWT 2.4 In my first approach I