Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: AppyPappy
We do all business logic with PL/SQL called from Java in both batch and when we build the web page.

I used to do all of my business logic coding that way, also - in Transact-SQL stored procedures. It's technically a "violation" of the old three-tier client server architecture, but it was blazing fast, immune to user error (and power-user manipulation), and the company was not going to be moving away from SQL Server for the foreseeable future, anyway.

I have no doubt new college graduates would have been baffled and horrified - but my business users loved me. :)

63 posted on 04/20/2017 8:01:20 AM PDT by Mr. Jeeves ([CTRL]-[GALT]-[DELETE])
[ Post Reply | Private Reply | To 44 | View Replies ]


To: Mr. Jeeves

It is very reusable which I like. We have a vast store of SQL code lying around that we can adapt. Best of all, our enterprise system interface is written in Oracle Forms, which is all PL/SQL. We can mine procedures and functions all day.
My problem is dealing with cursors passed to Groovy. They were fast when we started but kept modding the queries which slowed them down. In hindsight, I should have used XML. Live and learn. Never pass cursors.


64 posted on 04/20/2017 8:06:28 AM PDT by AppyPappy (Don't mistake your dorm political discussions with the desires of the nation)
[ Post Reply | Private Reply | To 63 | View Replies ]

To: Mr. Jeeves

Hmmm - a portion of our business is rescuing businesses that have all their logic written in sprocs.

After several hundred no one can manage them. The same functionality gets repeatedly created, and the spaghetti multiplies.

Eventually the logic breaks, the app shuts down, the company shuts down, and we get a panic call promising us whatever amount of money we want. :-)

With a strict set of protocols and meticulous documentation stored procedures can be managed. But I advise clients to not use them except for special cases that might have critical speed or security requirements. Both of which have mostly gone away over the last few years.


76 posted on 04/20/2017 9:22:35 AM PDT by TheTimeOfMan (A time for peace and a time for war)
[ Post Reply | Private Reply | To 63 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson