Re: Smart Gwt RPC

2010-07-07 Thread MamboJumbo
you can find it on their foum.

http://forums.smartclient.com/showthread.php?t=10850&highlight=gwt+rpc


On Jul 7, 11:56 am, thrivikram c
 wrote:
> Hi,
>
> I am working on smartgwt, can any one help me, with simple example that show
> the smrtgwt working with rpc
>
> Regards,
>
> Raju

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Step-by-Step tutorial how to use external Tomcat with GWT 2.0

2010-01-05 Thread MamboJumbo
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/39e0ff6325e4d504/55bfd342d77ec910#55bfd342d77ec910

this is how I used to do this but I also have problems after gwt2.0


On Jan 5, 9:54 am, ojay  wrote:
> Hi,
>
> I am looking for a tutorial about using an external tomcat server with
> gwt 2.0. I could only find discussions about older GWT versions, and
> actually I am stuck at this step.
>
> Does somebody can show me the steps how I can use the sample gwt
> project, which will be created by the google eclipse plugin, on an
> external tomcat server?
>
> 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: java.sql.Date problem

2009-09-19 Thread MamboJumbo

I got a solution for this problem. Java forum helped clearing things
up.
If anyone will have the same problem it is not GWT it is caused by
java.sql.Date construct.
http://forums.sun.com/thread.jspa?messageID=10820005#10820005

If JPA entity field is of type java.sql.Date and this field in
database holds time portion as well like in oracle date field.
java.sql.Date instance is constructed like java.util.Date causing
different behavior.


On Sep 19, 5:28 pm, MamboJumbo  wrote:
> Hi,
> I have DTO with field of type java.sql.Date which I Instantiate in the
> RemoteServiceServlet [MyDTO(myDate);]    (myDate is of type
> java.sql.Date)
> MyDTO implements isSerializable interface and I am supposed to get it
> back from RemoteServiceServlet, however if I don't convert myDate into
> String and then into java.sql.Date again I get RPC error in the
> client.
>
> MyDTO(myDate); > doesn't work (in the client onFailure method is
> executed).
>
> MyDTO(java.sql.Date.valueOf(myDate.toString())); does work (in the
> client onSuccess method is executed).
>
> Isn't these two date values the same? Can anyone point out why this
> error happens?
> Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



java.sql.Date problem

2009-09-19 Thread MamboJumbo

Hi,
I have DTO with field of type java.sql.Date which I Instantiate in the
RemoteServiceServlet [MyDTO(myDate);](myDate is of type
java.sql.Date)
MyDTO implements isSerializable interface and I am supposed to get it
back from RemoteServiceServlet, however if I don't convert myDate into
String and then into java.sql.Date again I get RPC error in the
client.

MyDTO(myDate); > doesn't work (in the client onFailure method is
executed).

MyDTO(java.sql.Date.valueOf(myDate.toString())); does work (in the
client onSuccess method is executed).

Isn't these two date values the same? Can anyone point out why this
error happens?
Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT EJB

2009-09-08 Thread MamboJumbo

Do you have your EJB beans under domain?

On Sep 7, 8:21 pm, Parvez Shah  wrote:
> My directory structure is something like this
> --- domain
> --- service
> --- some more server package
> --- Domain.gwt.xml
>
> and then i just inherit the domain class like this
> 
>
> in my Domain.gwt.xml I have entry like this
> 
>  "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source...
> ">
> 
> 
>     
> 
>
> --
>
>
>
> On Sun, Sep 6, 2009 at 2:10 PM, MamboJumbo  wrote:
>
> > Hello Parvez,
> > I tried to do that but I get "no source code is available exception"
> > for my entity class when I am compiling GWT. Could you show me some
> > example how to do that?
> > Thanks
>
> > On Sep 5, 12:48 am, Parvez Shah  wrote:
> > > Yes you can ..
> > > Your entity with JPA annotation will work you can keep your entity in
> > your
> > > EJB project just keep the package declaration same as your client Module
> > ..
> > > and use your entity as DTO
>
> > > On Fri, Sep 4, 2009 at 8:23 PM, MamboJumbo 
> > wrote:
>
> > > > I searched this DTO question for a while but could not find a an
> > > > answer. Maybe you know guys? Is it possible to import a GWT DTO class
> > > > defined in the GWT client package in the EJB session bean, so that DTO
> > > > can be instantiated in the session bean? If we had a dynamic web
> > > > project with GWT and an EJB project with session beans.
> > > > Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT EJB

2009-09-06 Thread MamboJumbo

Hello Parvez,
I tried to do that but I get "no source code is available exception"
for my entity class when I am compiling GWT. Could you show me some
example how to do that?
Thanks

On Sep 5, 12:48 am, Parvez Shah  wrote:
> Yes you can ..
> Your entity with JPA annotation will work you can keep your entity in your
> EJB project just keep the package declaration same as your client Module ..
> and use your entity as DTO
>
>
>
> On Fri, Sep 4, 2009 at 8:23 PM, MamboJumbo  wrote:
>
> > I searched this DTO question for a while but could not find a an
> > answer. Maybe you know guys? Is it possible to import a GWT DTO class
> > defined in the GWT client package in the EJB session bean, so that DTO
> > can be instantiated in the session bean? If we had a dynamic web
> > project with GWT and an EJB project with session beans.
> > Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: GWT EJB

