Re: GWT 2.0 + Hibernate + Gilead

2010-03-13 Thread Olivier
I am wondering if an other way could be to use maps instead of
serializable objects (for a small application).
Could not it increase performances ?

On 13 mar, 03:21, Jeff Larsen larse...@gmail.com wrote:
 Instead of setting them to null, you could declare them as transient.
 That would cause them to not be transported over the wire.

 On Mar 12, 4:57 pm, andreas andreas.kn...@nikem.de wrote:



  I have used Gilead, too. First I was very happy with it as it saved me
  a lot of time.
  But when my application grew larger, I also experienced that in some
  situations it's reducing performance. Another reason to not use Gilead
  was that I started to set properties of my mapped entities to null
  which I didn't want to transport to the client (for example security
  issues). I think this is even worse than using DTOs.

  I have written a comment about the topic in this 
  blog:http://www.dotnetguru2.org/bmarchesson/index.php/2008/12/20/gilead_se...

  best regards

  Andreas

  On 12 Mrz., 21:38, Giuseppe La Scaleia glascal...@gmail.com wrote:

   Olivier ha scritto:

Hi, thanks for your answer Giuseppe,

I tried Dozer when I did not succeed in Gilead. But now I resolved the
problem, I prefer use Gilead which allows me to use an existing code
without duplicating data.
If my model changes, I will not have to modify the DTO according to
the modifications : only use Hibernate Tools to generate the new
domain.

Regards.

On 11 mar, 14:49, Giuseppe La Scaleia glascal...@gmail.com wrote:

Hi Oliver i suggest you to use Apache Dozer with Hibernate , that 
allows you
to create objects as a mirror of your model bean.
For Information
 http://dozer.sourceforge.net/

Regards Giuseppe
2010/
3/11 Olivier olivier.be...@gmail.com

Hello,

I finally solved the problem here :

   https://sourceforge.net/projects/gilead/forums/forum/868076/topic/358...

Regards.

On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:

Hello,

I am trying to integrate gilead in my GWT - Hibernate application. I
followed this article to set up my project :

   http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib

But at the compilation time I have the following error :

