Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 06 Jan 2013 04:27:34 -0600 Date: Sun, 06 Jan 2013 10:27:32 +0000 From: lipska the kat User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120410 Thunderbird/11.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: Java servlet on browsers: dying or kicking ? References: <50d892e5$0$282$14726298@news.sunsite.dk> <50dbf6d1$0$80176$742ec2ed@news.sonic.net> <50dcfecc$0$292$14726298@news.sunsite.dk> <50dd5b51$0$80184$742ec2ed@news.sonic.net> <50de2260$0$293$14726298@news.sunsite.dk> <50df9c4b$0$284$14726298@news.sunsite.dk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Lines: 37 X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-ECUpVdd9/B5W3w6yNS0dthjaDAQuP2eglsVkxjwVzheLWD6Cp4FXwJqzJI3yvy3YBlVwOoqfF2fIT/Y!jTYKduHmkBt4q9NxS6zJAFZvRSLSFqGk3w4py107JjQUaOizpPcuEMI9w+4jw2GK32zPO1iRcLQ= X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3133 Xref: csiph.com comp.lang.java.programmer:21018 On 05/01/13 00:22, Richard Maher wrote: > "Arved Sandstrom" wrote in message > news:nUoEs.1$Z03.0@newsfe23.iad... >> On 12/29/2012 09:43 PM, Arne Vajh�j wrote: [snip] > But let's say they put all the business rules in the Business Layer > implemented in a Java or C# class. Who is going to inforce thos rules from > PHP Perl or Python access? This is a spurious argument. Any organization that allows unfettered access to it's data by random clients written in unsupported languages deserves everything it gets. Keeping business logic in a single place is all about maintainability. Providing meaningful access to the most valuable asset your organization has is exactly what good design is all about. The logical extension of your argument is to do everything in the database. You're not a DBA by any chance are you ? I have no objection to using referential integrity constraints as a backup to a good understanding of your business model but I can see no situation where scattering business logic over multiple tiers/layers/whatever is anything other than poor/lazy design. Flexibility comes from providing a meaningful interface to your business state so that clients can access it using whatever means they desire be this Python or Ada or Eiffel of Haskell or any one of an apparently unending stream of 'latest greatest' languages. lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun