Name and save the new application

This part’s a little awkward. You can use the Browse button to navigate through your own directory tree, but the easiest way to name and save the application is to type the complete path to the file you’re about to create. The thing we’re making is not the bean itself—you can think of it more like a document that holds all the information about the application. As a convention, we save the application in the projects/[whatever] directory—the directory corresponding to that particular project. For the Advice bean, that means the projects/ advice directory. If you started the server from the projects/advice directory (in other words, if advice is your current working directory), then you’ll get the right name and location by default.

Name the application AdviceApp

If needed, include the full path to projects/advice/AdviceApp

Click OK

image with no caption

Don’t worry about the Application Display Name field; the tool will automatically fill it in with the file name from the Application File Name field.

Get Head First EJB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.