The main objective of software coding is to produce quality software applications. Men, 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 eller,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…
Hvordan skrive Java kommentarer?
I denne artikkelen vil vi diskutere om merknader og hvordan de kan brukes i praktisk programmering. First, vi vil diskutere noen konseptuelle ideer og deretter hoppe i koding for å skrive et eksempel program ved hjelp av merknader. Motivasjon: I Java-programmering,…
Steps to integrate facebook with Java
Oversikt: 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?
Oversikt: 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. Innledning: Accessors…
How to secure web application using JAAS?
Oversikt: 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
Oversikt: 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
Oversikt: 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. Innledning: Refleksjon og selvinnsikt er to viktige funksjoner…
Servlet context listeners – How to use?
Oversikt: 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 og…
What is the advantage of using Java Stack Variables?
Stable Variabler I denne artikkelen vil vi snakke om de ulike måtene å erklære variabler i Java og fordelen og ulempen med å bruke lokale variabler eller Stack variabler. I java, det er forskjeller mellom stabelen variabel og andre typer…
Hvordan automatisere byggeprosessen ved hjelp av Java og Ant?
Oversikt: I dette dokumentet vil vi diskutere om bygge verktøy maur og bruke dette hvordan vi kan automatisere bygge mekanisme for java baserte applikasjoner. I dagens æra maur har blitt en integrert del av java utvikling. De fleste kundene…
Deep Copy or Shallow Copy in Java – How to choose?
Oversikt: 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. Den…