This week's book giveaway is in the HTML, CSS and JavaScript forum.
We're giving away four copies of hapi.js in Action and have Matt Harrison on-line!
See this thread for details.
Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Precompiled JSP files

 
amit sanghai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi everybody,
What are the advantages and disadvantages of precompiled JSP files? Do they become dependent on the webserver and the platform on which they were compiled? Does precompiloing affects their scalability?
 
Heath Lilley
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think they become dependant because they are comiled to java byte code... Which makes me belive that the code is portable as long as the place you move it to has all the supporting packages and resources in the right place. Any how the precompled code means that the JSP will be ready to run on the first run. As opposed to it needing to be compieled at runtime(AKA when the JSP is first called). Hope this helps.
 
amit sanghai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There is a danger of Pre-compiling JSP files. This was a question in Brainbench. Please explain?.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!