Java EE 7: Enterprise JavaBeans (EJB)

Java EE 7: Enterprise JavaBeans (EJB)

51mIntermediate2019-05-03

Authors

Emmanuel Henri

Emmanuel Henri

Executive with 20+ years of experience in programming and design

Course details

Get introduced to Enterprise Java Beans (EJB) in Java EE 7. Emmanuel Henri walks you through the entire creation of an EJB application programming interface (API). He begins by explaining the benefits EJB. He covers how to set up a database, overcome errors, and create a project. Then, he discusses the fundamentals of session beans and how the syntax of a bean works. Next, he shows how to create message-driven beans. Lastly, he goes through how to create servlets and how to test the EJB items in the server.

Learning objectives
Defining Enterprise Java Bean
Using EJB JAR files
Setting up EJB
Setting up a database
Adding an entity for interactions
Using session beans
Using stateless and stateful beans
Using singleton session beans
Creating a message-driven bean
Accessing beans
Creating ListRecords and PostRecords servlets
Testing EJB projects

Skills covered

Java EEEnterprise ArchitectureJavaOracleProgramming LanguagesSoftware DevelopmentDeep Dive (X:Y)

Concepts

Introduction

  • Leverage the power of Enterprise JavaBeans in your applications
  • What you should know

Introduction to EJB

  • What is an enterprise bean
  • Types of beans

Build Blocks of a Bean

  • Build blocks of a bean
  • What is the EJB JAR file

Session Beans

  • Initial EJB and project setup
  • Set up the database
  • Add an entity for interacting with DB
  • Introduction to session beans
  • Stateless session bean
  • Stateful session bean
  • Singleton session bean

Message-Driven Beans

  • Introduction to message-driven beans
  • Create your message-driven bean
  • Finalize message-driven bean

Access the Beans

  • Introduction to bean access
  • Create the ListRecords servlet
  • Create the PostRecords servlet
  • Do your own testing

Conclusion

  • Next steps
40,000 Toman