[INFO] Compiling module fr.csie.Application
[INFO]    Validating newly compiled units
[INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
annotations/AnnotationsHelper.java'
[INFO]          [ERROR] Line 3: The import java.beans cannot be
resolved
[INFO]          [ERROR] Line 4: The import java.beans cannot be
resolved
[INFO]          [ERROR] Line 5: The import java.beans cannot be
resolved
[INFO]          [ERROR] Line 6: The import java.beans cannot be
resolved
[INFO]          [ERROR] Line 7: The import java.lang.reflect cannot 
be
resolved
[INFO]          [ERROR] Line 213: Field cannot be resolved to a type
[INFO]          [ERROR] Line 214: Field cannot be resolved to a type
[INFO]          [ERROR] Line 248: BeanInfo cannot be resolved to a
type
[INFO]          [ERROR] Line 248: Introspector cannot be resolved
[INFO]          [ERROR] Line 249: PropertyDescriptor cannot be
resolved to a type
[INFO]          [ERROR] Line 252: PropertyDescriptor cannot be
resolved to a type
[INFO]          [ERROR] Line 275: IntrospectionException cannot be
resolved to a type
[INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
pojo/gwt/LightEntity.java'
[INFO]          [ERROR] Line 104: The return type is incompatible 
with
ILightEntity.getProxyInformation(String)
[INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
pojo/java5/legacy/LightEntity.java'
[INFO]          [ERROR] Line 105: The return type is incompatible 
with
ILightEntity.getProxyInformation(String)
[INFO]    Finding entry point classes
[INFO]       [ERROR] Unable to find type 'fr.csie.client.Application'
[INFO]          [ERROR] Hint: Previous compiler errors may have made
this type unavailable
[INFO]          [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module or a module may 
not
be adding its source path entries properly
[INFO]


I am using Maven2 and here are my dependencies for using Gilead :

                dependency
                        groupIdnet.sf.gilead/groupId
                        artifactIdadapter-core/artifactId
                        version1.2.3/version
                /dependency
              

Re: GWT 2.0 + Hibernate + Gilead

2010-03-12 Thread Olivier
Hi, thanks for your answer Giuseppe,

I tried Dozer when I did not succeed in Gilead. But now I resolved the
problem, I prefer use Gilead which allows me to use an existing code
without duplicating data.
If my model changes, I will not have to modify the DTO according to
the modifications : only use Hibernate Tools to generate the new
domain.

Regards.

On 11 mar, 14:49, Giuseppe La Scaleia glascal...@gmail.com wrote:
 Hi Oliver i suggest you to use Apache Dozer with Hibernate , that allows you
 to create objects as a mirror of your model bean.
 For Information
  http://dozer.sourceforge.net/

 Regards Giuseppe
 2010/
 3/11 Olivier olivier.be...@gmail.com

  Hello,

  I finally solved the problem here :

 https://sourceforge.net/projects/gilead/forums/forum/868076/topic/358...

  Regards.

  On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:
   Hello,

   I am trying to integrate gilead in my GWT - Hibernate application. I
   followed this article to set up my project :
 http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib

   But at the compilation time I have the following error :

   [INFO] Compiling module fr.csie.Application
   [INFO]    Validating newly compiled units
   [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
   net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
   annotations/AnnotationsHelper.java'
   [INFO]          [ERROR] Line 3: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 4: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 5: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 6: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 7: The import java.lang.reflect cannot be
   resolved
   [INFO]          [ERROR] Line 213: Field cannot be resolved to a type
   [INFO]          [ERROR] Line 214: Field cannot be resolved to a type
   [INFO]          [ERROR] Line 248: BeanInfo cannot be resolved to a
   type
   [INFO]          [ERROR] Line 248: Introspector cannot be resolved
   [INFO]          [ERROR] Line 249: PropertyDescriptor cannot be
   resolved to a type
   [INFO]          [ERROR] Line 252: PropertyDescriptor cannot be
   resolved to a type
   [INFO]          [ERROR] Line 275: IntrospectionException cannot be
   resolved to a type
   [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
   net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
   pojo/gwt/LightEntity.java'
   [INFO]          [ERROR] Line 104: The return type is incompatible with
   ILightEntity.getProxyInformation(String)
   [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
   net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
   pojo/java5/legacy/LightEntity.java'
   [INFO]          [ERROR] Line 105: The return type is incompatible with
   ILightEntity.getProxyInformation(String)
   [INFO]    Finding entry point classes
   [INFO]       [ERROR] Unable to find type 'fr.csie.client.Application'
   [INFO]          [ERROR] Hint: Previous compiler errors may have made
   this type unavailable
   [INFO]          [ERROR] Hint: Check the inheritance chain from your
   module; it may not be inheriting a required module or a module may not
   be adding its source path entries properly
   [INFO]
   

   I am using Maven2 and here are my dependencies for using Gilead :

                   dependency
                           groupIdnet.sf.gilead/groupId
                           artifactIdadapter-core/artifactId
                           version1.2.3/version
                   /dependency
                   dependency
                           groupIdnet.sf.gilead/groupId
                           artifactIdgilead4gwt/artifactId
                           version1.3.0/version
                           typejar/type
                   /dependency
                   dependency
                           groupIdnet.sf.gilead/groupId
                           artifactIdgilead-hibernate/artifactId
                           typejar/type
                           version1.3.0/version
                   /dependency
                   dependency
                           groupIdnet.sf.gilead/groupId
                           artifactIdhibernate-util/artifactId
                           typejar/type
                           version1.2.3/version
                   /dependency

   Could anybody help me to understand why I get that error please ?
   Thank you very much !

  --
  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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more 

Re: GWT 2.0 + Hibernate + Gilead

2010-03-12 Thread Giuseppe La Scaleia

Olivier ha scritto:

Hi, thanks for your answer Giuseppe,

I tried Dozer when I did not succeed in Gilead. But now I resolved the
problem, I prefer use Gilead which allows me to use an existing code
without duplicating data.
If my model changes, I will not have to modify the DTO according to
the modifications : only use Hibernate Tools to generate the new
domain.

Regards.

On 11 mar, 14:49, Giuseppe La Scaleia glascal...@gmail.com wrote:
  

Hi Oliver i suggest you to use Apache Dozer with Hibernate , that allows you
to create objects as a mirror of your model bean.
For Information
 http://dozer.sourceforge.net/

Regards Giuseppe
2010/
3/11 Olivier olivier.be...@gmail.com



Hello,
  
I finally solved the problem here :
  
https://sourceforge.net/projects/gilead/forums/forum/868076/topic/358...
  
Regards.
  
On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:
  

Hello,

I am trying to integrate gilead in my GWT - Hibernate application. I

followed this article to set up my project :


http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib
  

But at the compilation time I have the following error :

[INFO] Compiling module fr.csie.Application

[INFO]Validating newly compiled units
[INFO]   [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
annotations/AnnotationsHelper.java'
[INFO]  [ERROR] Line 3: The import java.beans cannot be
resolved
[INFO]  [ERROR] Line 4: The import java.beans cannot be
resolved
[INFO]  [ERROR] Line 5: The import java.beans cannot be
resolved
[INFO]  [ERROR] Line 6: The import java.beans cannot be
resolved
[INFO]  [ERROR] Line 7: The import java.lang.reflect cannot be
resolved
[INFO]  [ERROR] Line 213: Field cannot be resolved to a type
[INFO]  [ERROR] Line 214: Field cannot be resolved to a type
[INFO]  [ERROR] Line 248: BeanInfo cannot be resolved to a
type
[INFO]  [ERROR] Line 248: Introspector cannot be resolved
[INFO]  [ERROR] Line 249: PropertyDescriptor cannot be
resolved to a type
[INFO]  [ERROR] Line 252: PropertyDescriptor cannot be
resolved to a type
[INFO]  [ERROR] Line 275: IntrospectionException cannot be
resolved to a type
[INFO]   [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
pojo/gwt/LightEntity.java'
[INFO]  [ERROR] Line 104: The return type is incompatible with
ILightEntity.getProxyInformation(String)
[INFO]   [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
pojo/java5/legacy/LightEntity.java'
[INFO]  [ERROR] Line 105: The return type is incompatible with
ILightEntity.getProxyInformation(String)
[INFO]Finding entry point classes
[INFO]   [ERROR] Unable to find type 'fr.csie.client.Application'
[INFO]  [ERROR] Hint: Previous compiler errors may have made
this type unavailable
[INFO]  [ERROR] Hint: Check the inheritance chain from your
module; it may not be inheriting a required module or a module may not
be adding its source path entries properly
[INFO]


I am using Maven2 and here are my dependencies for using Gilead :

dependency

groupIdnet.sf.gilead/groupId
artifactIdadapter-core/artifactId
version1.2.3/version
/dependency
dependency
groupIdnet.sf.gilead/groupId
artifactIdgilead4gwt/artifactId
version1.3.0/version
typejar/type
/dependency
dependency
groupIdnet.sf.gilead/groupId
artifactIdgilead-hibernate/artifactId
typejar/type
version1.3.0/version
/dependency
dependency
groupIdnet.sf.gilead/groupId
artifactIdhibernate-util/artifactId
typejar/type
version1.2.3/version
/dependency

Could anybody help me to understand why I get that error please ?

Thank you very much !


--
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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.
  


  

Yes i understand.
I use gilead 

Re: GWT 2.0 + Hibernate + Gilead

2010-03-12 Thread andreas
I have used Gilead, too. First I was very happy with it as it saved me
a lot of time.
But when my application grew larger, I also experienced that in some
situations it's reducing performance. Another reason to not use Gilead
was that I started to set properties of my mapped entities to null
which I didn't want to transport to the client (for example security
issues). I think this is even worse than using DTOs.

I have written a comment about the topic in this blog:
http://www.dotnetguru2.org/bmarchesson/index.php/2008/12/20/gilead_send_your_hibernate_entities_well#c6849

best regards

Andreas

On 12 Mrz., 21:38, Giuseppe La Scaleia glascal...@gmail.com wrote:
 Olivier ha scritto:



  Hi, thanks for your answer Giuseppe,

  I tried Dozer when I did not succeed in Gilead. But now I resolved the
  problem, I prefer use Gilead which allows me to use an existing code
  without duplicating data.
  If my model changes, I will not have to modify the DTO according to
  the modifications : only use Hibernate Tools to generate the new
  domain.

  Regards.

  On 11 mar, 14:49, Giuseppe La Scaleia glascal...@gmail.com wrote:

  Hi Oliver i suggest you to use Apache Dozer with Hibernate , that allows 
  you
  to create objects as a mirror of your model bean.
  For Information
   http://dozer.sourceforge.net/

  Regards Giuseppe
  2010/
  3/11 Olivier olivier.be...@gmail.com

  Hello,

  I finally solved the problem here :

 https://sourceforge.net/projects/gilead/forums/forum/868076/topic/358...

  Regards.

  On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:

  Hello,

  I am trying to integrate gilead in my GWT - Hibernate application. I
  followed this article to set up my project :

 http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib

  But at the compilation time I have the following error :

  [INFO] Compiling module fr.csie.Application
  [INFO]    Validating newly compiled units
  [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
  net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
  annotations/AnnotationsHelper.java'
  [INFO]          [ERROR] Line 3: The import java.beans cannot be
  resolved
  [INFO]          [ERROR] Line 4: The import java.beans cannot be
  resolved
  [INFO]          [ERROR] Line 5: The import java.beans cannot be
  resolved
  [INFO]          [ERROR] Line 6: The import java.beans cannot be
  resolved
  [INFO]          [ERROR] Line 7: The import java.lang.reflect cannot be
  resolved
  [INFO]          [ERROR] Line 213: Field cannot be resolved to a type
  [INFO]          [ERROR] Line 214: Field cannot be resolved to a type
  [INFO]          [ERROR] Line 248: BeanInfo cannot be resolved to a
  type
  [INFO]          [ERROR] Line 248: Introspector cannot be resolved
  [INFO]          [ERROR] Line 249: PropertyDescriptor cannot be
  resolved to a type
  [INFO]          [ERROR] Line 252: PropertyDescriptor cannot be
  resolved to a type
  [INFO]          [ERROR] Line 275: IntrospectionException cannot be
  resolved to a type
  [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
  net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
  pojo/gwt/LightEntity.java'
  [INFO]          [ERROR] Line 104: The return type is incompatible with
  ILightEntity.getProxyInformation(String)
  [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
  net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
  pojo/java5/legacy/LightEntity.java'
  [INFO]          [ERROR] Line 105: The return type is incompatible with
  ILightEntity.getProxyInformation(String)
  [INFO]    Finding entry point classes
  [INFO]       [ERROR] Unable to find type 'fr.csie.client.Application'
  [INFO]          [ERROR] Hint: Previous compiler errors may have made
  this type unavailable
  [INFO]          [ERROR] Hint: Check the inheritance chain from your
  module; it may not be inheriting a required module or a module may not
  be adding its source path entries properly
  [INFO]
  

  I am using Maven2 and here are my dependencies for using Gilead :

                  dependency
                          groupIdnet.sf.gilead/groupId
                          artifactIdadapter-core/artifactId
                          version1.2.3/version
                  /dependency
                  dependency
                          groupIdnet.sf.gilead/groupId
                          artifactIdgilead4gwt/artifactId
                          version1.3.0/version
                          typejar/type
                  /dependency
                  dependency
                          groupIdnet.sf.gilead/groupId
                          artifactIdgilead-hibernate/artifactId
                          typejar/type
                          version1.3.0/version
                  /dependency
                  dependency
                          

Re: GWT 2.0 + Hibernate + Gilead

2010-03-12 Thread Jeff Larsen
Instead of setting them to null, you could declare them as transient.
That would cause them to not be transported over the wire.

On Mar 12, 4:57 pm, andreas andreas.kn...@nikem.de wrote:
 I have used Gilead, too. First I was very happy with it as it saved me
 a lot of time.
 But when my application grew larger, I also experienced that in some
 situations it's reducing performance. Another reason to not use Gilead
 was that I started to set properties of my mapped entities to null
 which I didn't want to transport to the client (for example security
 issues). I think this is even worse than using DTOs.

 I have written a comment about the topic in this 
 blog:http://www.dotnetguru2.org/bmarchesson/index.php/2008/12/20/gilead_se...

 best regards

 Andreas

 On 12 Mrz., 21:38, Giuseppe La Scaleia glascal...@gmail.com wrote:



  Olivier ha scritto:

   Hi, thanks for your answer Giuseppe,

   I tried Dozer when I did not succeed in Gilead. But now I resolved the
   problem, I prefer use Gilead which allows me to use an existing code
   without duplicating data.
   If my model changes, I will not have to modify the DTO according to
   the modifications : only use Hibernate Tools to generate the new
   domain.

   Regards.

   On 11 mar, 14:49, Giuseppe La Scaleia glascal...@gmail.com wrote:

   Hi Oliver i suggest you to use Apache Dozer with Hibernate , that allows 
   you
   to create objects as a mirror of your model bean.
   For Information
    http://dozer.sourceforge.net/

   Regards Giuseppe
   2010/
   3/11 Olivier olivier.be...@gmail.com

   Hello,

   I finally solved the problem here :

  https://sourceforge.net/projects/gilead/forums/forum/868076/topic/358...

   Regards.

   On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:

   Hello,

   I am trying to integrate gilead in my GWT - Hibernate application. I
   followed this article to set up my project :

  http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib

   But at the compilation time I have the following error :

   [INFO] Compiling module fr.csie.Application
   [INFO]    Validating newly compiled units
   [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
   net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
   annotations/AnnotationsHelper.java'
   [INFO]          [ERROR] Line 3: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 4: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 5: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 6: The import java.beans cannot be
   resolved
   [INFO]          [ERROR] Line 7: The import java.lang.reflect cannot be
   resolved
   [INFO]          [ERROR] Line 213: Field cannot be resolved to a type
   [INFO]          [ERROR] Line 214: Field cannot be resolved to a type
   [INFO]          [ERROR] Line 248: BeanInfo cannot be resolved to a
   type
   [INFO]          [ERROR] Line 248: Introspector cannot be resolved
   [INFO]          [ERROR] Line 249: PropertyDescriptor cannot be
   resolved to a type
   [INFO]          [ERROR] Line 252: PropertyDescriptor cannot be
   resolved to a type
   [INFO]          [ERROR] Line 275: IntrospectionException cannot be
   resolved to a type
   [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
   net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
   pojo/gwt/LightEntity.java'
   [INFO]          [ERROR] Line 104: The return type is incompatible with
   ILightEntity.getProxyInformation(String)
   [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
   net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
   pojo/java5/legacy/LightEntity.java'
   [INFO]          [ERROR] Line 105: The return type is incompatible with
   ILightEntity.getProxyInformation(String)
   [INFO]    Finding entry point classes
   [INFO]       [ERROR] Unable to find type 'fr.csie.client.Application'
   [INFO]          [ERROR] Hint: Previous compiler errors may have made
   this type unavailable
   [INFO]          [ERROR] Hint: Check the inheritance chain from your
   module; it may not be inheriting a required module or a module may not
   be adding its source path entries properly
   [INFO]
   

   I am using Maven2 and here are my dependencies for using Gilead :

                   dependency
                           groupIdnet.sf.gilead/groupId
                           artifactIdadapter-core/artifactId
                           version1.2.3/version
                   /dependency
                   dependency
                           groupIdnet.sf.gilead/groupId
                           artifactIdgilead4gwt/artifactId
                           version1.3.0/version
                           typejar/type
                   /dependency
                   dependency
                           

Re: GWT 2.0 + Hibernate + Gilead

2010-03-11 Thread Olivier
Hello,

I finally solved the problem here :
https://sourceforge.net/projects/gilead/forums/forum/868076/topic/3585579/index/page/1

Regards.

On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:
 Hello,

 I am trying to integrate gilead in my GWT - Hibernate application. I
 followed this article to set up my project 
 :http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib

 But at the compilation time I have the following error :

 [INFO] Compiling module fr.csie.Application
 [INFO]    Validating newly compiled units
 [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
 net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
 annotations/AnnotationsHelper.java'
 [INFO]          [ERROR] Line 3: The import java.beans cannot be
 resolved
 [INFO]          [ERROR] Line 4: The import java.beans cannot be
 resolved
 [INFO]          [ERROR] Line 5: The import java.beans cannot be
 resolved
 [INFO]          [ERROR] Line 6: The import java.beans cannot be
 resolved
 [INFO]          [ERROR] Line 7: The import java.lang.reflect cannot be
 resolved
 [INFO]          [ERROR] Line 213: Field cannot be resolved to a type
 [INFO]          [ERROR] Line 214: Field cannot be resolved to a type
 [INFO]          [ERROR] Line 248: BeanInfo cannot be resolved to a
 type
 [INFO]          [ERROR] Line 248: Introspector cannot be resolved
 [INFO]          [ERROR] Line 249: PropertyDescriptor cannot be
 resolved to a type
 [INFO]          [ERROR] Line 252: PropertyDescriptor cannot be
 resolved to a type
 [INFO]          [ERROR] Line 275: IntrospectionException cannot be
 resolved to a type
 [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
 net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
 pojo/gwt/LightEntity.java'
 [INFO]          [ERROR] Line 104: The return type is incompatible with
 ILightEntity.getProxyInformation(String)
 [INFO]       [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
 net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
 pojo/java5/legacy/LightEntity.java'
 [INFO]          [ERROR] Line 105: The return type is incompatible with
 ILightEntity.getProxyInformation(String)
 [INFO]    Finding entry point classes
 [INFO]       [ERROR] Unable to find type 'fr.csie.client.Application'
 [INFO]          [ERROR] Hint: Previous compiler errors may have made
 this type unavailable
 [INFO]          [ERROR] Hint: Check the inheritance chain from your
 module; it may not be inheriting a required module or a module may not
 be adding its source path entries properly
 [INFO]
 

 I am using Maven2 and here are my dependencies for using Gilead :

                 dependency
                         groupIdnet.sf.gilead/groupId
                         artifactIdadapter-core/artifactId
                         version1.2.3/version
                 /dependency
                 dependency
                         groupIdnet.sf.gilead/groupId
                         artifactIdgilead4gwt/artifactId
                         version1.3.0/version
                         typejar/type
                 /dependency
                 dependency
                         groupIdnet.sf.gilead/groupId
                         artifactIdgilead-hibernate/artifactId
                         typejar/type
                         version1.3.0/version
                 /dependency
                 dependency
                         groupIdnet.sf.gilead/groupId
                         artifactIdhibernate-util/artifactId
                         typejar/type
                         version1.2.3/version
                 /dependency

 Could anybody help me to understand why I get that error please ?
 Thank you very much !

-- 
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: GWT 2.0 + Hibernate + Gilead

2010-03-11 Thread Giuseppe La Scaleia
Hi Oliver i suggest you to use Apache Dozer with Hibernate , that allows you
to create objects as a mirror of your model bean.
For Information
 http://dozer.sourceforge.net/

Regards Giuseppe
2010/
3/11 Olivier olivier.be...@gmail.com

 Hello,

 I finally solved the problem here :

 https://sourceforge.net/projects/gilead/forums/forum/868076/topic/3585579/index/page/1

 Regards.

 On 9 mar, 10:54, Olivier olivier.be...@gmail.com wrote:
  Hello,
 
  I am trying to integrate gilead in my GWT - Hibernate application. I
  followed this article to set up my project :
 http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib
 
  But at the compilation time I have the following error :
 
  [INFO] Compiling module fr.csie.Application
  [INFO]Validating newly compiled units
  [INFO]   [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
  net/sf/gilead/adapter-core/1.2.3/adapter-core-1.2.3.jar!/net/sf/gilead/
  annotations/AnnotationsHelper.java'
  [INFO]  [ERROR] Line 3: The import java.beans cannot be
  resolved
  [INFO]  [ERROR] Line 4: The import java.beans cannot be
  resolved
  [INFO]  [ERROR] Line 5: The import java.beans cannot be
  resolved
  [INFO]  [ERROR] Line 6: The import java.beans cannot be
  resolved
  [INFO]  [ERROR] Line 7: The import java.lang.reflect cannot be
  resolved
  [INFO]  [ERROR] Line 213: Field cannot be resolved to a type
  [INFO]  [ERROR] Line 214: Field cannot be resolved to a type
  [INFO]  [ERROR] Line 248: BeanInfo cannot be resolved to a
  type
  [INFO]  [ERROR] Line 248: Introspector cannot be resolved
  [INFO]  [ERROR] Line 249: PropertyDescriptor cannot be
  resolved to a type
  [INFO]  [ERROR] Line 252: PropertyDescriptor cannot be
  resolved to a type
  [INFO]  [ERROR] Line 275: IntrospectionException cannot be
  resolved to a type
  [INFO]   [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
  net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
  pojo/gwt/LightEntity.java'
  [INFO]  [ERROR] Line 104: The return type is incompatible with
  ILightEntity.getProxyInformation(String)
  [INFO]   [ERROR] Errors in 'jar:file:/home/admin/.m2/repository/
  net/sf/gilead/gilead-core/1.3.0/gilead-core-1.3.0.jar!/net/sf/gilead/
  pojo/java5/legacy/LightEntity.java'
  [INFO]  [ERROR] Line 105: The return type is incompatible with
  ILightEntity.getProxyInformation(String)
  [INFO]Finding entry point classes
  [INFO]   [ERROR] Unable to find type 'fr.csie.client.Application'
  [INFO]  [ERROR] Hint: Previous compiler errors may have made
  this type unavailable
  [INFO]  [ERROR] Hint: Check the inheritance chain from your
  module; it may not be inheriting a required module or a module may not
  be adding its source path entries properly
  [INFO]
  
 
  I am using Maven2 and here are my dependencies for using Gilead :
 
  dependency
  groupIdnet.sf.gilead/groupId
  artifactIdadapter-core/artifactId
  version1.2.3/version
  /dependency
  dependency
  groupIdnet.sf.gilead/groupId
  artifactIdgilead4gwt/artifactId
  version1.3.0/version
  typejar/type
  /dependency
  dependency
  groupIdnet.sf.gilead/groupId
  artifactIdgilead-hibernate/artifactId
  typejar/type
  version1.3.0/version
  /dependency
  dependency
  groupIdnet.sf.gilead/groupId
  artifactIdhibernate-util/artifactId
  typejar/type
  version1.2.3/version
  /dependency
 
  Could anybody help me to understand why I get that error please ?
  Thank you very much !

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



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