JavaServer Faces is a (UI) framework for Java web applications and it uses xhtml to render the applications. It is designed to ease the burden of writing and maintaining applications that run on a Java application server and render their UIs back to a target client.

Photo by Christopher Gower on Unsplash

JSF provides ease-of-use in the following ways:

  1. It provides a simple model for wiring client-generated events to server-side application code.
  2. It also allows custom UI components to be easily built and re-used.
  3. JSF makes the process easy to construct a UI from a set of reusable user interface components.
  4. Simplifies migration of application data…

We can use phpmyadmin to manage our sql database instance. One way to set up phpmyadmin and mysql server 8.0.1 is to use docker.

Photo by Joshua Aragon on Unsplash

Docker is a newer technology that uses the concept of a container to serve applications. To get started you must download docker desktop. I am using a windows machine so I had to configure windows subsystem for linux before I could install docker. After you have docker desktop set up the next steps are very simple. From an administrative powershell prompt we need to run

docker run — name my-own-mysql -e MYSQL_ROOT_PASSWORD=mypass123 -d mysql:8.0.1

then in…

Photo by James Harrison on Unsplash

Let’s describe the differences between client/server interactions in traditional web applications and client/server interactions in Ajax web applications:

Traditional client/server interactions were synchronous. A typical registration form required a user to completely submit a form in a request. Then the request would be processed by the server which would return a response. Ajax, specifically the XMLHttpRequest, object sits in between the client and the server. It allows for asynchronous requests to take place. This is very convenient since we can provide the user with feedback asynchronously. …

Photo by Shahadat Rahman on Unsplash

Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.

  • XML stands for extensible Markup Language
  • XML is a markup language like HTML
  • XML is designed to store and transport data
  • XML is designed to be self-descriptive

Personally, I recognize the importance of xml in the XMLHttpRequest object. For example, the XMLHttpRequest object’s open method is used to create a get request for an XML document at a specified URL. The XMLHttpRequest object is a developers dream, because you can:

  • Update a web page without reloading the page
  • Request data from a server — after the page has loaded
  • Receive data from a server — after the page has loaded
  • Send data to a server — in the background

Photo by Tracy Adams on Unsplash

What are the similarities and differences between JavaScript, HTML, and Java?

Java, Javascript, and html are similar in that they are used in web development. Each holds it’s respective place. Java is a backend language that runs on the web server via JVM. Javascript however, is runs on the client side. We can use either Java or Javascript to make interactive web pages. When we combine Javascript, Java, and html together we can create a fully dynamic website.

Html is static. We can render a static html page on a browser. Then if we want to add interactive inputs such as event listeners we can add Javascript. If we want to create a fully dynamic website like a student registration page, for example, we can use an html form to post user input to a Java endpoint and process the user data with Java.

What are HTML5 and CSS? How do they interact with each other?

Photo by Florian Olivo on Unsplash

HTML5 is a markup language that specifies the structure and content of documents that are displayed in web browsers. We use it create front end web pages that show content. HTML5 consists of many elements. Each element contributes to the structure of the page. A form element with a few input elements can be used to collect user information. Then when the user clicks submit the form posts the information to the server page defined in the action attribute of the form element. CSS are styling sheets contribute to the overall look and feel of a website. We can change out different style sheets to give an entirely different feel to a website.

Let’s talk about these things. This is a quick nutshell post to describe the import aspects of JS objects, the DOM, Events and HTML5 Canvas.

Photo by Markus Spiske on Unsplash

JavaScript and Java both make use of objects. Objects in Javascript have properties and the can be access via ‘.’ operator just like in Java. A difference between Javascript and Java is that Java allows classes and Javascript doesn’t. Java can be written in an object oriented fashion. Message passing in Java is like sending a object i.e. message from one thread to another thread. It appears as Javascript and Java share this same message…

Photo by Florian Olivo on Unsplash

As an information security professional I am always looking for the best resources to educate myself. That’s why I’ve taken the time to write this story. In this easy to read tutorial will explain the basics of cross-site scripting. After reading it you’ll know enough to be dangerous.

What is XSS?

Cross-site scripting is a type of security vulnerability typically found in web applications. XSS attacks enable attackers to inject client-side scripts into web pages viewed by other users. A cross-site scripting vulnerability may be used by attackers to bypass access controls such as the same-origin policy.

How does the XMLHttpRequest come into play?

The first thing thing to note…

Photo by National Cancer Institute on Unsplash

By the end of this tutorial you will understand the basics of elk stack and how to filter data with logstash. The problem that we will focus on is tagging relevant data.

Imagine you’re a physician and you need to diagnose a patient. The patient has lots of symptoms, but they are all so similar to each other. It’s incredibly difficult to decipher where the root problem is stemming from. How do you approach the problem?

We don’t know what we don’t know. It would be great if we could develop a system for tagging the issues that we are…

Photo by Micheile Henderson on Unsplash

I love organization. There are lots of opportunities to solve problems by programming. When I program I like to collect my thoughts on a piece of paper and then make simple demonstration of a program. I try to do this before jumping into the deep end of APIs, textbooks, and other rabbit holes. In my opinion it really depends on the application.

How do you keep track of your monthly spending?

Maybe you use a budgeting app or a piece of paper. Either one solves the same problem. It would be better if you could tinker with your own budget program. …

Evan Gertis

I like building technology. That’s pretty much what I live for.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store