You can also give a try to RequestFactory
http://www.gwtproject.org/doc/latest/DevGuideRequestFactory.html, which
solves the client/server object serialization issue.
On Wednesday, July 30, 2014 5:07:18 AM UTC-4, Peter S. wrote:
Hey all,
after searching the complete web for a solution and
See https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home
There you have a Hibernate Filter that solves your problem. I suggest don't
use Gilead or these solutions, it's better use DTOs. It's common using the
model directly in the pages for example with JSF, but it's not a good
practice in
Hey Timothy,
yes you are allright and a colleague and me found out that we have to
transform the object in the RPC call. Therefore gwt offers a method :
net.sf.gilead.gwt.clone(Object hibernatePojo)
this transforms the object to POJO.
Thanks for your post!
Am Donnerstag, 31. Juli 2014
Hey all,
after searching the complete web for a solution and didn't find one, I will
try to share my problem with you ;)..
Well I have the famous failure with GWT and Hibernate:
java.lang.RuntimeException:
com.google.gwt.user.client.rpc.SerializationException: Type
The basic answer is you cannot. You will need to transform the Hibernate object
into a POJO to make it serial, this is a requirement of any object being passed
between the client and the server in GWT.
Tim
On Jul 30, 2014, at 5:07 AM, Peter S. stoffels.pe...@googlemail.com wrote:
Hey all,
Hey again :)
i have read GWT homepage article and i'm developping an example which i
have a user interface and i want to save the informations on database using
postgres as SGBD.
i follow the steps but i got a problem that i couldn't resolve.
com.google.gwt.user.server.rpc.UnexpectedException:
Move the classes that are referenced both on the client server (like DTO)
into the shared package.
Strip down SavePersonne() to almost nothing to see what is causing the
Initialization exception.
Perhaps your web.xml is misconfigured?
This tutorial runs through all the steps to setting up RPC
Could anywone help me ? i want a clear exemple to understand how hiberbate
works with rpc call in gwt
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Hibernate is a server technology and you only have problems if you want to
share the same Hibernate classes between server and browser/client.
There are tons of resources about hibernate and GWT out there so just read
them. Event the GWT homepage has an article about
it:
Hello every Body,
Since i'm new programmer in GWT, i got many problem in the way how to
integrate hibernate with gwt.
if anyone could help me, i wloud be so grateful.
thanks :)
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe
Let me google it for you: http://bit.ly/1lveiVL
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to
Jens,
thanks for your kind answer. I'll let you know if what you suggest will fix
our problems.
Il giorno lunedì 4 novembre 2013 19:28:04 UTC+1, Jens ha scritto:
Is the HashMap get/put code inside getFactory(String persistenceUnit)
synchronized? If not there is a chance that you create
We have developed a gwt-hibernate multi database application which is
running on Glassfish and using Oracle datatabase. After a connection to
a default database which is addressed by a default persistence unit like
the following:
persistence-unit name=DefaultDBConnection
transaction-type
Is the HashMap get/put code inside getFactory(String persistenceUnit)
synchronized? If not there is a chance that you create more than one
factory if you do not have an entry in your HashMapString,
EntityManagerFactory instance yet. HashMap is not thread safe and if x
threads call
Change
source path=com.mySampleApplication.client/
to
source path=client/
Then please google for some GWT + Hibernate tutorials as your code also has
some other flaws. First you wan to share a hibernate entity which is not
that easy because hibernate rewrites your entity class which causes
Hello,
I'am using GWT-Entityproxy with Hibernate and Spring. Everything works fine
except some database-queries that I'd like to decrease, when I send
persistent entities to the server. What I ask myself is if I can read the
String-Array I send on the client side with the
hello
I ve the same problem ,you found something of interesting?
Thanks
Domenico
Il giorno mercoledì 27 aprile 2011 10:25:32 UTC+2, junaidp ha scritto:
Hi
I am looking for some example / tutorial for GWT , HIBERNATE , SPRING ,
MYSQL Integration
I've been looking on google
Paste all your hibernate jars in your web-inf/lib folder .
On Wednesday, 13 June 2012 12:47:17 UTC+5:30, Rahul Gamit wrote:
Hello i have followed
https://developers.google.com/web-toolkit/articles/using_gwt_with_hibernatetutorial
to integrate gwt and hibernate.
I have used
Also, make sure you got all the required jars copied into the WEB-INF\lib
folder.
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/CCHBM1AkvRgJ.
Hi,
This post make help:
http://uptick.com.au/content/working-gwt-jpa-hibernate-and-hsqldb
Cheers
Rob
Kiahu.com
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this discussion on the web visit
Looks like a classpath problem. I don't think you have all your hibernate
jars in place. Do you have a slf4j-api in your WEB-INF/lib?
On Wednesday, June 13, 2012 12:17:17 AM UTC-7, Rahul Gamit wrote:
Hello i have followed
Hello,
I have developed a sample application for GWT and Hibernate
integration using Gilead,
But i am getting the following error.
Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.google.employee.client.EmployeeService' (did you forget to
inherit a required module?) at
See this
thread.http://stackoverflow.com/questions/10712365/cant-configure-mysql-datasource-in-gwt-hibernate-mysql-project
On Sunday, May 20, 2012 5:42:49 PM UTC-6, Bill Compton wrote:
Our Hibernate setup works fine in non-GWT projects. I'm using Eclipse
Indigo, Google Suite Plugin 2.5
Our Hibernate setup works fine in non-GWT projects. I'm using Eclipse
Indigo, Google Suite Plugin 2.5, Google GWT Designer 2.4.2.
The short-short version is that the MysqlConnectionPoolDataSource class
from jetty-env.xml is evidently not getting instantiated, causing the
resource reference
Hello i have created a simple GWT application which allows user to
add Name,address,email,sex and phone number.
E.G On UI there is 4 text boxes for Name,address,phone,email and
select box for sex
I have implemented hibernate and hsqldb, but when i am running the
program it gives me the
On 4/26/2012 10:09 PM, rahul.gamit89 wrote:
Hello i have created a simple GWT application which allows user to
add Name,address,email,sex and phone number.
E.G On UI there is 4 text boxes for Name,address,phone,email and
select box for sex
I have implemented hibernate and hsqldb, but when i
hello all
can someone tell me how can create a webapp with GWT 2.4 and hibernate and
how can i deploy it to google app engine
thinks;
--
Akram MONCER
Personne
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send
About GWT and hibernate, you have a lot of post explaining what needs to be
done for getting GWT and hibernate work toghether. About
GWT+hibernate+appengine, I don't think it is possible to use hibernate on
appengine based projects.
Regards
On Tue, 13 Mar 2012 09:36:57 +0100
Akram Moncer
ok thinks
Le 13 mars 2012 15:56, Sebastian Gurin sgu...@softpoint.org a écrit :
About GWT and hibernate, you have a lot of post explaining what needs to
be done for getting GWT and hibernate work toghether. About
GWT+hibernate+appengine, I don't think it is possible to use hibernate
Try GWT+JDO+AppEngine. Hibernate does not work work well with the
non-relational data stores of GAE. There is much documentation available on
how to do this.
Sincerely,
Joe
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To view this
Hey everyone!
I am having a problem in persisting a postgres enum using hibernate and GWT.
When i follow some instructions that i found around Web, it says that client
module does not support one class used to trick for persistence.
Does anyone know how to do it?
Thanks,
Mark
--
You received
Can you share the stack trace?
2011/9/26 Marko Borges markoborge...@gmail.com
Hey everyone!
I am having a problem in persisting a postgres enum using hibernate and
GWT.
When i follow some instructions that i found around Web, it says that
client module does not support one class used to
Says that the column is of type XXX (my postgres enum) and I am trying to
insert varchar...
I know its an hibernate problem but i cant make some solutions showed in web
cause client side does not support UserType class, for example.
I am trying to use Type annotation btw, and it doesnt work...
Use JPA2 if you can, it has native support to enums. See Mapping simple
propertieshttp://docs.jboss.org/hibernate/annotations/3.5/reference/en/html/entity.html#entity-mapping-property
in
hibernate manual reference, the *Enumerated *annotation.
2011/9/26 Marko Borges markoborge...@gmail.com
Says
Well, thanks...
I tried it and now says it tries to insert integer but i dont know why:
public enum BoundType {
UPPER, LOWER, REF;
}
Im my class i have the attribute:
@Enumerated(EnumType.STRING)
public BoundType getType() {
return this.type;
}
and then i call it
Boundtype bt = new
What jpa providers (and version) are you use?
2011/9/26 Marko Borges markoborge...@gmail.com
Well, thanks...
I tried it and now says it tries to insert integer but i dont know why:
public enum BoundType {
UPPER, LOWER, REF;
}
Im my class i have the attribute:
Guess I have to update my Hibernate. I am using version 3.2.5 and maybe need
at least 3.5 to use JPA2.
Am I correct?
Thanks Juan, really!!!
2011/9/26 Juan Pablo Gardella gardellajuanpa...@gmail.com
What jpa providers (and version) are you use?
2011/9/26 Marko Borges markoborge...@gmail.com
Actually i am using hibernate-jpa-2.0-api-1.0.0.Final.jar
I think it is supposed to work...
2011/9/26 Marko Borges markoborge...@gmail.com
Guess I have to update my Hibernate. I am using version 3.2.5 and maybe
need at least 3.5 to use JPA2.
Am I correct?
Thanks Juan, really!!!
Sure, hibernate 3.2.5 not support jpa2 :), yes you must update your
hibernate version, for example to 3.6.x. Version 4 I'm not sure if is
stable.
2011/9/26 Marko Borges markoborge...@gmail.com
Guess I have to update my Hibernate. I am using version 3.2.5 and maybe
need at least 3.5 to use
Can you share the classpath? In what servlet container are you running or
you make a test?
Juan
2011/9/26 Marko Borges markoborge...@gmail.com
I updated to version 3.6.7 final version and it looks that the same happens
:(
Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into
-src
--com.nameproject.client.services (where I use Services and ServicesAsync
and my EntryPoint)
--com.nameproject.server (where I have my ServicesImpl) (for example:
hibernateTemplate.save(object))
--com.nameproject.shared.enums (my enum that i showed u before)
--com.nameproject.shared.entities
BoundType isn't an enum. It must be:
enum BoundType {
...
}
2011/9/26 Marko Borges markoborge...@gmail.com
-src
--com.nameproject.client.services (where I use Services and ServicesAsync
and my EntryPoint)
--com.nameproject.server (where I have my ServicesImpl) (for example:
no... i actually have an enum called BoundType and an entity class called
Boundtype. My enum is:
public enum BoundType {
UPPER, LOWER, REF;
}
my Boundtype is what i showed u before
2011/9/26 Juan Pablo Gardella gardellajuanpa...@gmail.com
BoundType isn't an enum. It must be:
enum BoundType {
hi everyone ,i need help ton figure out how to use hibernate and gwt
or gxt together
nothing that i found seemed to work
thx
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group.
To post to this group, send email to
See this
threadhttp://groups.google.com/group/google-web-toolkit/browse_thread/thread/7e46e8c33e7ee5da/e80d1eff4ddb7a81?pli=1
.
2011/7/20 asi mbkas...@gmail.com
hi everyone ,i need help ton figure out how to use hibernate and gwt
or gxt together
nothing that i found seemed to work
thx
--
GWT supports hibernate let me know what problem or issue you are facing ..
On Wed, Jul 20, 2011 at 4:19 PM, asi mbkas...@gmail.com wrote:
hi everyone ,i need help ton figure out how to use hibernate and gwt
or gxt together
nothing that i found seemed to work
thx
--
You received this
Hi Asi
The problem with Hibernate and GWT is that Hibernate needs to return
Hibernate proxy classes so it can detect changes made to your objects and
detect access to associations that are not loaded. The problem with this
mechanism is that when you try to serialize your classes through
If you use spring to manage your session the lazy initialization is not a
problem. You can add a filter in your web.xml that will keep a entityManager
open through the entire request and response lifecycle. That filter
is org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.
This
Hi
I am looking for some example / tutorial for GWT , HIBERNATE , SPRING ,
MYSQL Integration
I've been looking on google for that but no success ,
Any help would be appreciated..
thanks
junaid
--
You received this message because you are subscribed to the Google Groups
Google Web Toolkit group
Hi,
I am doing GWT and Hibernate integration (without spring) in my
application.
I have put entry in of POJO’s and hbm file package
In my ….gwt.xml file
like
source path='domain'/
source path='hbm'/
I have written my hibernate.cfg.xml file and
Accessing data from my service class
Have you included the hibernate jars in your war/WEB-INF/lib directory when
you deploy?
On Mon, Sep 20, 2010 at 2:00 AM, Ketan Nale ketann...@gmail.com wrote:
Hi,
I am doing GWT and Hibernate integration (without spring) in my
application.
I have put entry in of POJO’s and hbm file package
On Sep 20, 11:00 am, Ketan Nale ketann...@gmail.com wrote:
Errors in 'file:/E:/ workspace/GwtTest/src/edu/projectDir/util/
HibernateUtil.java
Line 7: No source code is available for type
org.hibernate.SessionFactory; did you forget to inherit a required
module?
Line 12: No source code is
Hi,
Have you heard of the Gilead project(http://noon.gilead.free.fr/gilead/
index.php?page=tutorial) It deals with workarounds with GWT-Hibernate
integration. You may want to take a look at it, I was able to
integrate hibernate with gwt using this library.
Thanks
Harpal
On Sep 20, 5:00 am
You can't do it directly, you need to use something like
http://sourceforge.net/projects/gilead/
A good reference article for GWT and Hibernate
http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
Hope it helps,
F
On Aug 19, 5:11 am, awate...@gmail.com awate...@gmail.com
You can't do it directly, a good reference:
http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
http://noon.gilead.free.fr/gilead/
Regards,
F
On Aug 19, 5:11 am, awate...@gmail.com awate...@gmail.com wrote:
is com.bancika.client.data.User annotated with �...@entity?
is com.bancika.client.data.User annotated with @Entity?
also there is no difference between using j2ee and gwt with respect to
setting up hibernate
On Aug 15, 12:48 pm, Bancika banc...@gmail.com wrote:
I'm using hibernate to map my data in GWT and have some weird
problems. Here's my setup.
I'm using hibernate to map my data in GWT and have some weird
problems. Here's my setup.
* HSQL database
* entity class is in client folder
* annotated class (tried with hbm.xml file, same result)
the problem is that my mapped class does not get registered in the
config for some reason. I tried
I think this is a group created to help each other, right?
On Aug 6, 5:33 am, Sanky 74.san...@gmail.com wrote:
Oh really!!! that s great.This message boost up my confidence. I am
trying to create a whole setup. Would you help me if I may need?
On Aug 4, 6:33 am, Fernando
GWT without RPC is just AJAX, right? You can run it locally from the
file system.
On Aug 6, 5:34 am, nino ekambi jazzmatad...@googlemail.com wrote:
How do you guys are getting a gwt app to work like a standalone app ?
greets
2010/8/5 Sanky 74.san...@gmail.com Oh really!!! that s great.This
Yes, of course you can. That's what my project was used to me. But
now I have switched to jetty from tomcat as the default app server in
eclipse is jetty. And once in a blue moon, there is some subtle
difference between jetty and tomcat which makes it so hard to debug.
GWT is NOT only for
Oh really!!! that s great.This message boost up my confidence. I am
trying to create a whole setup. Would you help me if I may need?
On Aug 4, 6:33 am, Fernando spiderkens...@gmail.com wrote:
Yes, I did a project a few months ago with everything you listed
except, maybe, Hibernate
I say maybe
How do you guys are getting a gwt app to work like a standalone app ?
greets
2010/8/5 Sanky 74.san...@gmail.com
Oh really!!! that s great.This message boost up my confidence. I am
trying to create a whole setup. Would you help me if I may need?
On Aug 4, 6:33 am, Fernando
Yes, I did a project a few months ago with everything you listed
except, maybe, Hibernate
I say maybe because the project itself used an internal framework very
similar to Hibernate
On 3 ago, 05:18, Sanky 74.san...@gmail.com wrote:
Hello,
I am learning GWT for a while. I tried tutorials of GWT.
How did u get the application to be standalone? Did used gears or something
like that? Greets
Am 04.08.2010 15:33 schrieb Fernando spiderkens...@gmail.com:
Yes, I did a project a few months ago with everything you listed
except, maybe, Hibernate
I say maybe because the project itself used an
Hello,
I am learning GWT for a while. I tried tutorials of GWT. I learnt
Hibernate as well. Now I am going to work on a real application. It is
divided into 2 parts: Standalone Desktop mode(without internet
connection) and web mode(with internet connection, front end will
remain same as for
Hello here is it:
?xml version=1.0 encoding=UTF-8?
module rename-to='hiberpost'
!-- Inherit the core Web Toolkit stuff.--
inherits name='com.google.gwt.user.User'/
!-- Inherit the default GWT style sheet. You can change --
!-- the theme of your GWT
Hello I am testing a gwt project using rpc to comunicate with the
server, using hibernate and postgres, Everything compiles okey but
when I run it as a Web Aplicacation it says the following error:
21:41:22.992 [ERROR] [hiberpost] Errors in 'file:/Users/Sebastian/
Hi,
there is nothing special in a GWT servlet regarding hibernate.
You can use any best practice you know or find for classical web
technology.
But aware, classical technology renders the gui as html in the server
(making the server in truth to a fat-client using the browser as an
Hi,
What is the best practice to manage Hibernate sessions in a GWT
servlet ?
The following article on Google code shows some basic code to use
Hibernate with GWT.
http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html
However I don't see any calls that close the Session
I haven't tried Maven but I'm using GWT + Hibernate3 + Gilead. It's
very difficult to setup Gilead as the example provided by GWT is very
very outdated and no longer compatible. It took me 2 days to figure
out how to set it up with the correct jar, import path and syntax. If
you're still
Thanks Yau,
That would be great. Any info you could give me on how you setup your
project would be great. Are you using Eclipse? Also, is it the correct
procedure to place your Hibernate jars and dependencies in the war/WEB-
INF/lib directory and then add them to the build path?
Thanks for your
Thanks Gabriel,
I've read differing opinions on whether client and server code should
be split into two projects. At this point,
I really don't care which about which approach I use as long as I get
something up and running that is error
free. Could someone explain to me a specific procedure for
Hi,
Do you have a reason for splitting the application into two projects?
If not, there is nothing preventing you from using a single project
for both client and server. If you do need to have two projects, you
can use two (server and client) or three (server, client and common)
modules under one
Hi,
This is my first ever forum post. I really need some help with
understanding how to setup a GWT 2.0 Hibernate3 project. I understand
the GWT RPC mechanism and the problems with serializing Hibernate
POJOs. I would prefer to use DTO's rather than Gilead or Dozer. So
far, I have a Hibernate
Hello,
please, can anyone help me?
I use GWT as Client and Hibernate as Database Interface and as
Database Oracle.
I installed eclipse with the hibernate and the GWT plugin. Then I
implemented hibernate in server side of GWT.
Then I start the Google App Engine in eclipse and it works. Then I
Read the developer's guide :).
There is a white list of classes for both Google App Engine and Web Tool
Kit. You have run into that restriction. You will probably have issues
with trying to use Hibernate. If you are using Google App Engine you will
have to you use App Engine's JDO or JPA
Read the developer's guide :).
There is a white list of classes for both Google App Engine and Web Tool
Kit. You have run into that restriction. You will probably have issues
with trying to use Hibernate. If you are using Google App Engine you will
have to you use App Engine's JDO or JPA
Sorry for the double reply. I got a email saying it was rejected. It
lied I guess.
On Mar 31, 5:19 am, bebauer1200 be.ba...@gmx.at wrote:
Hello,
please, can anyone help me?
I use GWT as Client and Hibernate as Database Interface and as
Database Oracle.
I installed eclipse with the
It sounds like you're using a class that is not supported by AppEngine. But
it also sounds like you don't want to use AppEngine (
http://code.google.com/appengine/) in the first place, because you have your
own oracle database.
I don't know what you mean by start the Google App Engine in
Hi Jim/all
I have solved my problem
I have used c3p0 and its basic configuration, to do its work for me.
To use c3p0, I have configured my hibernate.cfg.xml file,
hibernate.properties file, Tomcat Context.xml file and add the
c3p0.jar file to my CLASSPATH that can be downloaded either from
/list
On May 15, 9:52 am, Raul raahoo...@gmail.com wrote:
Hello all,
At present I am trying to integrate GWT Hibernate and MySQL in
Tomcat5. I am using Hibernate to access my database in a servlet as
public class DBConnectionImpl extends RemoteServiceServlet implements
DBConnection
Hello all,
At present I am trying to integrate GWT Hibernate and MySQL in
Tomcat5. I am using Hibernate to access my database in a servlet as
public class DBConnectionImpl extends RemoteServiceServlet implements
DBConnection {
private Session session;
public DBConnectionImpl
You have to explicitly throw any exceptions in all service methods.
Jim
http://www.gwtorm.com For GWT ORM
http://code.google.com/p/dreamsource-orm/downloads/list
On May 15, 9:52 am, Raul raahoo...@gmail.com wrote:
Hello all,
At present I am trying to integrate GWT Hibernate and MySQL
The class below can be used as a base to GWT RPC server-side classes
to inject spring dependencies
package com.al.gwtutil;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
import org.springframework.beans.factory.access.BeanFactoryLocator;
import
That book gives some good information on how to integrate Spring with
GWT. Unfortunately, it's become rather dated and focuses on building
Web sites with GWT aspects rather then building Web applications.
Spring MVC can still be used with GWT to make the server side for your
GWT-RPC interfaces.
I'm starting to learn gwt, but I know something about spring.
- Spring is powerfull with security issues (I recomend that)
- The Spring MVC module is usefull to have a clean separation of the code.
- Spring have a great integration with hibernate, in topics like sessions,
transactions, and
Thanks Jorge, for you info.
After a bit more research, I posted a similar question on the Spring
forum, with a bit more detail:
http://forum.springsource.org/showthread.php?t=67423
It a first glance, it appears that Springs MVC is tailored to
traditional form based HTTP GET/POST type web
I have some of experience working with Spring MVC and Velocity in the view.
With Spring MVC you can send to the view POJOs, and from the client I
receive the data with GET/POST.
you can take a look to this link http://noon.gilead.free.fr/gilead/
maybe can be usefull.
I'm starting to read a book
We have a Tomcat-based GWT application that we are looking to scale.
Our persistence up until this point has been all via XML. We are have
chosen to integrate with Hibernate and see a lot of talk about the
Spring Framework. So my questions to the GWT community are this:
What benefit does
89 matches
Mail list logo