Tutorials on Java visual web application development with JSF, JPA, other Java technologies and databases (Derby/MySQL) examples using NetBeans IDE
In this tutorial, we are going to the higher level of developing Java web application using the current available Java technologies. We start with a simple Java web application, the JSP based and then proceed to using the Java Server Faces (JSF). During the learning process we also try to learn and use the features available in NetBeans that specific to the web services such as web components and controls, the visual web layout, the Java Standard Tag Library (JSTL) an so forth. One example on uploading file through web page also presented in one of the application examples.
After familiar with the Java web components, we add database objects to the applications, starting with the Java DB, Derby and then convert it to using MySQL database while retaining the original Java visual web components. The database manipulation, insert, update and delete also included. The final part of the Java web applications that we introduced in this tutorial is the using of the Java Persistence API (JPA). Together with JSF, JSP and MySQL database, we demonstrated a complete standard Java web application. The web server used in this tutorial for the testing purpose is GlassFish that bundled together with the NetBeans IDE however, other Java based web server such as Apache Tomcat can also be used.