J2EE Registration Project (04) – Display Database Page
Implement a Servlet in the client tier that utilizes the EJB local interface in the Business Tier to retrieve and display information from the database in the Enterprise tier.
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Bangladesh under the topic 's'.
About this video
We create a Servlet (in the client tier) that uses the ejb local interface (in the Bisiness Tier) to display infromation from the database (in the Enterprise Tier).
I right click on the RegistrationProject-war module to create a new – other – web – servlet.
I type in the annotation @EJB and private to access the interface FacadeLocal ejb create in the previous video. We then need to fix imports to prevent the error messages.
I then remove the current HTML and paste in HTML code that can be downloaded (for free) from thefrugalcomputerguy.com/j2eeregistryproject
We take a quick look at the code pasted in and create some CSS (and paste in code downloaded from thefrugalcomputerguy.com/j2eeregistryproject
The code is briefly explained.
We need to deploy the RegrstrationProject-ejb module – this should have been done in the previous video.
Right clicking on the RegistrationProject (triangle) clean and build project, then right click again on the triangle and run.
We need to type in the servlet name to bring it up, and we see the results in our browser window.
Video Information
Views
345
Total views since publication
Duration
8:51
Video length
Published
Dec 30, 2015
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#Beginner #J2EE #Java #Enterprise #Edition #example #sample #netbeans #glassfish #derby #database #servlet #@EJB #display #table #the #frugal #computer #guy #Tutorial #registration #project
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.