正在加载图片...
CONTENTS 3.3 Stateful session beans 93 Additional programming rules 94 The BidderAccountCreator Bean example 94 Business interfaces for stateful beans 98Stateful bean lifecycle callbacks 98 3.4 Session bean clients 102 Using the @E[B annotation 104.Injection and stateful session beans 104 3.5 Performance considerations for stateful beans 105 Using stateful session beans effectively 105.Stateful session bean alternatives 107 3.6 Session bean best practices 108 3.7 Summary 109 4 Messaging and developing MDBs 110 4.1 Messaging concepts 111 Message-oriented middleware 112.Messaging in ActionBazaar 112.Messaging models 114 4.2 Introducing Java Messaging Service 117 Developing the JMS message producer 117.The JMS message interface 119 4.3 Working with message-driven beans 121 @MessageDriven annotation 127.Implementing the MessageListener 127.Using ActivationConfigProperty 128 Using bean lifecycle callbacks 132.Sending IMS messages from MDBs 135.Managing MDB transactions 136 4.4 MDB best practices 137 4.5 Summary 139 5 Learning advanced EJB concepts 140 5.1 EIB internals 141 EJB behind the scenes 141.E[B context:accessing the runtime environment 143CONTENTS xi 3.3 Stateful session beans 93 Additional programming rules 94 The BidderAccountCreatorBean example 94 Business interfaces for stateful beans 98 ■ Stateful bean lifecycle callbacks 98 3.4 Session bean clients 102 Using the @EJB annotation 104 ■ Injection and stateful session beans 104 3.5 Performance considerations for stateful beans 105 Using stateful session beans effectively 105 ■ Stateful session bean alternatives 107 3.6 Session bean best practices 108 3.7 Summary 109 4 Messaging and developing MDBs 110 4.1 Messaging concepts 111 Message-oriented middleware 112 ■ Messaging in ActionBazaar 112 ■ Messaging models 114 4.2 Introducing Java Messaging Service 117 Developing the JMS message producer 117 ■ The JMS message interface 119 4.3 Working with message-driven beans 121 Why use MDBs? 122 ■ Programming rules 124 Developing a message consumer with MDB 124 ■ Using the @MessageDriven annotation 127 ■ Implementing the MessageListener 127 ■ Using ActivationConfigProperty 128 Using bean lifecycle callbacks 132 ■ Sending JMS messages from MDBs 135 ■ Managing MDB transactions 136 4.4 MDB best practices 137 4.5 Summary 139 5 Learning advanced EJB concepts 140 5.1 EJB internals 141 EJB behind the scenes 141 ■ EJB context: accessing the runtime environment 143
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有