معرفی کتاب «EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g: A complete guide to EJB 3.0 database persistence with Oracle Fusion Middleware 11g» نوشتهٔ Deepak Vohra; ProQuest (Firm)، منتشرشده توسط نشر Packt Publishing در سال 2010. این کتاب در 5 صفحه، فرمت pdf، زبان انگلیسی ارائه شده است.
A complete guide to building EJB 3.0 database persistent applications with Oracle Fusion Middleware 11g tools Integrate EJB 3.0 database persistence with Oracle Fusion Middleware tools: WebLogic Server, JDeveloper, and Enterprise Pack for Eclipse Automatically create EJB 3.0 entity beans from database tables Learn to wrap entity beans with session beans and create EJB 3.0 relationships Apply JSF and ADF Faces user interfaces (UIs) to EJB 3.0 database persistence A practical guide illustrated with examples to integrate EJB 3.0 database persistence with Ajax and Web Services In Detail EJB (Enterprise JavaBeans) 3.0 is a commonly used database persistence technology in Java EE applications. EJB 3.0 has simplified the development of EJBs with an annotations-based API that eliminates the use of remote/local interfaces, home/local home interfaces, and deployment descriptors. A number of other books are available on EJB 3.0, but none covers EJB 3.0 support in Oracle Fusion Middleware 11g, which is one of the leaders in the application server market. This is the first book that covers all aspects of EJB 3.0 database persistence development using Oracle Fusion Middleware technology. It covers all the best practices for database persistence ensuring that your applications are easily maintainable. Leaving theory behind, this book uses real-world examples to guide you in building your own EJB 3.0 applications that are well integrated with commonly used Java EE frameworks. The book gets going by discussing the new features in the EJB 3.0 specification. As some readers may still be using EJB 2.0, the book explains how to convert your EJB 2.0 entity beans to EJB 3.0. It then goes on to discuss using EJB 3.0 database persistence with JDeveloper, WebLogic Server, and Enterprise Pack for Eclipse, the main Java EE components of Oracle Fusion Middleware 11g. The book also covers EJB 3.0 relationships and integrating EJB 3.0 relationships with JSF user interfaces. EJB 3.0 database persistence with some of the commonly used frameworks such as ADF Faces, AJAX, and Web Services is also discussed in the book. It uses the integrated WebLogic Server 11g in some of the chapters and the standalone WebLogic Server in other chapters. While JDeveloper is the primary Java IDE used in the book, one of the chapters is based on the Oracle Enterprise Pack for Eclipse. By the time you reach the end of this book, you will be well-versed with developing EJB 3.0 applications using the different Java EE components of Oracle Fusion Middleware 11g. A practical guide illustrated with examples for developing EJB 3.0 applications integrated with commonly used Java EE frameworks such as JSF, Web Services, Ajax, and ADF Faces What you will learn from this book Explore the new features in the EJB 3.0 specification Convert an EJB 2.0 entity bean to EJB 3.0 in JDeveloper Create EJB 3.0 entity beans from database tables automatically in JDeveloper Implement EJB 3.0 database persistence with JDeveloper, WebLogic Server, and Enterprise Pack for Eclipse Wrap an entity bean with a session bean Build a client for an EJB 3.0 entity bean application Develop an ADF Faces user interface (UI) for entity beans Create EJB 3.0 entity relationships Design JSF UIs for EJB 3.0 entity relationships Integrate EJB 3.0 database persistence with an AJAX user interface (UI) Build EJB 3.0 Web Services from entity beans Approach This is a practical, tutorial-style book that includes many examples that demonstrate how to develop EJB 3.0 database persistence applications with Oracle Fusion Middleware 11g. Every chapter starts with setting the environment for the chapter and includes an example application illustrated with figures at milestone stages. Who this book is written for This book is aimed at EJB 3.0 application developers who want to learn about the practical use of EJB 3.0 database persistence with Oracle Fusion Middleware. Those who are already using EJB 3.0 database persistence will learn about using EJB 3.0 database persistence with Oracle Fusion Middleware 11g. The target audience is expected to have some prior knowledge about Java EE, EJBs, EJB 3.0, JSF, AJAX, web services, and XML. This book is ideal for those developers who have working knowledge of JDeveloper and WebLogic server, and wish to learn about the practical use of EJB 3.0 with Oracle Fusion Middleware. Cover 1 Copyright 3 Credits 4 About the Author 5 About the Reviewers 6 Table of Contents 8 Preface 14 Chapter 1: What's New in EJB 3.0 20 Metadata annotations 20 Configuration defaults 23 Environmental dependencies and JNDI Access 23 Simplified Session Beans 25 Simplified entity beans 28 Java Persistence API 33 Interceptors 34 Simplified checked exceptions 35 Callback Interfaces 35 Summary 35 Chapter 2: Converting an EJB 2.0 Entity to an EJB 3.0 Entity 36 Setting the environment 36 Adding an Application 37 Creating an XML deployment descriptor 39 Creating stylesheets 40 Converting the entity class 42 The EJB 2.0 entity 44 The XSLT stylesheet 46 Generating the EJB 3.0 entity 55 Developing a session façade for an entity 60 The XSLT stylesheet 62 Generating the session Façade 66 Summary 73 Chapter 3: EclipseLink JPA Persistence Provider 74 Specifying the EclipseLink persistence provider 75 The JPA framework 76 Advantages of JPA 77 What is required for JPA? 78 Types of entity managers 78 Container-managed entity manager 79 Application-managed entity manager 79 EclipseLink JPA 80 Metadata annotations 80 XML mapping metadata 80 Entity identity 81 Entity relationships 81 EclispeLink JPA Persistence unit properties 82 Summary 87 Chapter 4: Building an EJB 3.0 Persistence Model with Oracle JDeveloper 88 Setting the environment 89 Creating a datasource in JDeveloper 91 Creating an EJB 3 application 94 Creating an EJB 3 entity bean 99 Mapping an Oracle database table to an entity bean 99 The entity bean class 105 Creating a session bean 108 The session bean class 111 Creating and testing a test client 116 Creating a client 116 Testing the client 119 Summary 121 Chapter 5: EJB 3.0 Persistence with Oracle Enterprise Pack for Eclipse 122 Setting the environment 123 Installing required products 123 Creating a MySQL database table 123 Configuring WebLogic Server with MySQL database 124 Creating a data source 125 Deploying the data source 128 Testing the data source 129 Creating a JPA project in Eclipse 130 Creating an EJB 3.0 entity bean 141 The EJB 3.0 entity class 143 Creating a Persistence Configuration file 145 Creating a session bean 147 The session bean class 148 Creating a test client 155 Deploying the entity in WebLogic Server 158 Testing the EJB 3.0 entity client 165 Summary 166 Chapter 6: EJB 3.0 with ADF Faces UI 168 Setting the environment 168 Creating a datasource in JDeveloper 169 Creating an EJB 3 application 170 Creating an EJB 3 entity bean from Oracle database 175 The Entity class 179 The persistence configuration file 181 Creating a session bean 183 The session bean class 186 Creating an Oracle ADF Faces client user interface 189 Creating a JSF page 191 Adding ADF Faces components 193 The index JSF page 193 The JSF page to create an Entity 196 The JSF page to find an Entity 201 The catalog entry JSF page 203 The managed bean 208 The JSF configuration file 211 The web application configuration file 213 Testing the Oracle ADF Faces user interface 215 Creating an Entity instance 216 Finding an Entity instance 217 Summary 218 Chapter 7: Creating EJB 3.0 Entity Relationships 220 EJB 3.0 entity relationship annotations 221 Setting the environment 225 Creating database tables 225 Creating an EJB project 226 Creating the entity beans 228 The Entity classes 233 The Catalog entity class 233 The Edition entity class 236 The Section entity class 238 The Article entity class 241 Creating a session bean 243 The Session Bean class 246 Creating the client 259 Testing the client 262 Modifying the fetch strategy 265 Summary 270 Chapter 8: EJB 3.0 Database Persistence with Ajax in the UI 272 The XMLHttpRequest Object 273 Setting the environment 275 Installing WebLogic Server 276 Creating an EJB 3.0 application in JDeveloper 280 Creating a database connection 282 Creating an entity bean 289 The entity bean class 292 The Entity configuration file 294 Creating a session bean 295 The session bean class 296 Creating a servlet client 298 The Servlet class 301 Creating an Ajax user interface 304 Sending an Ajax request 305 Processing the server response 307 The Ajax user interface JSP 308 Creating an application deployment descriptor 312 Deploying the EJB 3 application to WebLogic Server 314 Creating a build file 315 Deploying the EJB 3.0 application 319 Testing the Ajax input form 321 Summary 324 Chapter 9: Using JSF with Entity Relationships 326 Setting the environment 327 Creating database tables 327 Creating an EJB 3.0 application 327 Creating a database connection 329 Creating entity beans from tables 330 Edition entity 332 Section entity 337 Article entity 340 Entity Persistence Configuration file 343 Creating a session bean 344 Session bean class 345 Creating JSF user interfaces 355 Adding JSF components to the article JSF page 357 Managed bean for the article JSF page 367 Adding JSF components to the section JSF page 375 Managed bean for the section JSF page 377 Adding JSF components to the Edition JSF page 381 Managed bean for the Edition JSF page 383 Adding JSF page navigation 386 Web configuration file 388 Running the JSF user interfaces 389 Creating an Edition entity 390 Creating a Section entity 391 Creating an Article entity 392 The database persisted entities 393 Summary 395 Chapter 10: Creating an EJB 3.0 Web Service 396 Setting the environment 397 Creating a JDeveloper application 397 Creating a database connection 398 Creating a data source in the WebLogic server 399 Creating an entity bean 404 The Entity class 406 The entity Persistence Configuration file 409 Creating a stateless session bean 409 The session bean class 411 Creating a Web Service class 416 Creating a web service client 418 Creating and packaging Web Service classes 420 Testing the web service 425 Building the client 425 Testing the client 430 Summary 433 Index 434 Design, implement and support complex Oracle 11g RAC environments for real world deployments Overview of Oracle 11g R1 / R2 Real Application Clusters Handbook Design, implement and support complex Oracle 11g RAC environments Understand sophisticated components that make up your Oracle RAC environment such as the role of High Availability, the required RAC architecture, the RAC installation and upgrade process and much more! Get hold of new RAC components such as ASM (Automatic Storage Management) features, performance tuning, and troubleshooting Deploy Oracle 11g with complex standard off-the-shelf ERP systems like Oracle EBS Packed with practical, real-world examples, expert tips, and troubleshooting advice on how to administer a complex Oracle 11g RAC environment Bonus Oracle 11g RAC R2 information included In Detail RAC or Real Application Clusters is a grid computing solution that allows multiple nodes (servers) in a clustered system to mount and open a single database that resides on shared disk storage. Should a single system (node) fail, the database service will still be available on the remaining nodes. RAC is an integral part of the Oracle database setup: one database, multiple users accessing it, in real time. This book will enable DBAs to get their finger on the pulse of the Oracle 11g RAC environment quickly and easily. This practical handbook documents how to administer a complex Oracle 11g RAC environment. It covers all areas of the Oracle 11g R1 RAC environment, with bonus R2 information included, and is indispensable if you are an Oracle DBA charged with configuring and implementing Oracle11g. It presents a complete method for the design, installation, and configuration of Oracle 11g RAC, ultimately enabling rapid administration of Oracle 11g RAC environments. Packed with real-world examples, expert tips, and troubleshooting advice, the book begins by introducing the concept of RAC and High Availability. It then dives deep into the world of RAC design, installation, and configuration, enabling you to support complex RAC environments for real-world deployments. Chapters cover RAC and High Availability, Oracle 11g RAC Architecture, Oracle 11g RAC Installation, Automatic Storage Management, Troubleshooting, Workload Management, and much more. By following the practical examples in the book, you will learn every concept of the RAC environment and how to successfully support complex Oracle 11g R1 and R2 RAC environments for various deployments in real-world situations. What you will learn from this book Administer, implement, and manage Oracle 11g RAC environments for real-world deployments Understand the high availability concepts and solutions that are available for Oracle 11g RAC Discover the key architectural design and installation techniques required to successfully deploy Oracle 11g RAC Add functionality to your RAC environment by incorporating new RAC features such as Automatic Storage Management Effectively manage the complex 11g Clusterware, using key troubleshooting tips and techniques. Successfully implement database creation methods, manage the RAC database, and handle workload in your RAC environment efficiently Plan your backup and recovery strategy appropriately Know when and how to upgrade your RAC environment effectively Deploy Oracle 11g RAC with complex standard-off-the-shelf systems like Oracle EBS Understand key new features for 11g R1/R2 RAC and ASM Approach This is a handbook aimed at DBAs, which documents how to administer a complex Oracle 11g RAC environment. It covers new RAC components such as new features of ASM (Automatic Storage Management), performance tuning, and troubleshooting. It contains real-world examples, expert tips, and troubleshooting advice. This book focuses on Oracle RAC 11g R1 with additional 11g R2 information included. Who this book is written for If you are an Oracle DBA who wants to administer Real Application Clusters, then this book is for you. Basic understanding of Oracle DBA is required, but no experience of RAC is needed.
In Detail
EJB (Enterprise JavaBeans) 3.0 is a commonly used database persistence technology in Java EE applications. EJB 3.0 has simplified the development of EJBs with an annotations-based API that eliminates the use of remote/local interfaces, home/local home interfaces, and deployment descriptors. A number of other books are available on EJB 3.0, but none covers EJB 3.0 support in Oracle Fusion Middleware 11g, which is one of the leaders in the application server market.
This is the first book that covers all aspects of EJB 3.0 database persistence development using Oracle Fusion Middleware technology. It covers all the best practices for database persistence ensuring that your applications are easily maintainable. Leaving theory behind, this book uses real-world examples to guide you in building your own EJB 3.0 applications that are well integrated with commonly used Java EE frameworks.
The book gets going by discussing the new features in the EJB 3.0 specification. As some readers may still be using EJB 2.0, the book explains how to convert your EJB 2.0 entity beans to EJB 3.0. It then goes on to discuss using EJB 3.0 database persistence with JDeveloper, WebLogic Server, and Enterprise Pack for Eclipse, the main Java EE components of Oracle Fusion Middleware 11g. The book also covers EJB 3.0 relationships and integrating EJB 3.0 relationships with JSF user interfaces. EJB 3.0 database persistence with some of the commonly used frameworks such as ADF Faces, AJAX, and Web Services is also discussed in the book. It uses the integrated WebLogic Server 11g in some of the chapters and the standalone WebLogic Server in other chapters. While JDeveloper is the primary Java IDE used in the book, one of the chapters is based on the Oracle Enterprise Pack for Eclipse.
By the time you reach the end of this book, you will be well-versed with developing EJB 3.0 applications using the different Java EE components of Oracle Fusion Middleware 11g.
A practical guide illustrated with examples for developing EJB 3.0 applications integrated with commonly used Java EE frameworks such as JSF, Web Services, Ajax, and ADF Faces
Approach
This is a practical, tutorial-style book that includes many examples that demonstrate how to develop EJB 3.0 database persistence applications with Oracle Fusion Middleware 11g. Every chapter starts with setting the environment for the chapter and includes an example application illustrated with figures at milestone stages.
Who this book is for
This book is aimed at EJB 3.0 application developers who want to learn about the practical use of EJB 3.0 database persistence with Oracle Fusion Middleware. Those who are already using EJB 3.0 database persistence will learn about using EJB 3.0 database persistence with Oracle Fusion Middleware 11g. The target audience is expected to have some prior knowledge about Java EE, EJBs, EJB 3.0, JSF, AJAX, web services, and XML. This book is ideal for those developers who have working knowledge of JDeveloper and WebLogic server, and wish to learn about the practical use of EJB 3.0 with Oracle Fusion Middleware.
In Detail
Every day, architects and developers are asked to solve specific business problems in the most efficient way possible using a broad range of technologies. Packed with real-world examples of how to use the latest Microsoft technologies, this book tackles over a dozen specific use case patterns and provides an applied implementation with supporting code downloads for every chapter.
In this book, we guide you through thirteen architectural patterns and provide detailed code samples for the following technologies: Windows Server AppFabric, Windows Azure Platform AppFabric, SQL Server (including Integration Services, Service Broker, and StreamInsight), BizTalk Server, Windows Communication Foundation (WCF), and Windows Workflow Foundation (WF). This book brings together - and simplifies - the information and methodology you need to make the right architectural decisions and use a broad range of the Microsoft platform to meet your requirements. Throughout the book, we will follow a consistent architectural decision framework which considers key business, organizational, and technology factors.
The book is broken up into four sections. First, we define the techniques and methodologies used to make architectural decisions throughout the book. In Part I, we provide a set of primers designed to get you up to speed with each of the technologies demonstrated in the book. Part II looks at messaging patterns and includes use cases which highlight content-based routing, workflow, publish/subscribe, and distributed messaging. Part III digs into data processing patterns and looks at bulk data processing, complex events, multi-master synchronization, and more. Finally, Part IV covers performance-related patterns including low latency, failover to the cloud, and reference data caching.
Expert assessment and implementation guidance across 13 Enterprise scenarios
Approach
The book consists of a set of business scenarios and corresponding solution critiques. Each "use case" chapter is made up of a problem description, assessment of implementation options, and the selection of the ideal solution candidate. We then construct the solution using the chosen Microsoft technology.
Who this book is for
This book is for architects, developers, and managers who need to improve their knowledge of the Microsoft application platform. This book will appeal to anyone who wants to get up to speed on selecting the most appropriate platform for a particular problem. Consultants and executive leadership will also find significant value in this book. A good understanding of the general Windows platform and development technologies would be helpful.
In Detail
SOA is about architecture, not products and SOA enables you to create better business processes faster than ever. While BizTalk Server 2009 is a powerful tool, by itself it cannot deliver long-lasting, agile solutions unless we actively apply tried and tested service-oriented principles.
The current BizTalk Server books are all for the 2006 version and none of them specifically looks at how to map service-oriented principles and patterns to the BizTalk product. That's where this book fits in. In this book, we specifically investigate how to design and build service-oriented solutions using BizTalk Server 2009 as the host platform.
This book extends your existing BizTalk knowledge to apply service-oriented thinking to classic BizTalk scenarios. We look at how to build the most reusable, flexible, and loosely-coupled solutions possible in the BizTalk environment. Along the way, we dive deeply into BizTalk Server's integration with Windows Communication Foundation, and see how to take advantage of the latest updates to the Microsoft platform. Chock full of dozens of demonstrations, this book walks through design considerations, development options, and strategies for maintaining production solutions.
Design and build flexible, reusable, and loosely-coupled SOA solutions with BizTalk Server 2009
Approach
This book takes a hands-on approach to explain and present ways to use BizTalk Server 2009 in a service-oriented fashion. Written much like the author's blog, this book does not direct your every mouse click and keyboard stroke, but rather identifies the problem being solved, and includes the code snippets and screenshots necessary to recreate these solutions yourself.
Who this book is for
Targeted at individuals already familiar with BizTalk Server and not those expecting a full tutorial on every aspect of the product, this book is ideal for architects and developers who want to develop the most maintainable BizTalk Server solutions possible. This is the first book available on BizTalk Server 2009 and covers all relevant features for those of you designing a BizTalk business solution.
This book walks you through the practical usage of EJB 3.0 database persistence with Oracle Fusion Middleware. Lots of examples and a step-by-step approach make it a great way for EJB application developers to acquire new skills. Overview Integrate EJB 3.0 database persistence with Oracle Fusion Middleware tools: WebLogic Server, JDeveloper, and Enterprise Pack for Eclipse Automatically create EJB 3.0 entity beans from database tables Learn to wrap entity beans with session beans and create EJB 3.0 relationships Apply JSF and ADF Faces user interfaces (UIs) to EJB 3.0 database persistence A practical guide illustrated with examples to integrate EJB 3.0 database persistence with Ajax and Web Services What you will learn from this book Explore the new features in the EJB 3.0 specification Convert an EJB 2.0 entity bean to EJB 3.0 in JDeveloper Create EJB 3.0 entity beans from database tables automatically in JDeveloper Implement EJB 3.0 database persistence with JDeveloper, WebLogic Server, and Enterprise Pack for Eclipse Wrap an entity bean with a session bean Build a client for an EJB 3.0 entity bean application Develop an ADF Faces user interface (UI) for entity beans Create EJB 3.0 entity relationships Design JSF UIs for EJB 3.0 entity relationships Integrate EJB 3.0 database persistence with an AJAX user interface (UI) Build EJB 3.0 Web Services from entity beans Approach This is a practical, tutorial-style book that includes many examples that demonstrate how to develop EJB 3.0 database persistence applications with Oracle Fusion Middleware 11g. Every chapter starts with setting the environment for the chapter and includes an example application illustrated with figures at milestone stages. Who this book is written for This book is aimed at EJB 3.0 application developers who want to learn about the practical use of EJB 3.0 database persistence with Oracle Fusion Middleware. Those who are already using EJB 3.0