Enterprise JavaBeans
There is a sense in which objects have come to the rescue of distributed computing. Client-side presentation and server-side data were obvious and reasonably easy; but distributing the functionality, the "business" logic, was troublesome; that is, it was troublesome whilst we were trying to do it via remote procedure calls. Distributing objects turns out to be a whole lot easier and more intuitive than distributing functions.
Clearly, given Java's success on servers, having portable, standard, open Java offerings for distributable objects would be important. Enterprise JavaBeans give us not only that, but also transactional, persistent and secure distributable objects.
The course uses the open-source JBoss container. Other containers are by
special arrangement only.
Duration and Construction
The course lasts three days. It is based on a cycle of theory-language-practice-review, with approximately two cycles per day. One non-trivial, practical case-study is developed during the course.
Each day will start at 09.00 and finish at 16.30.
Intended Audience
Participants will be practising software engineers who already know and use Java. They will probably have attended the
Advanced Java course. Participants should also be familiar with the basic idea of networks, of database technology and of transaction processing.
Aims
- To understand the J2EE architecture
- To understand the EJB architecture
- To understand the rôle of Enterprise JavaBeans (EJB)
- To practise creating and deploying Enterprise JavaBeans
- To understand and use entity beans
- To understand and use container-managed persistence and relationships, and bean-managed persistence
- To understand and use session beans
- To understand and use message-driven beans
- To understand EJB 2.1's support for web services
Numbers
We recommend that there are no more than 10 participants, each working at his or her own machine.
Deliverables
- Lectures
- Facilitation of discussions
- Direction, assistance and feedback on exercises
- Proposed solutions to the exercises
- Copies of lecture slides, plus explanatory text and summaries
- Reference list of books and sources
Contents
- Objects, distributed systems, transactions and persistence recap
- XML review
- Servers, containers and deployment
- The EJB architecture and the bean interfaces
- EJB clients and JNDI
- Entity beans
- Container-managed persistence and relationships
- EJB query language (EJB QL)
- JDBC and SQL review
- Bean-managed persistence
- Comparison of EJB and JDO (Java Data Objects)
- Session beans
- Stateless session beans and stateful session beans
- Java Message Service (JMS) review
- Message-driven beans
- SOAP and WSDL (web services description language) review
- EJB 2.1 and Web Services
- EJB 3 preview
Site Requirements
- One PC with Java 1.4 (Forte, JBuilder or Cafe) and J2EE, per participant (including one for the lecturer), preferably networked and with a printer
- Data projector with a real 1024 x 768 resolution, and suitable screen
- White-board, preferably not doubling up as the projector's screen; blackboard and chalk are acceptable
- Flip-chart and easel, with additional flip-chart paper
Contacting
Please contact John Deacon by telephone on +44 20 7498 3773; by fax on +44 20 7498 3747; by emailing jdeacon@jdl.co.uk; or by visiting http://www.jdl.co.uk
[ Home page | Courses List ]
Last modified:
Thursday, 08-Feb-2007.
Copyright © 2007 John Deacon. All rights reserved.