This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
While you can view the .launch file in a text editor, it is more interesting and intuitive to look at it differently. If you go to the Run menu and choose "Run as", you can view the launch configuration. It shows a nice wizard with all the options.
The .launch file is the stored settings, so you can run the same launch configuration in the future or share it with others.
Also, in JBoss Eclipse, for each project, you can configure how the file will be packaged: what go into a WAR, what go into a JAR, etc. Eclipse 3.3 doesn't seem to have this option. So, to produce a EAR for deployment, do I have to use some external build tool, like Ant or Maven?
author & internet detective
That's a config file used by the Eclipse Run and Debug functions and it defines the run/debug environment for an Eclipse run unit - which can be a webapp test, stand-alone application, junit test(s) or certain other things, such as Maven builds.
Those files are normally kept in the workspace .metadata directory and should therefore be, in effect, invisible. Every Eclipse workspace for every eclipse user should be a distinct entity and not shared or stored under version control, so you should normally never know that they exist, to say nothing of what's in them.
Then again, it can be really annoying when you have a complex test environment and want to move the project to another machine. There's no way to export that stuff via the Eclipse IDE that I know of. So it's possible that some clever person took advantage of some inside knowledge and manually made a copy of it.
Although, because it's not an "official" Eclipse file format, use it with care.
Customer surveys are for companies who didn't pay proper attention to begin with.