Steve
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
I'll state it a bit more strongly and say that that is borderline insane! It goes in the exact opposite direction of all notions of best practices and logic. You can tell them I said so.Originally posted by Steve Luke:
In my opinion that is a real bad reason for converting servlets to JSPs.
In order to accomplish this, you'd have to have all Java code in the JSPs. No classes, no beans, no tags, no tag files. What a complete and utter mess it would be!
I think it's perfectly reasonable, in fact an important part of an engineer's job, to bring up objections to bad ideas. All in a professional way of course.Originally posted by Sam Doder:
I thought it wasn't a good idea but I cann't argue with the boss to much so.
It won't work at all. Including isn't anywhere the same thing as extending. You'd need to flatten any extending into a single class.And if a servlet extended another class convert it into a jsp include statment. I know this will not work very well.
You rarely need to shut down the server. Most app servers will allow you to simply restart an affected web application. Does your boss know anything about web applications?Does anybody know how to beable to get the updating of a file without shuting down the server?
Not really. The JSP engine detects when the JSP has changed and re-translates it. It then uses a custom class-loader to reload it on-the-fly.I know with jsp you can set the time for it to recompile updated jsp files.
As I said, you don't need to shut down the server. Simply restart the web app. But there's no getting around the web app restart.But when I make a change to a servlet file I want it, to act exactly like a jsp. In that when I modify a servlet I don't have to shutdown and restart the server before the changes take place.
As I said, you don't need to shut down the server. Simply restart the web app. But there's no getting around the web app restart.
Seems to me that Bear suggested doing exactly that.Originally posted by Sam Doder:
Because I don't want to shutdown the whole entire application server either, because I have more then one application running on the application server.
So is their away to only shutdown/restart a piece of the application server.
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|