上QQ阅读APP看书,第一时间看更新
Server-Side Development
Java EE can be seen as being made for server-side development. Most of the APIs are powerful for server-side processing and managing.
This chapter will provide you with some common and useful scenarios that you may face as a Java EE developer and will show you how you should deal with them.
In this chapter, we will cover the following recipes:
- Using CDI to inject context and dependency
- Using Bean Validation for data validation
- Using servlet for request and response management
- Using Server Push to make objects available beforehand
- Using EJB and JTA for transaction management
- Using EJB to deal with concurrency
- Using JPA for smart data persistence
- Using EJB and JPA for data caching
- Using batch processing