
Learn to create a new Oracle WebLogic domain using the common folder, configure admin credentials and development mode, and prepare the domain for deployment in Eclipse.
Explore how EJB persistence connects objects to a relational database through entities, entity manager, persistence units, and data sources, enabling configurable database access via data sources instead of hard-coded credentials.
Post a message to a JMS queue using a Java EE test class, configure the JMS connection factory and initial context, and verify delivery by inspecting the queue.
Learn to implement a message-driven bean that consumes text messages from a queue, configure the destination and connection factory, implement onMessage, and verify processing through deployment and console monitoring.
Examine container-managed and bean-managed transactions in EJB, detailing how the container handles transaction lifecycles automatically versus manual control via user transaction, with attributes like required, not supported, mandatory, and never.
Learn to build an EJB order management bean and use an entity manager and named queries to retrieve all students from the database.
Explore how to use EJB query language with entities to fetch data from relational tables, mastering named queries, create queries, and stored procedures via the entity manager.
Learn to create and execute queries in a Java EJB app, fetch details from a table, deploy changes, and test results with a native code path and a test client.
Learn to use SQL native queries in EJB with the entity manager to fetch all students as a list of objects, then print their data with streams and lambda expressions.
Learn to create a join query across office and employee entities to list employees by city. Implement with EJB and JPQL, run, and view results.
EJB - Enterprise Java Bean
EJB (Enterprise Java Bean) is used to develop scalable, robust and secured enterprise applications in java.
The development of EJB 3 is faster than EJB 2 because of simplicity and annotations such as
@EJB
@Stateless
@Stateful
@TransactionManagement
@Resources
@SessionContext etc.
Topics of EJB Specification
What is EJB
What is enterprise java beans(EJB) and what are the advantages of EJB?
Session Bean
The session bean represents the business logic. It may be stateless, stateful or singleton.
Stateless Session Bean
What is stateless session bean, its lifecycle and example.
Stateful Session Bean
What is stateful session bean, its lifecycle and example.
JMS Tutorial
How to create robust and asynchronous message for distributed applications. What are messaging domains?
What is Java Messsage Service and what are the advantages of JMS.
What is JMS Queue? It is used for peer to peer messaging where a single message is delivered to only one receiver.
What is JMS Topic? It is also known as Publisher and Subscriber model where a single message is delivered to all the subscribers.
Message Driven Bean
A MDB is a JMS client that is invoked by passing message. It is deployed on the application server.
Entity Bean
In EJB 3.2, it is deprecated. Now it is replaced with JPA.
Thanks,
AJ