Thank you, first of all, for your support. I intended Entity Beans , so I should create a module with in it the Entity (.java + .class). What do you mean with "+dtos"? About EJB (Session and Stateless), I use a Facade Pattern and so the client call it and don't the EJBs. According to you, for testing my application in Eclipse together with GWT, have I to import jar of all EJB or I leave them on JBOSS ?
Thank you very much On 14 Ott, 16:30, mariyan nenchev <[email protected]> wrote: > Let's make the things clear. Are you talking about entity beans or session > beans? If session beans, you just have to add the interfaces to your sejbs > and use them only at the server side. If you want to use entity beans you > may make your persistance jar(that containes your entities + dtos) as gwt > module, so the jar must contain .java and .class files and add it to your > gwt project plus add it in the gwt.xml file as module. > > On Wed, Oct 14, 2009 at 12:34 PM, iaio81 <[email protected]>wrote: > > > > > > > And how can i test my GWT application that call via-RPC EJB deployed > > on my JBoss? Have I to import EJB as classes not compiled? > > > On 14 Ott, 10:32, mariyan nenchev <[email protected]> wrote: > > > Hi, you do not have to add your ejb jar in the gwt client side. It is > > only > > > needed in the server side. So you do not need to add it in the gwt.xml > > file. > > > As you may not know you can't add every kind of jars in the client > > > side(which is compiled to js). Tell me how do you think the gwt compliler > > > will compile ejb code into js? > > > > On Wed, Oct 14, 2009 at 3:15 AM, iaio81 <[email protected]> > > wrote: > > > > > Hi all, > > > > I have a problem with GWT. I've imported my EJB's jar and I put in it > > > > the *.gwt.xml with source equals to my entities folder and then I add > > > > in the Main.gwt.xml --> inherits name=...... > > > > When I compile I've always the same error --> No source code is > > > > available for type ... and it doesn't find my entity. > > > > > Could you help me? > > > > Thanks a lot --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
