but how should I represent the entities on my gwt Side?
When I create a Company Pojo there on the gwt side I would't anyway
not be able to transfer it.
Or you mean I should use Wrapper on the Servlet to transfer the
Entites from my EJB Project to Pojo's from the gwt side?
On 2 Dez., 02:53, Mark <mdshol...@gmail.com> wrote:
> I dont know that you can do that directly. The best way I know of is
> to create a pojo to represent the entity on the gwt side and then
> translate back and forth between them.
>
> On Dec 1, 5:01 pm, ph09 <ph.hei...@googlemail.com> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > I have got a question because of the architectur of my project.
> > At the one side there is a GWT Package with the Client Side and also a
> > Servlet to communicate with an EJB Project.
> > On the other Side there is a EJB Project with Session Beans and
> > Entities which schould be stored in a database and send between GWT
> > Client and the database. But I don't know how I can realize that. how
> > can I send an Object from my Session Bean to the GWT Servlet, because
> > the GWT Servlet don't know about the Entitities Classes.
>
> > Thats my Project Structur:
>
> > Entities + Session Bean:http://pastebin.com/anAbCqgd
>
> > GWT Servlet:http://pastebin.com/Ujjka9vT
>
> > I hope that it is clear where my problem is ;)
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment