CHAPTER 1: Introducing Java Web Development 15
- Type chapter1 in the “Project name” field.
- Click Finish. You can change a number of other options here. However, for
our purposes, the default settings work just fine.
Creating the Application
To create a class with a main method for your first program, follow these steps:
- Right-click the chapter1 project in the Eclipse Package Explorer, choose
New, and then choose Class. The New Java Class window displays, as
shown in Figure 1-8.
Figure 1-8. Creating a Java class