Академический Документы
Профессиональный Документы
Культура Документы
(We are now java.net community member. Please click the above button in order to join as a
individual member.)
● Class #11
sessions
❍ Presentation material
■ Introduction to EJB (105 minutes):
■ (PDF slides with speaker notes) (PDF 4 slides per page) (PDF 1 slide per
❍ Pre-class reading
■ For "Introduction to EJB", read one of the following tutorials (must read)
hours)
■ Chapter 24: Getting Started with Enterprise Beans of J2EE 1.4 Tutorial in
java.sun.com (2 hours)
■ "Overview" and "Enterprise JavaBeans" sections of Enterprise JavaBeans
❍ NetBeans Corner
■ I explained how to build, deploy, and run <J2EE_HOME>/samples/ejb/
● Class #12
❍ Presentation material
■ Session Beans (90 minutes):
■ (PDF slides with speaker notes) (PDF 4 slide per page) (PDF 1 slide per
sun.com (1 hour)
■ Read "Session Type Enterprise Beans" section of Enterprise JavaBeans
Fundamentals in java.sun.com
■ Read Chapter 4: Introduction to Session Beans of Mastering Enterprise
5.5: Entity Beans) of Designing Enterprise Application with J2EE platform, 2nd
edition
■ It describes when to use session beans and when to use entity beans
using examples
■ EJB Design Patterns written by Floyd Marinescu
■ Bitter EJB Review Project written by Bruce Tate, and three other authors
■ EJB Cookbook Review Project written by Ben Sullins and Mark Whipple
■ See what kind of EJB questions are being posted in EJB forum of java.sun.com
■ See what kind of EJB questions are being posted in EJB forum of theserverside.
com
❍ Home assignment
■ Click homework (it assumes you are using J2EE 1.4 SDK 2005Q1 and J2EE 1.4
Tutorial Update 4)
● Class #13
J2EE community in general regarding its usefulness. There are some truths and
there are some myths in those thinkings. We will avoid this discussion for now
and focus our attention to understanding "What i entity bean and how it works".
❍ Presentation material
■ Entity Beans Overview (180 minutes) :
■ (PDF slides with speaker notes) (PDF 4 slide per page) (PDF 1 slide per
■ (PDF slides with speaker notes) (PDF 1 slide per page) (StarOffice file)
■ EJB QL
■ (PDF slides with speaker notes) (PDF 1 slide per page) (StarOffice file)
❍ Pre-class reading
■ For introduction on Entity Beans, read one of the following
■ Read "The EJB 2.0 Entity Model" chapter written by Dan O'Connor and
Dave Young
■ Read "Entity Type Enterprise Beans" section of Enterprise JavaBeans
■ Using CMP for Entity Beans - you will need to read this if you are using
❍ Post-class reading
■ Read all the chapters you have not read in J2EE blueprint
written by Ed Roman
■ If you need to know all the elements defined in EJB deployment descriptor, go to
Tutorial Update 4)
● Class #14
Oriented Middleware, MOM in short. Then you will learn what the JMS is
and how to build and messaging applications using JMS.
● Presentation material
❍ JMS and MDB (120 minutes):
file)
● Pre-class reading
❍ Read JMS tutorial in java.sun.com - read if you have time
❍ Read Chapter 33: The Java Messaging Services API of J2EE 1.4 tutorial -
must read
❍ Read Chapter 23: Enterprise Beans, Section:What is a Message-Driven
must read
❍ Delivering Messages for Business Integration article in JavaPro - read if
● Class #15
■ (PDF slides with speaker notes) (PDF 1 slide per page) (StarOffice file)
available from
■ EJB Transaction (45 minutes):
■ (PDF slides with speaker notes) (PDF 4 slide per page) (StarOffice file)
■ (PDF slides with speaker notes) (PDF 1 slide per page) (StarOffice file)
❍ Pre-class reading
■ For "EJB Security", read
Using EJB 2.0 written by Cheuk Cavaness and Brian Keeton (2/2002)
■ For "EJB Transaction", read
Roman
■ "Transactions and EJB" chapter of "Professional EJB" written by Dan
O'Connor and Dave Young
■ For JNDI, read
If you want to know a lot more on generic usage of JNDI (that is, not directly
■
■ Tasks
■ Things to be submitted
■ Due date
■ Helpful tips