WA1236 EJB Programming with JBuilder X and WebLogic Training and Courseware Course Outline |
|
| 1. Introduction to JBuilder X |
|
- The JBuilder IDE
- Different types of panes
- The menus and the toolbar
- JBuilder family offerings
- What's new in JBuilder vX .
- XML Support.
- UML Support.
|
|
| 2
.
Introduction to Web Applications |
|
- Java Web applications
- Java Web application architecture
- J2EE architecture
- Web application programming model - MVC
- A scenario of using MVC
- Typical services provided by application servers
- EAR projects
- EJB projects
- JBuilder X and WebLogic testing environment
- Server perspective
- Resources configuration
- Debug mode
- JNDI explorer
- J2EE, data, Web and XML tooling
- Performance and trace tooling
- Team development
|
|
| 3
.
Overview |
|
- Needs for EJBs
- Distributed computing and transactions
- Distributed security
- Main characteristics of EJBs
- EJB architecture components
- Enterprise JavaBeans
- Session beans
- Entity beans
- EJB classes and interfaces
- Basic components of entity and session beans
- EJB home interface
- EJB remote interface
- EJB objects
- EJB implementation class
- Deployment descriptors
- How do EJBs work
- EJB container services
- EJB application development
- Deploying enterprise beans
- Major components of deployed EJBs
|
|
| 4
.
Session Beans |
|
- Session beans
- Stateless session beans
- Stateful session beans
- Components of session beans
- Home interface for session beans
- Remote interfaces for session beans
- The session bean class
- The ejbCreate() method
- Business methods
- Deployment descriptors
- The session context
- Session bean life cycle
- Concurrency issues
- Invoking session beans from a client application
- Create an EJB object
- Calling business methods
- JBuilder J2EE development environment
- Developing and deploying a session bean using JBuilder X.
- Running a session bean on the server
- Testing EJBs in JBuilder X.
|
|
| 5
.
Entity Beans |
|
- Entity beans
- Entity beans components
- Container
- Primary key class
- Home interface
- Remote interface
- Entity bean class
- Entity instance
- Entity object life cycle
- Bean instance life cycle
- Persistence
- Bean-managed persistence (BMP)
- Writing a BMP bean
- Container-managed persistence (CMP)
- Writing a CMP bean
- Finder helpers
- Indicating persistent fields
- Business methods
- Entity context
- Writing CMP beans
- Object-relational mapping
- Data mapping with BMP
- Standard CMP field mapping
- Defining and mapping CMP fields
- Meet-in-the-middle
- A CMP entity bean example
- Adding CMP fields in the bean
- Creating a top-down database mapping
- Adding a BMP entity EJB
- Setting deployment descriptors
- EJB editor (ejb-jar.xml)
- Map editor (Map.mapxmi)Exceptions
|
|
| 6
.
Exceptions |
|
- Use of Exception
- Exception types
- System Exception
- Application Exception
- Bean class
- Container
- Client
- Standard Exceptions
|
|
| 7
.
Transactions |
|
- Transaction management
- Object transaction
- EJB transaction basics
- Transaction propagation
- Client-managed transaction
- Bean-managed transaction
- Container-managed transaction
- Transaction outcome
- Vetoing transaction
- Transaction isolation
- Isolation level
|
|
| 8
.
Security |
|
- Goals of the EJB Security specification
- Declarative EJB security
- EJB Delegation Policy
- Programmatic EJB security
|
|
| 9
.
Message-Driven Beans |
|
- The Need for Messaging
- The Java Message Service
- Queues and Topics
- Integration JMS and EJB
- Message-Driven Beans Concepts
- Security, Transactions, Load Balancing
- Poison Messages
- Responding to the Sender
|
|
| 10
.
Best Practices |
|
- Using Session Beans Effectively
- Dealing with Transactions
- Optimizing Your Deployment
- Pooling for Container-Managed Persistence Entity Beans
- Using Access Beans
- JDBC Best Practices
- Java Best Practices
- WebLogic Best Practices
|
|
| 11
.
Deployment |
|
- WebLogic troubleshooting
- Workload management and scaling
- Enterprise JavaBean
- Overview
- Deployment descriptors
- Bean developer entries
- Application assembler entries
- EAR file
- JAR file
- Install applications
- Configure applications
- Update applications
|
|
| 12
.
J2EE Design Patterns |
|
- What is a Design Pattern?
- EJB Layer Design Patterns
- Transaction and Persistence Patterns
- Client-Side EJB Interaction Patterns
- Generating Primary Keys
|
|