• 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: How do I configure an EOModel's connection info if it comes from a framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I configure an EOModel's connection info if it comes from a framework


  • Subject: Re: How do I configure an EOModel's connection info if it comes from a framework
  • From: Riccardo De Menna <email@hidden>
  • Date: Thu, 03 Oct 2013 09:09:11 +0200

Thanks to all guys,

I'll go the properties way ;-)

regards,
Riccardo De Menna

On 03/ott/2013, at 06:50, Klaus Berkling <email@hidden> wrote:

>
> On Oct 2, 2013, at 3:04 PM, Riccardo De Menna <email@hidden> wrote:
>
>> I have a question regarding how to configure an EOModel. The model is complete with connection info, db driver setup and so on and it works fine.
>> How should I behave if I wanted it to be more of an abstract thing and stick it into a framework so that different apps can include it, but replace their specific connection info that is relevant to them only?
>
>
>
> The Property files are your friend. :-)
>
> I have two apps, admin front-end and user front-end. Both apps use the same EOModel framework.
> All the connection information is in the property file from each of the apps. Since each app runs on different servers the connection information can be different (e.g. localhost vs db.something.com, or different db usernames)
> In addition I use Properties.<username> in my development environments (work & home).
> You can also add the connection information to the command line arguments in JavaMonitor, which is what I do on my test server.
>
>
> kib
>
> Klaus Berkling
> www.berkling.us | @kiberkli
>
>
>
>
> _______________________________________________
> 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


References: 
 >How do I configure an EOModel's connection info if it comes from a framework (From: Riccardo De Menna <email@hidden>)
 >Re: How do I configure an EOModel's connection info if it comes from a framework (From: Klaus Berkling <email@hidden>)

  • Prev by Date: Re: How do I configure an EOModel's connection info if it comes from a framework
  • Next by Date: Re: Learning the wonders available as ebook and in print
  • Previous by thread: Re: How do I configure an EOModel's connection info if it comes from a framework
  • Next by thread: WOBrowser selectedValues
  • Index(es):
    • Date
    • Thread