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.
JSF provides ease-of-use in the following ways:
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.
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
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. …
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.
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:
What are HTML5 and CSS? How do they interact with each other?
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.
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.
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.
The first thing thing to note…
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…
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.
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. …