2009-09-04 Thread MamboJumbo

Sorry, maybe I couldn't explain well what I mean.
I was looking at the tutorial 
http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
for GWT and Hibernate where the DTO's are created after the entities
are extracted using JPQL.
If using Java SE, GWT servlet and client are in the same application
and I was able to import client DTO into servlet and to extract data
from entities directly into DTO object
[createQuery("SELECT new DTOobject(s.field_1, s.field_2) from
MyJPAentity s")] (I'm using OpenJPA)
Thus eliminating the need to iterate through extracted entities and
assign them to DTO objects. The result List of this query was already
a List of DTO objects and I was sending it directly to my GWT client
for processing.
If using Java EE, web application where I have GWT module is separate
from EJB where I extract data from entities. So I have to first
extract the entities then in the servlet I have to iterate through the
result and assign it to DTO objects, like in the tutorial mentioned
above. I wouldn't need to do this later operation if I had an import
statement of DTOobject from GWT in my session Bean. I would pass to
the servlet List of DTOobjects instead which wouldn't need extra
processing.
Is it possible to declare import statement of the GWT DTOobject in the
session Bean of the EJB module?
Thanks

On Sep 4, 11:51 pm, Dalla  wrote:
> I´m not sure I completly understand your question, but this I know:
> You cannot use an EJB with annotations on the GWT client side,
> since GWT does not emulate javax.persistence.*
>
> To reuse existing EJBs, you´ll have to map them to a POJO DTO and then
> transfer it to the client side.
> A mapping framework like Dozer can help you with this,
>
> On 4 Sep, 16:53, MamboJumbo  wrote:
>
>
>
> > I searched this DTO question for a while but could not find a an
> > answer. Maybe you know guys? Is it possible to import a GWT DTO class
> > defined in the GWT client package in the EJB session bean, so that DTO
> > can be instantiated in the session bean? If we had a dynamic web
> > project with GWT and an EJB project with session beans.
> > Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



GWT EJB

2009-09-04 Thread MamboJumbo

I searched this DTO question for a while but could not find a an
answer. Maybe you know guys? Is it possible to import a GWT DTO class
defined in the GWT client package in the EJB session bean, so that DTO
can be instantiated in the session bean? If we had a dynamic web
project with GWT and an EJB project with session beans.
Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: EclipseLink & Glassfish

2009-08-29 Thread MamboJumbo

If anyone will have a similar problem, it was the eclipse galileo
issue. I had one of the earlier releases that was not adding selected
Facets to GWT project correctly. After installing newer Galileo
release everything works fine.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



EclipseLink & Glassfish

2009-08-27 Thread MamboJumbo

Can anyone please help I am stuck for two days already cannot
understand why EclipseLink is not giving the EntityManager.
I started with GWT Galileo plugins with Glassfish app server that
comes with EclipseLink JPA. If I setup a dinamic web project with JPA
everything works fine i can get the EntityManager by dependency
injection [ @PersistenceContext(unitName="somename") EntityManager
em; ] if I debug it the em variable is some object not null. However
if I do exactly the same but with addition of GWT to the dynamic web
project the em variable is always empty (null);
I am creating a new GWT project and than adding a facet of dynamic web
project and JPA like described in 
http://code.google.com/p/google-web-toolkit/issues/detail?id=3584
 Everything else is the same. Can anyone point me in the right
direction what could be wrong when using GWT + Dynamic web project?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: History question

2009-08-23 Thread MamboJumbo

Thanks for the reply. I am trying to learn GWT  history and thought
that engineers of that website are using some other approach in
production rather than using what is discussed in tutorials.
I'll carry on now with tutorial examples.
Thanks,
Tornike

On Aug 23, 9:45 am, Jan Ehrhardt  wrote:
> If you select one of the libraries, listed there, you will come to the wiki,
> where you'll find URLs with '#'. It's the only save way to get history
> behaviour in an GWT app. You can try others, but they won't work so smooth.
> I think, the reason, why there are URLs without '#', is, that the page isn't
> a GWT app. It's a plain webpage with maybe a little script on one or another
> page.
>
> Regards
> Jan Ehrhardt
>
>
>
> On Sat, Aug 22, 2009 at 7:09 PM, MamboJumbo  wrote:
>
> > Does anyone know how GWT history is maintained in
> >http://code.google.com/p/gwt-google-apis
> > website? There are no # signs in the URLs of the pages. Is there any
> > other way to implement history other than explained in GWT tutorials?
> > (like this onehttp://gwttutorials.com/2009/08/06/gwt-history/#more-215)
> > Thank you.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



History question

2009-08-22 Thread MamboJumbo

Does anyone know how GWT history is maintained in 
http://code.google.com/p/gwt-google-apis
website? There are no # signs in the URLs of the pages. Is there any
other way to implement history other than explained in GWT tutorials?
(like this one http://gwttutorials.com/2009/08/06/gwt-history/#more-215)
Thank you.
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



TabBar design

2009-08-17 Thread MamboJumbo

I was recently trying to understand how the beautiful tabbar with
rounded corners is implemented in http://code.google.com/p/google-web-toolkit/.
DecoratedTabPanel is rounding corners for the tab bar but not for the
buttom panel. Can anyone point how to make bottom panel top corners
rounded like at the above mentioned website?
Thank you.

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---