• 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: Common application for different database users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Common application for different database users


  • Subject: Re: Common application for different database users
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 15 Aug 2007 10:51:27 +1000

Hi there,

On 14/08/2007, at 1:16 PM, Cheong Hee (Datasonic) wrote:

I have the same application that is currently used by different group of
users (or company). I did it in JavaMonitor and gave them different name
for application instances and initialized them with few own parameters in
JavaMonitor. So that when each group of them will access through:
www.mydomain.com/aaa after webserver redirection for group "aaa"
etc..
This made me maintains list of application instances.


The other option is to let user go to the common home page, and have a
selector to choose so that to differentiate the group of users.
But this could be an issue, as it means other groups/companies are exposed
to anyone who go to the common home page.


Is there any better way of design so that the same application could be used
to access their own database, while not to create list of different
application instances in JavaMonitor?

Here's the approach I took...
1) shared instance(s) for all
2) single-database for all
3) data kept unique via a Company table. All data has a relationship to company.
4) Company <-->> CompanyDomain etc to identify appropriate company's data on incoming request.
5) custom components/css can be optionally overridden per primary domain in an external folder on disk


It's been very flexible...

with regards,
--

Lachlan Deck



_______________________________________________
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: 
 >Common application for different database users (From: "Cheong Hee (Datasonic)" <email@hidden>)

  • Prev by Date: Re: Yes, even one more concurrency question - relationship "freshness"
  • Next by Date: Re: Common application for different database users
  • Previous by thread: Re: Common application for different database users
  • Next by thread: Printing dynamic WOImage with IE
  • Index(es):
    • Date
    • Thread