Java Course » JV007 Beginning JavaEE with JBoss

  Course Code:   LP007   
  Duration:  3 Days Pricing :  22,300 Baht (VAT Included)
  Overview  
 

This training course teaches attendees the fundamentals of Java EE technologies such as JSP, Servlets, JNDI, Hibernate®, session EJBs, message-driven beans, Java Mail, Java security, and Java web services. Important note: Many of these topics, such as servlets/JSP and EJB, could easily be a week of training themselves. This course is intended as an effective, hands-on overview of these technologies, but more depth may be desired.

Students interested in JBoss® Administration are encouraged to take our JBoss Administration training.


Prerequisites

Beginning Java Application Development or equivalent experience.


Hands-on/Lecture Ratio

This class is 70% hands-on, 30% lecture, with the longest lecture segments lasting for 20 minutes.


Software Needed on Each Student PC

 
  • Any operating system that supports JBoss 4
  • Java SE SDK 1.5.0 or later
  • JBoss 4 (preferably 4.0.3SP1 or later)
  • Oracle XE
  • A Java development tool of your choice

  • Objectives

     
  • To understand the fundamentals of the core Java EE APIs
  • To discover how to write servlets and JSPs, and to package applications containing them as WARs
  • To learn how to use JDBC and JNDI to integrate databases with Java EE applications
  • To master how to properly lay out build enterprise archives (EARs)
  • To discover how to use Hibernate to generate the data tier of an application
  • To learn when and how to use session EJBs and message-driven beans (MDBs)
  • To discover how to use the JavaMail API to send emails from Java EE applications
  • To understand the fundamentals of Java EE security and how to secure applications running on JBoss
  • To learn the fundamentals of Java web services and how to properly deploy and consume them in JBoss

  • Outline

    1.  Introduction
     
  • The roles of Java SE and Java EE
  • The core Java EE APIs
  • Installing JBoss and deploying applications to it
  • 2.  Web applications [covered only briefly if attendees have already taken the Servlets/JSP course]
     
  • Fundamentals of servlets and JSP
  • The Servlet container
  • Three-tier applications
  • Exploring the presentation tier
  • Adding a view with JSP
  • Adding a model and controller to our application
  • 3.  Buliding and deploying EARs (Enterprise Archives)
     
  • WARs versus EARs
  • Writing an application.xml descriptor
  • Bundling the common JAR
  • Deploying the EAR
  • Adding a DAO (Data Access Objects)
  • Using XDoclet to automatically generate deployment descriptors from properly commented code
  • 4.  JDBC and JNDI
     
  • Persistence options
  • JDBC
  • JNDI
  • JNDI references in web.xml
  • JBoss DataSource descriptors
  • JDBC driver JARs
  • Database checklist
  • Using Ant to build the archive and populate the database
  • 5.  Hibernate® and JBoss®
     
  • What is Hibernate?
  • The pros and cons of ORMs
  • Hibernate mapping files
  • Hibernate MBean Service Descriptor
  • Creating a HAR
  • Adding the HAR to the EAR
  • Creating a JNDI lookup
  • Hibernate checklist
  • 6.  Stateless session beans
     
  • What are session beans?
  • EJB pros and cons
  • Building the business tier
  • Stateful versus stateless session beans
  • Remote versus local EJB calls
  • Local and remote interfaces
  • Home interfaces
  • 7.  Java Message Service (JMS) and Message-Driven Beans (MDBs)
     
  • What are JMS and MDBs?
  • Sending messages with JMS
  • JMS architecture overview
  • JMS messaging models
  • Creating and sending a message
  • The core JMS API
  • Sending a JMS message
  • JMS-based JNDI references in web-based deployment descriptors
  • Deploying JMS destinations on JBoss
  • JMS checklist
  • MDB checklist
  • Testing JMS applications
  • 8.  JavaMail
     
  • What is JavaMail?
  • Deploying JavaMail on JBoss
  • Connecting to mail servers and sending emails with JavaMail
  • 9.  Security
     
  • Java EE security
  • Web-based security
  • Restricting access with web.xml
  • JAAS (Java Authentication and Authorization Service)
  • Deploying a JAAS-based security realm on JBoss
  • Testing secure JSPs
  • Protecting the administrative actions
  • Web security checklist
  • Integrating web tier and EJB tier security
  • 10.  Web services
     
  • What are web services?
  • JBoss 4.x and web services
  • Java EE 1.4 and web services
  • Implementing Java EE 1.4 web services
  • Service Endpoint Interface (SEI)
  • Modifying the ejb-jar.xml
  • webservices.xml
  • JAX-RPC mapping file
  • WSDL file
  • Setting the web service URL
  • Web services deployment
  • Java EE web service checklist
  • Testing deployed web services
  • Building a web services client
  • Testing and deploying a web services client
  • 11.  Conclusion
     
      PREV  
    TOP