• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pure EOF and gwt
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pure EOF and gwt


  • Subject: Re: Pure EOF and gwt
  • From: Andrus Adamchik <email@hidden>
  • Date: Thu, 18 Jul 2013 10:59:12 +0300

Maybe just use Cayenne. It is trivial to bootstrap in a Java webapp:

https://github.com/andrus/wowodc13
http://cayenne.apache.org/

Andrus

On Jul 18, 2013, at 10:39 AM, Pierre Gilquin <email@hidden> wrote:

> Hi all,
>
> I try to make a minimum app in gwt using pure (Wonder) EOF for accessing data.
>
>
> in the init I did :
> 	String pathToModel  = getServletContext().getRealPath("/Resources/MyModel.eomodeld");
> 	EOModelGroup.defaultGroup().addModelWithPath(pathToModel);
> 	ec = ERXEC.newEditingContext();
>
> and it works perfectly in dev mode.
>
>
> When copy in Tomcat, the  initialization of eof is not correct so I had :
> 	ERXExtensions.initEOF(new File("/Resources"),new String[0],false,false,true);
>
> without success.
>
> Is there a way to init EOF outside of a standard wonder wo app ?
>
>
> May be it's related to properties, how can I force to use my properties file inside the WEB-INF directory ?
>
>
> Thinks in advance
>
>
> Pierre
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Pure EOF and gwt
      • From: Pierre Gilquin <email@hidden>
References: 
 >Pure EOF and gwt (From: Pierre Gilquin <email@hidden>)

  • Prev by Date: Pure EOF and gwt
  • Next by Date: Re: Pure EOF and gwt
  • Previous by thread: Pure EOF and gwt
  • Next by thread: Re: Pure EOF and gwt
  • Index(es):
    • Date
    • Thread