filmov
tv
5. Wrox - Enterprise Java Beans (EJB) Tutorial Overview - Examples

Показать описание
Enterprise Java Beans (EJB) Tutorial Overview - Examples
---
Follow luv2code with the links below:
---
Hey Everyone,
You may have noticed that things were quiet around here. Well, a couple of months ago I was hired by Wrox to create video tutorials for the book, 24 Hour Java. I created a total of 73 videos (whew) for the book. So the project took up all of my free time that I normally used for YouTube videos. Anyways, the project is over and now I have some free time on the weekends :-)
The book’s author is Yakov Fain and he’s an Oracle Java champion. It was a real pleasure working with Yakov on this project.
If you’re interested in the book, then head over to book’s website using the link below.
Java Programming 24-Hour Trainer, 2nd Edition
----
Here’s the official blurb about the book.
Quick and painless Java programming with expert multimedia instruction
Java Programming 24-Hour Trainer, 2nd Edition is your complete beginner's guide to the Java programming language, with easy-to-follow lessons and supplemental exercises that help you get up and running quickly. Step-by-step instruction walks you through the basics of object-oriented programming, syntax, interfaces, and more, before building upon your skills to develop games, web apps, networks, and automations.
This second edition has been updated to align with Java SE 8 and Java EE 7, and includes new information on GUI basics, lambda expressions, streaming API, WebSockets, and Gradle. Even if you have no programming experience at all, the more than six hours of Java programming screencasts will demonstrate major concepts and procedures in a way that facilitates learning and promotes a better understanding of the development process.
This is your quick and painless guide to mastering Java, whether you're starting from scratch or just looking to expand your skill set. Master the building blocks that go into any Java project Make writing code easier with the Eclipse tools Learn to connect Java applications to databases Design and build graphical user interfaces and web applications Learn to develop GUIs with JavaFX
Java Enterprise Java Beans (EJB) Overview
If you want to start programming quickly, Java Programming 24-Hour Trainer, 2nd Edition is your ideal solution.
---
Transcript
00:00
Hi, this is Chad "Shod" Darby. In this video, I'll give you an introduction to Enterprise Java Beans.
00:09
Java EE 7 includes support for EJB 3.2, so Enterprise Java Beans provide a standardized way to implement solutions for server side business logic. EJBs are basically POJOs but they're managed by an EJB container that runs inside of your Java EE app server. You can use EJBs also as JMS listeners so it makes your enterprise application more scalable without having to write additional code.
00:36
There's actually four types of Enterprise Java Beans. You have something called the stateless session bean, which contains business logic but no client state. There's also a stateful session bean, contains business logic and client state. There's also a singleton session bean, which is instantiated only once and shared throughout the application, and finally, there's a message-driven bean, enhanced for listening for messages on a JMS queue or topic.
01:04
All right, so let's take a look at how EJBs work by walking through a small demo. What we're going to do is we're going to create an EJB called a Hello World EJB. We're simply going to provide a method to say hello. Then we'll also have a servlet who's going to call methods on the EJB, so a Hello World servlet will make a link through the EJB and call the method Say Hello.
01:26
02:00
This is the method that another application will call, our servlet will actually call this method and will simply return the words hello world. That's it for the coding for our Enterprise Java Bean. Now let's go ahead and take a look at our servlet. We move into the package here, client, I'll access the file Hello World servlet. This is just a very basic servlet.
[snip] click Transcript tab
---
Follow luv2code with the links below:
---
Hey Everyone,
You may have noticed that things were quiet around here. Well, a couple of months ago I was hired by Wrox to create video tutorials for the book, 24 Hour Java. I created a total of 73 videos (whew) for the book. So the project took up all of my free time that I normally used for YouTube videos. Anyways, the project is over and now I have some free time on the weekends :-)
The book’s author is Yakov Fain and he’s an Oracle Java champion. It was a real pleasure working with Yakov on this project.
If you’re interested in the book, then head over to book’s website using the link below.
Java Programming 24-Hour Trainer, 2nd Edition
----
Here’s the official blurb about the book.
Quick and painless Java programming with expert multimedia instruction
Java Programming 24-Hour Trainer, 2nd Edition is your complete beginner's guide to the Java programming language, with easy-to-follow lessons and supplemental exercises that help you get up and running quickly. Step-by-step instruction walks you through the basics of object-oriented programming, syntax, interfaces, and more, before building upon your skills to develop games, web apps, networks, and automations.
This second edition has been updated to align with Java SE 8 and Java EE 7, and includes new information on GUI basics, lambda expressions, streaming API, WebSockets, and Gradle. Even if you have no programming experience at all, the more than six hours of Java programming screencasts will demonstrate major concepts and procedures in a way that facilitates learning and promotes a better understanding of the development process.
This is your quick and painless guide to mastering Java, whether you're starting from scratch or just looking to expand your skill set. Master the building blocks that go into any Java project Make writing code easier with the Eclipse tools Learn to connect Java applications to databases Design and build graphical user interfaces and web applications Learn to develop GUIs with JavaFX
Java Enterprise Java Beans (EJB) Overview
If you want to start programming quickly, Java Programming 24-Hour Trainer, 2nd Edition is your ideal solution.
---
Transcript
00:00
Hi, this is Chad "Shod" Darby. In this video, I'll give you an introduction to Enterprise Java Beans.
00:09
Java EE 7 includes support for EJB 3.2, so Enterprise Java Beans provide a standardized way to implement solutions for server side business logic. EJBs are basically POJOs but they're managed by an EJB container that runs inside of your Java EE app server. You can use EJBs also as JMS listeners so it makes your enterprise application more scalable without having to write additional code.
00:36
There's actually four types of Enterprise Java Beans. You have something called the stateless session bean, which contains business logic but no client state. There's also a stateful session bean, contains business logic and client state. There's also a singleton session bean, which is instantiated only once and shared throughout the application, and finally, there's a message-driven bean, enhanced for listening for messages on a JMS queue or topic.
01:04
All right, so let's take a look at how EJBs work by walking through a small demo. What we're going to do is we're going to create an EJB called a Hello World EJB. We're simply going to provide a method to say hello. Then we'll also have a servlet who's going to call methods on the EJB, so a Hello World servlet will make a link through the EJB and call the method Say Hello.
01:26
02:00
This is the method that another application will call, our servlet will actually call this method and will simply return the words hello world. That's it for the coding for our Enterprise Java Bean. Now let's go ahead and take a look at our servlet. We move into the package here, client, I'll access the file Hello World servlet. This is just a very basic servlet.
[snip] click Transcript tab
Комментарии