The main objective of software coding is to produce quality software applications. However, 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, błędy lub,en…
Serialization in java – How it works?
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
Przegląd: 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- How it works?
Przegląd: W tym artykule omówimy temat dostępowych java. Dostępowe są w zasadzie funkcje składowe, które są wykorzystywane w celu uzyskania dostępu i manipulowania wartości pól. Omówimy również zalety i wady stosowania dostępowych w aplikacji java. Wprowadzenie: Accessors…
How to secure web application using JAAS?
Przegląd: 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…
Let’s clone in Java
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
Przegląd: 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
Przegląd: 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. Wprowadzenie: Reflection and introspection are two important features…
Servlet context listeners – How to use?
Przegląd: 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…
Jakie są zalety używania zmiennych Java stos?
Stack Variables In this article we will talk about the different ways to declare variables in Java and the advantage and disadvantage of using local variables or Stack variables. W Javie, there are differences between stack variable and other types…
Jak zautomatyzować proces kompilacji przy użyciu Java i Ant?
Przegląd: W tym dokumencie omówimy o mrówce budować narzędzia i korzystania z tego w jaki sposób możemy zautomatyzować mechanizm budowania aplikacji java oparte. W dzisiejszych czasach mrówka stał się integralną częścią rozwoju java. Most customers…
Deep Copy or Shallow Copy in Java – How to choose?
Przegląd: 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. The…