filmov
tv
Part 3.5: Java EE Web App Tutorial - Connecting DB to the WebApp with Environment Variables

Показать описание
The Environment variables in the tutorial works on Mac OSX, but unfortunately Windows based OS are different. It turned out that ampersand "&" breaks the string. So instead, on Windows machines, use three variable (where I have used my own MySql instance as example connection string - please substitute with your own):
-DJDBC_USER=root
-DJDBC_PASSWORD=webapp2017
In Java add:
String DB_Connection_String = DB_Url + "?user=" + DB_User + "&password=" + DB_Password;
This works on both OSX and Windows.
-DJDBC_USER=root
-DJDBC_PASSWORD=webapp2017
In Java add:
String DB_Connection_String = DB_Url + "?user=" + DB_User + "&password=" + DB_Password;
This works on both OSX and Windows.
Part 3.5: Java EE Web App Tutorial - Connecting DB to the WebApp with Environment Variables
Java EE 6 and GlassFish 3 with Eclipse (3 of 5) - Java Persistence API 2
Java EE 6 and GlassFish 3 with NetBeans 6.9 (3 of 5) - Facelets and JSF 2
🚀Java WEB TRABAJO INTEGRADOR con JSP + HTML + CSS + JPA - Parte 3 | Curso Java EE ⭐ #12 | 2025
Java Persistence API 2: Java EE 6 & GlassFish 3 using Eclipse (Part 3 of 5)
RESTful Web services using JAX-RS: Java EE 6 & GlassFish 3 using Eclipse (Part 5 of 5)
Junior vs Senior Backend developer| Beginner vs Pro | #programming #java #interview #coding #backend
Part 3 of 6: OSGi-enabled Java EE Applications - Client OSGi Bundle invoking an OSGi Service
Java EE Tutorial #3 - JPA Database Connection Part 2
Java EE 6 and GlassFish 3 with NetBeans 6.9 (2 of 5) - Java Persistence API 2
JSP/Servlet Profesional - Part 3 How to access JSP in WEB-INF folder
Java EE 6 and GlassFish 3 with Eclipse (2 of 5) - JSP + Servlets + EJB
Java EE-Weekend-2-Part-3
Java EE-Weekend-1-Part-3
RESTful Web services using JAX-RS: Java EE 6 & GlassFish 3 using NetBeans 6.9 (Part 5 of 5)
JavaEE 6 and GlassFish 3 with Eclipse (4 of 5) - Facelets + JSF 2
The Greatest Moment in Web of Shadows
Java EE 6 and GlassFish 3 with Eclipse (1 of 5) - Getting Started with GlassFish in Eclipse
Part 3 Visio Conf Dev Web JEE- Concepts de base Http Servlet JSP MVC
Crash course in Enterprise JavaBeans 3 - Part 5: Setting up the Java Persistence API
JSP + Servlets + EJB: Java EE 6 & GlassFish 3 using NetBeans 6.9 (Part 1 of 5)
Java EE, TypeScript and Angular2 by Antonio Goncalves and Sébastien Pertus
Facelets + JSF 2: Java EE 6 & GlassFish 3 using Eclipse (Part 4 of 5)
JSP + Servlets + EJB: Java EE 6 & GlassFish 3 using Eclipse (Part 2 of 5)
Комментарии