To give you a little back story, in 2014, Google announced a call for HTTPS to be used by every website on the web. Google has three main reasons for this that all come back to the desire to create a more secure internet, but before we get to those three reasons, you may be… Read More

1. Create file name ‘glassfish’ and edit file sudo nano /etc/init.d/glassfish 2. Write the lines below into the file and save it #! /bin/sh #to prevent some possible problems export AS_JAVA=jdk path GLASSFISHPATH= glashfish bin path case “$1” in start) echo “starting glassfish from $GLASSFISHPATH” sudo -u glassfish $GLASSFISHPATH/asadmin start-domain domain1 ;; restart) $0 stop… Read More

1. Introduction: Clustering allows us to run an application on several parallel servers (a.k.a cluster nodes). The load is distributed across different servers, and even if any of the servers fails, the application is still accessible via other cluster nodes. Clustering is crucial for scalable enterprise applications, as you can improve performance by simply adding… Read More

About LAMP LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the Server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest. Step One—Install Apache Apache is a… Read More

How to set up a JDBC connection in Glassfish Today I will make an introductory work that will allow us to work with databases. In this case  we will create a little database with MySQL and I will setup a JDBC connection to use it later from a program. I assume that you have installed Glassfish… Read More