Dong Shin 04.19.2012

  • got GWTRequestFactory working with hibernate JPA..
  • to create GWT Request Factory with Hibernate…
    1. create a domain model class, e.g., Person.java
    2. create a server service class that contains EntityManagerFactory, e.g., PersonService.java
    3. create a service locator class that extends Locatorr<T, ID>, e.g., PersonLocator.java
    4. create a proxy interface in Client that extends EntityProxy and defines ProxyFor, e.g., PersonProxy
    5. create a request interface that extends RequestContext and defines service, e.g, PersonRequest
    6. create a request factory interface that initialize the request in step 5, e.g., PersonRequestFactory
    7. create a persistence.xml that defines database properties and object relation mappings
    8. create a orm.xml that defines entities used in persistence.xml

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.