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.
Wrox gave me permission to publish a small set of the videos on my YouTube channel for promotional purposes. Over the next couple of weeks, I'll release a new video from the book on my YouTube channel. You can check the playlist here: http://goo.gl/cemsm2
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.
Hi, this is Chad "Shod" Darby. In this video, I'll give you an introduction to Enterprise Java Beans.
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.
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.
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.
Let's go ahead and move into our Eclipse project. Look at the source code for lesson 31. I'll expand the folders here. I'll move down to the EJB package and I'll take a look at this file here, Hello World Bean.java. This is the source code that we saw in the previous example, so stateless local bean, Hello World bean, and then on lines 20 through 22, we have the implementation of our method, say hello.
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.
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.
Your Cart 0
Manage research, learning and skills at NCR Works. Create an account using LinkedIn to manage and organize your omni-channel knowledge. NCR Works is like a shopping cart for information -- helping you to save, discuss and share.