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
-~----------~----~----~----~------~----~------~--~---

Reply via email to