• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A question from Whizlabs

 
Ram Krishna
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • 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.
 
Chen ZhiJiang
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • 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.
 
Benson Fung
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic