介绍 : This is the 2nd part of Java tips series. We have tried to focus more on the hands-on coding part rather that the theoretical one. Hope this will help you learn the concepts and implement them in practical…
10 Java Tips – Series I
How memory is managed in java? In Java manual memory allocation and de-allocation has been eliminated. Memory in Java is automatically garbage collected so you never have to worry about memory corruption. Java memory is managed by the memory model.…
Which Tools Support Java 9’s New Modularity Features?
概观: 爪哇 9 was released in late September. With the release of Java 9, it went modular to improve its scalability and performance. Modularity is a general concept. In software, it applies to writing and implementing a program or computing…
Comprehensive Guide on Java 9 and Java 10 Updates
Let us explore Java 9 first Overview Java 9 is now available for use. Like with any major software release, it has many new features, enhancements and deprecation. Note that this will be the last major release in the line…
如何提高你的Java代码质量,,en,JArchitect,,en,软件编码的主要目标是生产优质的软件应用程序,,en,要做到这一点,,en,软件代码,,en,我们称作为代码库,,en,必须勾选某些关卡,例如代码审查,,en,技术债务,,en,设计缺陷评审,,en,错误或错误,,en,平台兼容性和依赖关系,,en,该JArchitect是一个静态代码库管理工具,它允许软件开发人员和架构师分析代码结构,,en,指定软件设计规则,,en,审查编写的代码,并通过比较不同版本的代码管理不同版本,,en,虽然该工具可以在构建高质量的软件应用程序帮助,,en,打通产品文档知道它是很困难的,因为它写得不好,,en?
The main objective of software coding is to produce quality software applications. 但, 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 – 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 Use XPath to Extract Information?
XML documents often play an important role in the interchange of data over the Internet. These are used for tons of applications like RSS, Atom, and XHTML, and can be used in office programs to add and modify information. 卷筒纸…
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
概观: 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?
概观: 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. 介绍: Accessors…
How to secure web application using JAAS?
概观: 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
概观: 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…