售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Java EE 7 Development with NetBeans 8
Table of Contents
Java EE 7 Development with NetBeans 8
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with NetBeans
Introduction
Obtaining NetBeans
Installing NetBeans
Microsoft Windows
Mac OS X
Linux
Other platforms
Installation procedure
Starting NetBeans for the first time
Configuring NetBeans for Java EE development
Integrating NetBeans with a third-party application server
Integrating NetBeans with a third-party RDBMS
Adding a JDBC driver to NetBeans
Connecting to a third-party RDBMS
Deploying our first application
NetBeans tips for effective development
Code completion
Code templates
Keyboard shortcuts
Understanding NetBeans visual cues
Accelerated HTML5 development support
Summary
2. Developing Web Applications Using JavaServer Faces 2.2
Introduction to JavaServer Faces
Developing our first JSF application
Creating a new JSF project
Modifying our page to capture user data
Creating our CDI named bean
Implementing the confirmation page
Executing our application
JSF validation
Facelets templating
Adding the Facelets template
Using the template
Resource library contracts
Composite components
Faces flows
HTML5 support
HTML5-friendly markup
Pass-through attributes
Summary
3. JSF Component Libraries
Using PrimeFaces components in our JSF applications
Using ICEfaces components in our JSF applications
Using RichFaces components in our JSF applications
Summary
4. Interacting with Databases through the Java Persistence API
Creating our first JPA entity
Adding persistent fields to our entity
Creating a data access object
Automated generation of JPA entities
Named queries and JPQL
Bean Validation
Entity relationships
Generating JSF applications from JPA entities
Summary
5. Implementing the Business Tier with Session Beans
Introducing session beans
Creating a session bean in NetBeans
Accessing the bean from a client
Executing the client
Session bean transaction management
Implementing aspect-oriented programming with interceptors
Implementing the Interceptor class
Decorating the EJB with the @Interceptors annotations
The EJB Timer service
Generating session beans from JPA entities
Summary
6. Contexts and Dependency Injection
Introduction to CDI
Qualifiers
Stereotypes
Interceptor binding types
Custom scopes
Summary
7. Messaging with JMS and Message-driven Beans
Introduction to JMS
Creating JMS resources from NetBeans
Implementing a JMS message producer
Consuming JMS messages with message-driven beans
Seeing our messaging application in action
Summary
8. Java API for JSON Processing
The JSON-P object model API
Generating JSON data with the JSON-P object model API
Our example in action
Parsing JSON data with the JSON-P object model API
The JSON-P streaming API
Generating JSON data with the JSON-P streaming API
Parsing JSON data with the JSON-P streaming API
Summary
9. Java API for WebSocket
Examining the WebSocket code using samples included with NetBeans
The sample Echo application in action
Examining the generated Java code
Examining the generated JavaScript code
Building our own WebSocket applications
Developing the user interface
Developing the WebSocket server endpoint
Implementing WebSocket functionality on the client
Summary
10. RESTful Web Services with JAX-RS
Generating a RESTful web service from an existing database
Analyzing the generated code
Testing our RESTful web service
Generating RESTful Java client code
Generating RESTful JavaScript clients for our RESTful web services
Summary
11. SOAP Web Services with JAX-WS
Introduction to web services
Creating a simple web service
Testing our web service
Developing a client for our web service
Exposing EJBs as web services
Implementing new web services as EJBs
Exposing existing EJBs as web services
Creating a web service from an existing WSDL
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