• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

A question from Whizlabs

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Following is a question from whiz labs where I did not agree with the answer given. Hoping to hear your thoughts.
A system consists of PL/SQL stored procedures and JSP/Tomcat cluster of web servers and an Oracle database. Every time there is a need for code change, developers run into problems. What is recommended in this situation ?
Out of all the given choices, one is to move PL/SQL business logic into Servlets and the other is to separate the business logic by using an App server.
The exam says moving to an App server is right because it is best to move the logic to app server and enterprise beans. And another reason is it already has JSP and Tomcat and so App server will integrate well in to this solution.
I would actually move the logic into servlets as there is no mention of transactions or sessions. And as the system already has JSP and Tomcat, Servlets would fit better than buying extra hardware for app server and extra money for licenses and increased over head.
Any justifications for either of the answers ?
Cheers,
Ram.
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the main point of this question is maintenance of code.
To reduce the code change, you shoud seperate business logic flow with other parts, thus, Application server with Enterprise Bean is best solution.
 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you can move the business logic to the application server, it can modularize the application in order to increase the manageability.

Benson
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic