Thursday Mar 31, 2005

Compiling JSP files

When you build a project, the project's JSP files are only built if you have selected the "Test compile all JSP files during builds" checkbox (in the Compiling panel of the Project Properties dialog box). (Until yesterday, I had assumed that JSP files are compiled when a project is built.) This is pretty cool. If the JSP files were automatically included in the build, you might have to wait a very long time for your builds to complete -- because each JSP file is translated to a servlet before it is compiled. With the Tomcat Web Server (not sure yet about Sun Java System Application Server), the only time when a JSP file is automatically compiled is when it is accessed by a user, which means that your web application could be up and running for weeks and weeks before compilation errors are discovered... So setting that checkbox (or manually compiling JSP files) is pretty useful, even though it might slow a lot of things down, because otherwise compilation errors might be discovered when it's too late.

By the way, you can also view the translated JSP file (right-click the JSP file and choose "View Servlet"). But this is only possible after you have deployed it. This, in turn, means that the servlet you see is the one that is created by the server, which could be slightly different to the one that the IDE creates.

Welcome to me!

My name is Geertjan. I'm Dutch, raised in South Africa. Over the last few years I've been living and working in the Netherlands, Austria, then in the Czech Republic, and now in Amsterdam. I started working for NetBeans in May of 2004. I was a technical writer in the NetBeans Docs team in Prague, now a Product Manager for NetBeans. Before joining the NetBeans team, I worked as a technical writer for Coca-Cola in Vienna, Compuware in Amsterdam, Seagull Software near Rotterdam, and Four Seasons Software (which became SuperNova and was then taken over by WRQ in Seattle) near Utrecht.

Occasionally Asked Questions About Me And This Blog:

  • This blog seems to be all about "NetBeans". What kind of vegetable is that? Not a vegetable, my friend. Just the free and open source development environment, for programming languages such as Java, provided by Sun Microsystems. You can think of a development environment as being something like what "Open Office" or "Word" is to a writer of books or articles. Instead of books and articles, NetBeans is for writing programs, either for the web, for your desktop, or for your mobile phone. The generic term for this kind of tool is "integrated development environment" or, in short, "IDE". Find out more about NetBeans IDE here.

  • So where in the world are you, in real life? In Amsterdam, the Netherlands, after having lived in beautiful Prague, the capital of the Czech Republic, for several years, where NetBeans was originally created, in 1997. I've been part of the NetBeans team since 2004, now working from home in Amsterdam since 2010.

  • What is your official job at NetBeans? For the NetBeans open-source project, I am a product manager, after having been responsible for all documentation that relates to web services, NetBeans module development, and rich-client application development on the NetBeans Platform. (I also wrote a lot of the help files and tutorials that relate to web applications.) So, I'm responsible for the help file sections (choose "Help > Help Contents" in the IDE) for these areas as well as the on-line documents, such as quick start guides and tutorials.

  • Are you involved in other activities relating to NetBeans? Yes, I occasionally do presentations (like at Sun Tech Days, JavaOne, and NL-JUG conferences). I also contributed to the 2nd edition of the NetBeans Field Guide. And I contribute to some open source projects on dev.java.net, such as jMaki, BluePrints and NBWicketSupport. One thing I've really enjoyed is giving trainings on NetBeans IDE and on the NetBeans Platform, which I've done in "live" classroom settings as well as in on-line courses via Elluminate.

  • Do you have a recentish picture of yourself? Yes. Here it is:

  • Come on! Did anyone ever really ask the previous question? Well, no. I actually just needed an excuse to post my picture (because apparently that's the polite thing to do in a blog).

  • What's this blog about? I use this blog to record interesting new discoveries that I keep making while using the IDE. There've been so many times that I've thought, "Wow. This is really cool." But then a week or so later I've forgotten all about it because there's something else that I've discovered that is cool. And maybe someone out there will benefit from my discoveries. (By the way, this blog was inspired by my NetBeans colleague Roman Strobl.)

  • Is everything in this blog official gospel truth reflecting Sun policy and strategy? No. It is just my personal view on things. And you'll not find much on Sun policy and strategy here. It is all about NetBeans, how to use it, what it can do for you, some hidden tips and tricks, and my new learnings and insights. And they could all be wrong. Use at your very own risk.

  • What am I supposed to do with your blog? Read it and enjoy it! And ask questions when things don't make sense. Also, if you have anything to say about anything you find in this blog, or if anything is unclear in any way, either leave a comment in this blog or write to me at my personal e-mail address: g_wielenga@yahoo.com.


Locations of visitors to this page


About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
March 2005 »
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
       
Today