Re: EJB integration in GWT-jBoss-project

2011-09-22 Thread Norman Klingspor
Okay, another problem occured. Although the function itself may be called, the injects inside dont seem to work: The @EJB-call to my class works well, however the entityManager may not be initialized. I tryed both annotations: @PersistenceUnit(unitName = "sung.app.kylintv.ejb") p

Re: EJB integration in GWT-jBoss-project

2011-09-19 Thread Norman Klingspor
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, to not only import the created .jar-files but, include your class-files a

Re: EJB integration in GWT-jBoss-project

2011-09-19 Thread Norman Klingspor
Current status: As for now, I did come as far, as deploy is ok, and all classes seem to exist. However my current problem is, that no injection seems to work out: ServiceImpl: @EJB(mappedName = "sung/app/kylintv/product" ) private Product product; // public void setProduct(P

Re: EJB integration in GWT-jBoss-project

2011-09-18 Thread Norman Klingspor
Friday I found the answer to my problem mentioned above: As this is a connection between 2 seperate projects, I had to use the mapped-name to identify my ejb-class. @EJB(mappedName = "sung/app/kylintv/product" ) instead of @EJB(name = "Product" ) As there are further errors coming up, I'll be u

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:

Re: EJB integration in GWT-jBoss-project

2011-09-15 Thread karim duran
Hi Norman, 1) As you see in your log -> java.lang.NoClassDefFoundError: sung/app/kylintv/product/Product , one of your Classes or package can't be found by the server runtime. Are you sure that your *.war is well generated ? Open your *.war with a ZIP utility tool and check if there is a 'Produc

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 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 wanted to integrate my ejb-str

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 .ejb project and integrated all classes relevant from my original proje

Tutorial on integrating EJB + GWT + JBoss 5.1 using Eclipse

2010-04-08 Thread Jamie
Hello, I have written what was supposed to be a short walkthrough on integrating Google Web Toolkit with JBoss and EJB3, but it turned out to be a bit longer than I expected. This walkthrough ultimately lets you use some of the nicer Eclipse tools such as start/stop server, debugging the live web-

GWT + JBOSS

2009-06-09 Thread mnenchev
Hi, could someone help me pls. I create dynamic web project in eclipse. Start jboss server from eclipse( view servers and add to it my project). In cypal run configuration i set port 8080 and uncheck use built in server in order to use my jboss). When i start the jboss from eclipse it deploys me