Security: basics for web apps (1)

Three types of authentication for web apps: Form-based authentication: Allows the developer to code a login form that gets the username and password. Allows the developer to only request the username and password once per session. By default, it does not encrypt the credentials (username and password) before sending them to the server. Basic authentication:…

Details

Think Java (book)

Hello dear readers. This time I bring you a very good book for people trying to start to think like a computer scientist while learning the basics of Java and programming. Think Java (download PDF) How to Think Like a Computer Scientist Version 6 by Allen Downey and Chris Mayfield Think Java is a free…

Details

Java Basics(5): The Garbage Collector

Java Basics(5): The Garbage Collector When an object is created, it is stored in a memory area called the memory’s heap. This heap represents a large pool of unsused memory allocated as a free store space for your Java application. As the Java application starts and continues creating objects, the free space left in the…

Details

Java Basics(3): Nested Classes

Java Basics(3): Nested Classes Static nested classes vs inner classes The Java programming language allows you to define a class within another class. Such a class is called a nested class. There are two types of nested classes: static nested classes, and inner classes (non-static nested classes). Static nested classes are not able to access…

Details