The main objective of software coding is to produce quality software applications. Sin embargo, to do that, the software code, which we will refer as codebase, must tick certain checkpoints such as code reviews, technical debt, design flaw review, bugs or…
Serialization in java – Cómo funciona?
Object serialization is the ability of the object to save a complete copy of it and any other objects that it references to an output stream (external file); so that the object can be recreated from the serialized copy at…
How to write Java annotations?
In this article we will discuss about annotations and how they can be used in practical programming. First, we will discuss some conceptual ideas and then jump into coding to write an example program using annotations. Motivation: In Java programming,…
Steps to integrate facebook with Java
Visión de conjunto: Social media like facebook, linked-in, twitter are become popular for web marketing. The exposure to social media has a tremendous impact on different fields of marketing, promotion etc. In this article we will discuss facebook integration with java application.…
Accessors and Mutators in Java- Cómo funciona?
Visión de conjunto: In this article we will discuss about java accessors. Accessors are basically member functions which are used to access and manipulate field values. We will also discuss the advantages and disadvantages of using accessors in java application. Introducción: Accessors…
How to secure web application using JAAS?
Visión de conjunto: Security is one of the main aspects in web applications. So the success of web application depends on the security implementation also. And for mission critical applications, security aspect has to be implemented and tested before it goes into…
Vamos clon en Java,en
Introduction The Cloneable interface in java is a marker interface. It does have any method. But if we write a class as below, it gives a message to the jvm that the class can be cloned. The following code shows…
Steps to create recurring tasks in Java
Visión de conjunto: In this document, we will discuss about scheduling tasks in java application. There are different ways to implement recurring tasks and we will discuss some of them here. Java provides various APIs to implement recurring tasks and we will…
Java Reflection, Introspection and Customization – Simplified
Visión de conjunto: In this document we will talk about reflection, introspection and customization in Java beans. These are the important aspects of Java programming language using which we achieve the dynamism at runtime. Introducción: Reflection and introspection are two important features…
Servlet context listeners – How to use?
Visión de conjunto: In this article we will talk about the servlet context listeners. Servlet context listener is an interface which receives notification events about the serlvet context lifecycle changes. Servlet Context listeners are also used to initialize database connections, logging and…
What is the advantage of using Java Stack Variables?
Apilar variables En este artículo vamos a hablar de las diferentes formas de declarar las variables en Java y las ventajas y desventajas del uso de variables locales o variables de pila. En java, hay diferencias entre variable de pila y otros tipos…
Cómo automatizar el proceso de compilación usando Java y Ant?
Visión de conjunto: En este documento vamos a discutir sobre la hormiga herramienta de construcción y uso de este cómo podemos automatizar el mecanismo de acumulación para las aplicaciones basadas en Java. En la actual era de la hormiga se ha convertido en una parte integral del desarrollo de Java. La mayoría de los clientes…
Deep Copy or Shallow Copy in Java – How to choose?
Visión de conjunto: In this article we will discuss the process of copying objects in java. The purpose of copying can be different based on the application requirement. But there are mainly two types of copying available, deep and shallow copy. La…