What exactly is SOAP? SOAP stands for Simple Object Access Protocol and it is an XML-based protocol for application element intercommunication. SOAP can be carried over a variety of other Internet protocols such as HTTP (Hypertext Transfer Protocol) so that it may carry out messaging with secure connections, support dynamic web services, and offer reliable …
Category Archives: Uncategorized
HTML Basics
Hypertext Markup Language is the standard markup language for documents displayed in a web browser. It’s how most websites are made! WordPress here is made using PHP, but that’s beside the point. Using a few common HTML elements, you can make an amazing document to display as a site! Here is a basic skeleton for …
Java to XML: JAXB
JAXB. Sounds like a brand name doesn’t it? It stands for Java Architectural XML Binding. Being used to marshal (write) and unmarshal (read) XML documentation, it is simple to code in Java! All one needs is a few imports to get started: The Root Element is for the XML document while the Element import is …
Design Patterns: Builder
Builder pattern, similar to Factory pattern, is a creational design pattern. While there are other established Java design pattern categories such as structural and behavioral, I will be mainly covering creational design patterns for now. Builder patterns are used to create objects made from other objects, being independent of the main object and also to …
Design Patterns: Factory
Factory pattern would be used whenever you would need a method to return one of several possible classes that share a common superclass. This pattern could be used to create an enemy in a game. It is used when: not knowing ahead of time what class objects are needed, all potential classes are of the …
Design Patterns: Polymorphism
Polymorphism allows programmers to write methods that don’t need to change if new subclasses are created. Example: a subclass Dog can add a new method such as dig without affecting superclass Animal in any way. Also, subclasses may be referred to by their superclass type. You can then create subclasses from subclasses. You cannot however …
Design Patterns: Inheritance
A class is a blueprint. It has fields i.e. instance variables and has objects and methods created from it. It also defines all methods or functions for its objects. This superclass grant its object (subclass) access to its methods and variables, the subclass inheriting from its superclass. This is all about inheritance. All fields in …
MySQL 101 Interview Questions
With my new need for SQL usage comes new questions. What are key differences to remember and complex concepts in MySQL? Here are ten of them for you to ask yourself and answer in the comments below. When would one decide to use CHAR over VARCHAR for a faster performance with more limited data entry? …
Showcase: Spring Tools Suite
Today I would like to show off a new piece of software I downloaded: Spring Tools Suite! Based on Eclipse, it is a complex IDE (Integrated Developer Environment) for use with proper project management. Allow me to demonstrate how… Rather than creating a file, Spring Tool Suite allows you to create an entire project with …
MySQL: Operator IN
While this is mainly a Java blog, I will soon need a database to use for an upcoming personal project. So I took up MySQL! Using its Workbench, I can make and host tables online. Here is a written example: After creating a database, we create a table. At my workplace there is a new …