Java EE Web Application (JSP/Servlet, EJB, JPA), a simple approach.

Joseph Bagnes · 240K views · 2013 · 38:20

Open on YouTube

Web developmentSoftware architecture & designtutorialdated

Why Stack Overflow recommends it

Stack Overflow users, mostly Java EE beginners, cite it as the tutorial they followed when asking about errors in the resulting NetBeans/Glassfish project.

Recommended by 0 people across 0 different months, 2015 to 2017.

What it is

A 38-minute screencast by Java developer and instructor Joseph Bagnes that builds a simple add, edit, delete and search web app in NetBeans. It uses JSP/Servlet, EJB and JPA on standard Oracle Java EE APIs, deployed to Glassfish, with source code provided for download.

What people said

Cites glglglglguy · 2015-05 · Stack Overflow · on “Java EE Web Application Glassfish error database not found”

I am working on what is basically my first Java Enterprise-project following this video [this video] ( source [LINK] ) tutorial. I have the exact same code as the guy in the video, but when trying to run my project I get this error code in the Glassfish server log: Allvarlig: Exception while deploying the app [CRUDWebApplication] : Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The connection was refused because the database studentDB was not found. Error Code: 0 So the problem is

Cites user4454761 · 2015-05 · Stack Overflow · on “Netbeans Java Enterprise Web Application: cannot find symbol class Table”

so I followed this tutorial video [this video] ( source [LINK] ) to create a Java Enterprise Web Application and have ran into a problem. As this is pretty much the first time working with stuff like this for me I am clueless regarding how to solve this. When trying to run the project I get an error saying "The module has not been deployed. See the server log for details." After some time trying to find out what was wrong I figured it is most likely the error I have in my "Student.java"-class. It says "cannot find symbol classTable. Create Subclass Create Test Class". What may be the problem here? I'm not sure what code would be relevant as I am a complete beginner to this, but all my files are e

Cites w0051977 · 2016-10 · Stack Overflow · on “Is the Home Interface mandatory?”

I am a .NET Developer learning Java and J2EE in my spare time. I understand that the Home Interface is used for lifecycle methods. All the examples I look at do not have a home interface. For example, this one: [LINK] and event this CRUD type example: [this video] The two examples above work on my development PC, however there is no Home Interface. Why is there no Home Interface?

Cites Sushan Limbu · 2017-02 · Stack Overflow · on “Java Servlet not running”

I am using netbeans and Glassfish but my servlet does not seem to run. I followed exactly the same thing as this tutorial [this video] but when I try to run the servlet, it gives me an error message like HTTP Status 404 - Not Found type Status report messageNot Found descriptionThe requested resource is not available. This is my web.xml file: <web-app xmlns=" [LINK] " xmlns:xsi=" [LINK] " xsi:schemaLocation=" [LINK] [LINK] " version="3.1"> <servlet> <servlet-name>StudentServlet</servlet-name> <servlet-class>com.sushan.controller.StudentServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>StudentServlet</servlet-name> <url-pattern>/StudentServlet</url-pattern> </servlet-mapping> <wel