Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Netbeans

You're reading from  Mastering Netbeans

Product type Book
Published in Aug 2015
Publisher
ISBN-13 9781785282645
Pages 348 pages
Edition 1st Edition
Languages
Toc

Table of Contents (17) Chapters close

Mastering NetBeans
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with NetBeans 2. Editing Files and Projects 3. The NetBeans Developer's Life Cycle 4. Managing Services 5. Database Persistence 6. Desktop Development 7. Creating the Business Layer 8. Creating the Web Tier 9. Creating and Consuming Web Services 10. Extending NetBeans Index

Adding components to a web application


Once a web application project has been created in NetBeans, either as a standard NetBeans project or a Maven project, we can add additional components into the project. These components can be anything from frontend code such as HTML or CSS files, server-rendered code such as JSF pages, or general utility classes such as service locators that can help when developing applications.

Using the New File wizard and selecting the Web category, we can add the following types of files:

  • JSP: This creates a new JSP page or JSP segment using either standard or XML-based JSP syntax.

  • JSF Page: This creates a new JSF page using either Facelets or JSP as the view engine.

  • Servlet: This provides the ability to create a new servlet. The servlet can be optionally registered within the web.xml file or can be registered using annotations.

  • Filter: This provides the ability to create a new filter. The HTTP request mappings or servlet that apply to the filter can be specified...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}