6. Hands-on Lab: Packaging and
Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
7. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Stop running application if any
1. Click “Terminate” on the Running Applications, Please DO NOT stop the “Integrated WebLogic server”
8. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
1. Select “Deployment Profile..” from “Application”
menu
2. Select “EAR file” and enter Name, click “OK”
9. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
3. Check both “Model” and “ViewController” projects
from “Application Assembly”, Click “OK”
10. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
4. Click “Deploy” -> Application Name from the “Application” menu
11. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
5. Select “Deploy to EAR”, Click “Next” 6. Click “Next”
12. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
7. Done deploy to EAR file 8. You can find the result EAR file
13. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
9. Click “Launch Administrative Console” 10. Login to the Admin Console
14. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
11. Click “Deployments” 12. Click “Install”
15. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
13. Select EAR file, click “Next” 14. Click “Next”
16. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Creating Enterprise Application (EAR file)
15. Click “Next” 16. Click “Finish”
17. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Testing Enterprise Application (EAR file)
17. Click “Testing” tab menu 18. Click pull down the web root context
18. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Testing Enterprise Application (EAR file)
19. Click on “Test Point” 20. Enter “S” or others
19. Hands-on Lab: Packaging and Deploying the Enterprise Application
(EJB, Data Object, Servlet, JSP)
Testing Enterprise Application (EAR file)
21. The result from EJB shown on the Web Browser
20. Hands-on Labs Summary
1. Hands-on Lab: Install Database Server
2. Hands-on Lab: Install Application Server
3. Hands-on Lab: Configuring Application Server Data Source
4. Hands-on Lab: Basic Servlets
5. Hands-on Lab: Servlet Data Source Connection
6. Hands-on Lab: Servlets and HTTP Session Handling
7. Hands-on Lab: Servlets invalidate the HTTP Session
8. Hands-on Lab: Servlets Package and Deployment
9. Hands-on Lab: Creating JSP, Servlet HTTP Session and RequestDispatcher
10. Hands-on Lab: Creating JSP, Servlets, Data Source, Data Object, HTTP Session
and RequestDispatcher
11. Hands-on Lab: Packaging and Deploying Web Application
12. Hands-on Lab: Creating Basic EJB
13. Hands-on Lab: Creating EJB, Servlet invokes remote EJB and local EJB
14. Hands-on Lab: Creating EJB, DataSource, Data Object, Servlets, HTTP Session,
RequestDispatcher and JSP
21. Danairat T.
Line ID: Danairat
FB: Danairat Thanabodithammachari
+668-1559-1446
Thank you